-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Description
Is your feature request related to a problem? Please describe.
For CI, it would be good to verify that the docker-compose would work correctly.
Describe the solution you'd like
When I do docker-compose verify it does the same thing as docker-compose up and waits for the healthcheck to pass for all the services. Once it passes, it runs docker-compose down to tear down the app.
Some other parameters to consider are:
--buildforce a build even if it is not needed--limit=60stime limit before giving up on health checks to pass--keep-upkeeps the services up after verifying. This allows more complex integration tests to be executed after the healthchecks are up.
Describe alternatives you've considered
We create a separate test application that waits for the stack to come up and run our tests.
Reactions are currently unavailable