Skip to content
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

ci: retry docker compose up once if it fails #3581

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

matt2e
Copy link
Collaborator

@matt2e matt2e commented Nov 29, 2024

I've been getting network issues in docker compose up causing integration test failures on CI.
Hopefully this makes it more resilient.

@ftl-robot ftl-robot mentioned this pull request Nov 29, 2024
@matt2e matt2e merged commit 5dbc850 into main Nov 29, 2024
95 checks passed
@matt2e matt2e deleted the matt2e/retry-docker-compose-up branch November 29, 2024 05:58
status=$?
if [ $status -ne 0 ] && [ -n "${CI-}" ]; then
# CI fails regularly due to network issues. Retry once.
echo "docker compose up failed, retrying in 3s..."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wut

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants