Skip to content

Commit

Permalink
Merge pull request #4237 from thegreyd/retry_set_client_latest
Browse files Browse the repository at this point in the history
set-client-latest Retry curl
  • Loading branch information
openshift-merge-bot[bot] authored Aug 28, 2024
2 parents 801d807 + a1cd811 commit 1164e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/build/set_client_latest/S3-set-v4-client-latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ for arch in ${ARCHES}; do
aarch64) qarch="arm64" ;;
esac
CHANNEL_RELEASES=$(
curl -sH "Accept:application/json" "https://api.openshift.com/api/upgrades_info/v1/graph?channel=${USE_CHANNEL}&arch=${qarch}" |
curl -sH "Accept:application/json" --retry 3 "https://api.openshift.com/api/upgrades_info/v1/graph?channel=${USE_CHANNEL}&arch=${qarch}" |
jq '.nodes[].version' -r
)
if [[ -z "$CHANNEL_RELEASES" ]]; then
Expand Down

0 comments on commit 1164e47

Please sign in to comment.