Skip to content

Commit f16d3ea

Browse files
committed
Update retry for workflow
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 42f5268 commit f16d3ea

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

.github/workflows/release-chrome-versions.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,14 @@ jobs:
124124
if: env.REUSE_BASE == 'false'
125125
run: make hub
126126
- name: Test images with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }}
127-
run: |
128-
make test_chrome
129-
make test_chrome_standalone
127+
uses: nick-invision/retry@master
128+
with:
129+
timeout_minutes: 20
130+
max_attempts: 3
131+
retry_wait_seconds: 60
132+
command: |
133+
make test_chrome
134+
make test_chrome_standalone
130135
- name: Push images with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }}
131136
if: env.PUSH_IMAGE == 'true'
132137
run: |

.github/workflows/release-edge-versions.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,14 @@ jobs:
124124
if: env.REUSE_BASE == 'false'
125125
run: make hub
126126
- name: Test images with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }}
127-
run: |
128-
make test_edge
129-
make test_edge_standalone
127+
uses: nick-invision/retry@master
128+
with:
129+
timeout_minutes: 20
130+
max_attempts: 3
131+
retry_wait_seconds: 60
132+
command: |
133+
make test_edge
134+
make test_edge_standalone
130135
- name: Push images with Grid core ${{ env.GRID_VERSION }} and ${{ env.BROWSER_NAME }} v${{ env.BROWSER_VERSION }}
131136
if: env.PUSH_IMAGE == 'true'
132137
run: |

update_tag_in_docs_and_files.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ echo -e "\033[0;32m LATEST_DATE -> ${LATEST_DATE}\033[0m"
3636
echo -e "\033[0;32m NEXT_DATE -> ${NEXT_DATE}\033[0m"
3737

3838
# If you want to test this locally and you are using macOS, do `brew install gnu-sed` and change `sed` for `gsed`.
39-
find . \( -type d -name .git -prune -o -type d -name 'CHANGELOG' -prune \) -o -type f ! -name 'CHANGELOG.md' ! -name 'multiple-nodes*.yaml' -print0 | xargs -0 sed -i "s/${LATEST_DATE}/${NEXT_DATE}/g"
39+
find . \( -type d -name .git -prune -o -type d -name 'CHANGELOG' -prune \) -o -type f ! -name 'CHANGELOG.md' -print0 | xargs -0 sed -i "s/${LATEST_DATE}/${NEXT_DATE}/g"
4040

4141
# Bump chart version and appVersion if next tag is different
4242
if [ "$latest_chart_app_version" == $LATEST_TAG ] && [ "$latest_chart_app_version" != "$NEXT_TAG" ]; then

0 commit comments

Comments
 (0)