Skip to content

Commit

Permalink
Adding retry to deploys [deploy]
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Jan 30, 2022
1 parent b80a9ea commit b8a6054
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,29 @@ jobs:
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
- name: Deploy new images
run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release
- name: Tag images as latest
run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make tag_latest
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make tag_latest
- name: Deploy latest tag
run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release_latest
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make release_latest
- name: Tag browser images
run: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} PUSH_IMAGE=true make tag_and_push_browser_images
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} PUSH_IMAGE=true make tag_and_push_browser_images
- name: Create release notes (release_notes.md)
run: ./generate_release_notes.sh ${LATEST_TAG} origin/trunk ${GRID_VERSION} ${BUILD_DATE}
- name: Create Release
Expand Down

0 comments on commit b8a6054

Please sign in to comment.