Skip to content

Commit

Permalink
Merge pull request #1 from josvazg/fix-cr-release-chart
Browse files Browse the repository at this point in the history
Fix chart releaser verification
  • Loading branch information
josvazg authored Oct 31, 2024
2 parents 5ab115d + c2e512d commit e53e8c2
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/actions/releaser/cr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,10 @@ check_chart_version_released() {
local chart_version=$2
local retries=5
local delay=1
for ((i=0; i<retries; i++)); do
if chart_released "${chart_name}" "${chart_version}"; then
return 0
fi
echo "$(date -u --iso-8601=seconds): Retrying in ${delay} seconds... ($((i+1))/$retries)"
sleep "${delay}"
delay=$((delay*2))
echo "$(date -u --iso-8601=seconds): Retrying..."
reset_helm_repo
done
update_helm_repo
if chart_released "${chart_name}" "${chart_version}"; then
return 0
fi
return 1
}

Expand Down

0 comments on commit e53e8c2

Please sign in to comment.