run some tests
This commit is contained in:
parent
9d725f7c5d
commit
224c659ea6
|
@ -33,7 +33,8 @@ test-docker-ubuntu:
|
|||
- cd ubuntu
|
||||
- docker load -i postal-ubuntu-container.tar
|
||||
- docker-compose up -d
|
||||
- docker-compose run postal run
|
||||
- sleep 600
|
||||
- docker inspect postal | jq '.[].State.Health'
|
||||
after_script:
|
||||
- cd ubuntu
|
||||
- docker-compose rm -sfv
|
||||
|
|
|
@ -23,6 +23,11 @@ services:
|
|||
- POSTAL_LNAME=Cat
|
||||
- POSTAL_PASSWORD=SecretCatPassword
|
||||
- POSTAL_EMAIL=myemail@catsworld.com
|
||||
healthcheck:
|
||||
test: curl -sS http://127.0.0.1:5000 || exit 1
|
||||
interval: 5s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
mysql:
|
||||
image: mariadb:10
|
||||
container_name: postal_mysql
|
||||
|
|
Loading…
Reference in New Issue
Block a user