@futurelastic/colab-handbook 1.20.0 → 1.20.1-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/templates/ci-laravel.yml
CHANGED
|
@@ -276,7 +276,12 @@ jobs:
|
|
|
276
276
|
x86_64|amd64) arch=x64 ;;
|
|
277
277
|
*) echo "unsupported arch: $(uname -m)" >&2; exit 1 ;;
|
|
278
278
|
esac
|
|
279
|
-
curl
|
|
279
|
+
# --fail: on an HTTP error curl otherwise saves the error page and exits 0, and tar
|
|
280
|
+
# then fails with "not in gzip format", naming neither the download nor the host.
|
|
281
|
+
# --retry: a re-run during the same upstream error spends the one re-run branch CI
|
|
282
|
+
# allows, so a brief error is retried here first. A longer outage still fails, at
|
|
283
|
+
# curl, naming the status (#690).
|
|
284
|
+
curl -fsSL --retry 5 --retry-delay 10 --retry-all-errors --connect-timeout 10 --max-time 120 -o gitleaks.tar.gz \
|
|
280
285
|
"https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_${os}_${arch}.tar.gz"
|
|
281
286
|
# Into $RUNNER_TEMP, not /usr/local/bin: no sudo, no global write — the same
|
|
282
287
|
# step then works on BOTH GitHub-hosted and shared self-hosted runners
|
package/templates/ci-node.yml
CHANGED
|
@@ -266,7 +266,12 @@ jobs:
|
|
|
266
266
|
x86_64|amd64) arch=x64 ;;
|
|
267
267
|
*) echo "unsupported arch: $(uname -m)" >&2; exit 1 ;;
|
|
268
268
|
esac
|
|
269
|
-
curl
|
|
269
|
+
# --fail: on an HTTP error curl otherwise saves the error page and exits 0, and tar
|
|
270
|
+
# then fails with "not in gzip format", naming neither the download nor the host.
|
|
271
|
+
# --retry: a re-run during the same upstream error spends the one re-run branch CI
|
|
272
|
+
# allows, so a brief error is retried here first. A longer outage still fails, at
|
|
273
|
+
# curl, naming the status (#690).
|
|
274
|
+
curl -fsSL --retry 5 --retry-delay 10 --retry-all-errors --connect-timeout 10 --max-time 120 -o gitleaks.tar.gz \
|
|
270
275
|
"https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_${os}_${arch}.tar.gz"
|
|
271
276
|
# Into $RUNNER_TEMP, not /usr/local/bin: no sudo, no global write — the same
|
|
272
277
|
# step then works on BOTH GitHub-hosted and shared self-hosted runners
|
package/templates/ci-python.yml
CHANGED
|
@@ -277,7 +277,12 @@ jobs:
|
|
|
277
277
|
x86_64|amd64) arch=x64 ;;
|
|
278
278
|
*) echo "unsupported arch: $(uname -m)" >&2; exit 1 ;;
|
|
279
279
|
esac
|
|
280
|
-
curl
|
|
280
|
+
# --fail: on an HTTP error curl otherwise saves the error page and exits 0, and tar
|
|
281
|
+
# then fails with "not in gzip format", naming neither the download nor the host.
|
|
282
|
+
# --retry: a re-run during the same upstream error spends the one re-run branch CI
|
|
283
|
+
# allows, so a brief error is retried here first. A longer outage still fails, at
|
|
284
|
+
# curl, naming the status (#690).
|
|
285
|
+
curl -fsSL --retry 5 --retry-delay 10 --retry-all-errors --connect-timeout 10 --max-time 120 -o gitleaks.tar.gz \
|
|
281
286
|
"https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_${os}_${arch}.tar.gz"
|
|
282
287
|
# Into $RUNNER_TEMP, not /usr/local/bin: no sudo, no global write — the same
|
|
283
288
|
# step then works on BOTH GitHub-hosted and shared self-hosted runners
|