Skip to content

Commit

Permalink
chore: sleep before retrying docker compose up (#3595)
Browse files Browse the repository at this point in the history
The comment had the right idea...
  • Loading branch information
matt2e authored Dec 2, 2024
1 parent 82b44e3 commit 5d47ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ compose-up:
if [ $status -ne 0 ] && [ -n "${CI-}" ]; then
# CI fails regularly due to network issues. Retry once.
echo "docker compose up failed, retrying in 3s..."
docker compose -p "ftl" $docker_compose_files up -d --wait
sleep 3
docker compose -p "ftl" $docker_compose_files up -d --wait
fi

Expand Down

0 comments on commit 5d47ef4

Please sign in to comment.