Update .gitlab-ci.yml
This commit is contained in:
parent
2897a79c89
commit
40b192877f
|
@ -33,8 +33,7 @@ test-docker-ubuntu:
|
||||||
- cd ubuntu
|
- cd ubuntu
|
||||||
- docker load -i postal-ubuntu-container.tar
|
- docker load -i postal-ubuntu-container.tar
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
- sleep 300
|
- for i in {1..10}; do [ $(docker inspect postal | jq '.[].State.Health.Status') == "healthy" ] && break || sleep 30; done
|
||||||
- docker inspect postal | jq '.[].State.Health.Status'
|
|
||||||
after_script:
|
after_script:
|
||||||
- cd ubuntu
|
- cd ubuntu
|
||||||
- docker-compose rm -sfv
|
- docker-compose rm -sfv
|
||||||
|
|
Loading…
Reference in New Issue
Block a user