-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add --wait-timeout
option for docker.compose.up
#573
feat: Add --wait-timeout
option for docker.compose.up
#573
Conversation
I seems that the version of docker compose we use in the CI is not recent enough. Maybe we should update it? |
Yeah it added in |
I've check it locally with 2.17.0 and 2.17.2 and two tests was failed ================================================================== short test summary info ===================================================================
FAILED tests/python_on_whales/components/test_compose.py::test_project_directory_env_files - python_on_whales.exceptions.DockerException: The docker command executed was `/usr/bin/docker compose --file /home/taragolis/Projects/common/python-on-wh...
FAILED tests/python_on_whales/components/test_compose.py::test_compose_logs_follow - assert 1 >= 5
========================================================== 2 failed, 71 passed in 312.91s (0:05:12) ========================================================== |
I could have a look on this tests and try to adopt tests to the newer version of docker-compose. Any preference to the target version of docker-compose? |
The latest one is fine by me |
@MisterOwlPT updated the compose version in the CI, let's see if that fixes the tests here Edit: Noice |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks for the pull request!
dang this PR is cursed |
a10959c
into
gabrieldemarmiesse:master
This PR add support for wait timeout, https://docs.docker.com/reference/cli/docker/compose/up/#options
--wait-timeout Maximum duration to wait for the project to be running|healthy