ci: Retry and fail fast when the Ragel download is unavailable #963
flavio-fernandes
started this conversation in
Bugs
Replies: 1 comment
|
Good idea, thanks! Converting to discussion as per #871 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
The shell lane in PR #961 failed for a reason unrelated to the pull request:
the CI dependency bootstrap could not download Ragel 6.10 from
www.colm.net.Failed job:
https://github.com/purpleidea/mgmt/actions/runs/29648627858/job/88091031551
Relevant log:
The dependency step continued after the failed download/extract/build, so the
workflow surfaced the less useful
ragel: command not foundfailure laterduring generation.
Suggested fix
Harden the Ragel bootstrap in
misc/make-deps.sh:short delay/backoff and explicit connect/read timeouts.
extracting it.
installation fails.
release.
For GNU Wget, the download could use the equivalent of
--tries=5 --waitretry=5 --retry-connrefused --retry-on-http-error=429,500,502,503,504plus bounded timeout options. Exact flags should remain compatible with the
oldest supported CI environment.
Acceptance criteria
installation.
make depsat the Ragel step with thesource URL and a clear error.
ragelexecutable.
All reactions