ci(release): publish from the Pi; surface API 422s #37
Loading…
Reference in a new issue
No description provided.
Delete branch "wt/t_2c84cd13"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Run 116 built both Linux binaries (aarch64 19,307,312 bytes ARM aarch64; x86_64 21,138,640 bytes x86-64) then
POST /releasesreturned HTTP 422 six times with no body becausepublish-release.shusedcurl -sf --retry-all-errors. Publish was also queued ~1h ondocker-amd64behind android-release (runner capacity=1). Cleanup did delete the danglingv0.1.0tag (fail-closed worked).This PR:
runs-on: docker) — same network path as the version job that already creates tags over the public API. x86_64 still builds ondocker-amd64.paths(src/,crates/,Cargo.toml,Cargo.lock,scripts/release-body.md);dry_run=trueis how you testrelease.ymlwithout minting a release; concurrency isonionwire-ci-pishared withci.yml(cancel-in-progress: false). Amd64 overlap is runnercapacity=1, not a second Forgejo concurrency group.Loop guard
push: tags:was already dropped. This workflow creates the tag via the API; a tag-push trigger would start a second run.main+workflow_dispatchcover the cases.Paths (do not mint on CI-file edits)
Kept:
src/**,crates/**,Cargo.toml,Cargo.lock,scripts/release-body.md(shapes the published notes).Dropped earlier:
.forgejo/workflows/release.yml,scripts/build-release-local.sh.Test plan
workflow_dispatchdry_run=trueon this branch (optional — run 116 already proved both cargo builds)workflow_dispatchnon-dry produces v0.1.0 with four non-empty assetsfileshows ARM aarch64 and x86-64;sha256sum -cgreen.forgejo/workflows/ci.yml) — this diff is workflow/docs only, so the cargo suite should skipEvidence (run 135, then this follow-up)
Non-dry
workflow_dispatchon9b7e72b: https://forgejo.siriusdevops.com/sirius/onionwire/actions/runs/135v0.1.0on9b7e72bdocker, not amd64)Release: https://forgejo.siriusdevops.com/sirius/onionwire/releases/tag/v0.1.0
onionwire-aarch64-unknown-linux-gnuonionwire-aarch64-unknown-linux-gnu.sha256onionwire-x86_64-unknown-linux-gnuonionwire-x86_64-unknown-linux-gnu.sha256file:ELF 64-bit LSB pie executable, ARM aarch64, ... strippedELF 64-bit LSB pie executable, x86-64, ... strippedsha256sum -c: both OK360fceaa915128aa8178d3b6ec7836f4a3aae93085466b938a6ccd5927e42681 onionwire-aarch64-unknown-linux-gnu9e4f8d258e435f1c541ec8c3ca8e62316579069c1ad703a81c2eab37758b6adf onionwire-x86_64-unknown-linux-gnuThis follow-up commit drops the sibling
cleanupjob (that is what failed run 135 overall) and deletes a dangling tag frompublishwithif: failure()instead. Do not re-dispatch a non-dry run:v0.1.0is the first published release and must stay.Loop guard: creating tag
v0.1.0did not start a second release run (only dispatch 135). Merge of #32 (fecec6c, ci.yml only) produced no release run.dry_run=trueis how to test furtherrelease.ymledits without mintingv0.1.1.