project-nomad/.github/workflows
Chris Sherwood 330774312c ci: make collection URL validator robust to Range-ignoring mirrors
download.kiwix.org redirects to mirrors, some of which ignore the Range
header and stream the full body, so `curl --max-filesize 1` aborts with exit
63 (CURLE_FILESIZE_EXCEEDED). Under the step's default `bash -eo pipefail`,
that non-zero exit in the `HTTP_CODE=$(...)` assignment killed the whole job
on the first such URL, regardless of the URL being valid. The failure was
non-deterministic (depended which mirror the redirect picked).

Add `|| true` so the assignment can't trip `set -e`; curl still writes the
real %{http_code} (200/206) for the existing check, and a genuine 404 still
returns 404 with exit 0 and is still caught.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 13:09:23 -07:00
..
build-admin-on-pr.yml ci: add build check for PRs 2026-03-25 20:41:53 +00:00
build-disk-collector.yml ci: upgrade GitHub Actions to latest versions (#362) 2026-04-03 14:26:50 -07:00
build-primary-image.yml ci: upgrade GitHub Actions to latest versions (#362) 2026-04-03 14:26:50 -07:00
build-sidecar-updater.yml ci: bump checkout action veon build-sidecar and validate-collections 2026-03-25 21:29:51 +00:00
release.yml ci: ensure tags are force fetched on semantic release 2026-04-21 14:26:28 -07:00
validate-collection-urls.yml ci: make collection URL validator robust to Range-ignoring mirrors 2026-06-24 13:09:23 -07:00