tolerate errors in docker startscripts
This commit is contained in:
parent
5464eec540
commit
a5bf3d57ce
4 changed files with 4 additions and 5 deletions
|
|
@ -72,11 +72,10 @@ push:
|
|||
sudo docker push $(IMG)
|
||||
|
||||
# Start the clixon system container and run the test script
|
||||
# sleep is for waiting for start script to run properly before starting tests
|
||||
# Note tests will kill the daemons started in the start scrips
|
||||
test: docker
|
||||
./cleanup.sh ; PORT=8080 ./start.sh # kill (ignore error) and the start it
|
||||
sleep 1; sudo docker exec -it clixon-system bash -c 'cd /usr/local/bin/test && ./all.sh'
|
||||
sudo docker exec -it clixon-system bash -c 'cd /usr/local/bin/test && ./all.sh'
|
||||
|
||||
depend:
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
# See also Dockerfile of the example
|
||||
# Log msg, see with docker logs
|
||||
|
||||
set -eux
|
||||
set -ux # e but clixon_backend may fail if test is run in parallell
|
||||
|
||||
>&2 echo "$0"
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
# See also Dockerfile of the example
|
||||
# Log msg, see with docker logs
|
||||
|
||||
set -eux
|
||||
set -ux # e but clixon_backend may fail if test is run in parallell
|
||||
|
||||
>&2 echo "$0"
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
# See also Dockerfile of the example
|
||||
# Log msg, see with docker logs
|
||||
|
||||
set -eux
|
||||
set -ux # e but clixon_backend may fail if test is run in parallell
|
||||
|
||||
>&2 echo "$0"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue