Skip to content

Commit 69cd560

Browse files
fix(ci): wait for release site (#2386)
Description Increase the release-site validation window in the production deploy workflow: wait 5 minutes before checking releases.deckhouse.io; retry the releases check 10 times with a 60 second delay. ---------------- Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
1 parent b015090 commit 69cd560

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release_module_release-channels.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -463,17 +463,17 @@ jobs:
463463
env:
464464
input_check_only: ${{ inputs.check_only }}
465465
run: |
466-
# When check_only is true, we don't want to wait 120 seconds
466+
# When check_only is true, we don't want to wait before checking
467467
# because we just want to check the version we're interested in on the website
468468
if [ $input_check_only = false ]; then
469-
echo "Waiting for site to update (versions are usually updated within 2 minutes)..."
470-
sleep 120
469+
echo "Waiting for site to update (versions are usually updated within 5 minutes)..."
470+
sleep 300
471471
fi
472472
473-
echo "Test that version deployed on site, retrying 5 times with delay of 60 seconds"
473+
echo "Test that version deployed on site, retrying 10 times with delay of 60 seconds"
474474
CHANNEL=$input_channel \
475475
VERSION=$input_version \
476-
COUNT=5 \
476+
COUNT=10 \
477477
task -d tools/moduleversions check:releases
478478
- name: Check version on site ${{ matrix.check }}
479479
if: ${{ matrix.check == 'documentation' && always() }}

0 commit comments

Comments
 (0)