File tree Expand file tree Collapse file tree 5 files changed +21
-4
lines changed
Expand file tree Collapse file tree 5 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,20 @@ function execute-isolated() {
6868
6969if [[ " $1 " == cabal* ]] ; then
7070 execute-isolated " $@ " # execute the cabal command
71+ elif [[ " $1 " == ' shell' ]]
72+ then
73+ echo " + execute-isolated $* "
74+ exec docker run -it -u" $( id -u) :$( id -g) " \
75+ -v $CABAL_CACHE_DIR :$HOME /.cabal \
76+ -v $CABAL_CACHE_DIR :/.cabal \
77+ -v $DIST_NEWSTYLE_DIR :$WORKDIR /dist-newstyle/ \
78+ -v $WORKDIR :$WORKDIR \
79+ -v $CHROOT_DIR :/chroot-env/ \
80+ -e OVERRIDE_CHROOT_DIR=/chroot-env \
81+ -e HOME=$HOME \
82+ --entrypoint /bin/bash \
83+ --workdir $WORKDIR \
84+ dquadrant/cardano-ci
7185else
7286 # # default build
7387 execute-isolated ' cabal build exe:kuber && bash -e ./.ci/copy-libraries.sh'
Original file line number Diff line number Diff line change 11*
2- ! . /dist-newstyle /build /docker
2+ ! . /dist-newstyle /build /docker /chroot-env
3+ ! . /.ci
4+ ! . /playground
5+ . /playground /node_modules
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ Kuber can be stared easily with [docker-compose.yml](./docker-compose.yml) file.
4747
4848``` bash
4949git clone https://github.com/dquadrant/kuber.git
50- git checkout 2.2 .0
50+ git checkout 2.3 .0
5151docker-compose up -d
5252```
5353
Original file line number Diff line number Diff line change 11cabal-version : 2.4
22name : kuber
3- version : 2.1 .0.0
3+ version : 2.3 .0.0
44
55-- A short (one-line) description of the package.
66-- synopsis:
Original file line number Diff line number Diff line change 11cabal-version : 2.4
22name : kuber-server
3- version : 2.1 .0.0
3+ version : 2.3 .0.0
44
55-- A short (one-line) description of the package.
66-- synopsis:
You can’t perform that action at this time.
0 commit comments