Skip to content

Commit

Permalink
Retry release step (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
eskrm committed Feb 13, 2024
1 parent a3cf589 commit 2f50c1e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Expand Up @@ -83,11 +83,16 @@ jobs:
- name: Show services
run: docker compose ps -a

# See comment on same step in PR workflow
- name: Wait for init to complete
run: |
CONTAINER_EXIT_CODE=$(docker wait faros-community-edition-faros-init-1)
echo "Faros init container exit code was ${CONTAINER_EXIT_CODE}"
[[ $CONTAINER_EXIT_CODE -eq 0 ]]
uses: nick-fields/retry@v3
with:
max_attempts: 2
timeout_minutes: 5
command: |
CONTAINER_EXIT_CODE=$(docker wait faros-community-edition-faros-init-1)
echo "Faros init container exit code was ${CONTAINER_EXIT_CODE}"
[[ $CONTAINER_EXIT_CODE -eq 0 ]]
- name: Get Hasura Admin Secret
run: |
Expand Down

0 comments on commit 2f50c1e

Please sign in to comment.