Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 501
Add --retry 3 with delay to curl downloads to handle transient 502s#17841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
80abd4a1e325ac51dbc4955db7c3e3d1f0cFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -61,7 +61,7 @@ trap 'rm -rf "$TEMP_DIR"' EXIT | ||||||
| # Download checksums | ||||||
| echo "Downloading checksums from ${CHECKSUMS_URL@Q}..." | ||||||
| curl -fsSL -o "${TEMP_DIR}/checksums.txt" "${CHECKSUMS_URL}" | ||||||
| curl -fsSL --retry 3 --retry-delay 5 -o "${TEMP_DIR}/checksums.txt" "${CHECKSUMS_URL}" | ||||||
CopilotAI | ||||||
| curl -fsSL --retry 3 --retry-delay 5 -o "${TEMP_DIR}/checksums.txt""${CHECKSUMS_URL}" | |
| curl -fsSL --retry 3 --retry-delay 5 --retry-all-errors -o "${TEMP_DIR}/checksums.txt""${CHECKSUMS_URL}" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -87,11 +87,11 @@ trap 'rm -rf "$TEMP_DIR"' EXIT | ||
| # Download checksums | ||
| echo "Downloading checksums from ${CHECKSUMS_URL}..." | ||
| curl -fsSL -o "${TEMP_DIR}/SHA256SUMS.txt" "${CHECKSUMS_URL}" | ||
| curl -fsSL --retry 3 --retry-delay 5 -o "${TEMP_DIR}/SHA256SUMS.txt" "${CHECKSUMS_URL}" | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The CopilotAI | ||
| # Download binary tarball | ||
| echo "Downloading binary from ${TARBALL_URL}..." | ||
| curl -fsSL -o "${TEMP_DIR}/${TARBALL_NAME}" "${TARBALL_URL}" | ||
| curl -fsSL --retry 3 --retry-delay 5 -o "${TEMP_DIR}/${TARBALL_NAME}" "${TARBALL_URL}" | ||
| # Verify checksum | ||
| echo "Verifying SHA256 checksum for ${TARBALL_NAME}..." | ||
Uh oh!
There was an error while loading. Please reload this page.