Release on the forge: libmacula as a forge release, and every job on the forge runner #2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Purpose (port): macula-go's four workflows run on git.macula.io's own runner, and a
v*tag publishes libmacula from git.macula.io — nothing left that needs GitHub.Refs macula-io/forge-setup#30 (section 4, step 6, "the path change, plus the libmacula binaries as a forge release in place of
gh release"). DECIDED 2026-11-24 "go.macula.io/macula-go (Recommended)" for the module path.What comes across
All four files:
ci.yml(gofmt, vet, structural floor, interop lint, test, fuzz, windows),libmacula.yml(linux-x64, linux-arm64, macos-arm64/x64, windows-x64),release.yml(libmacula, sealed-interop, tests, the release guard, the CHANGELOG section, publish) andsealed-interop.yml(macula from hex, the sealed leg, the groups leg).The rulings php and rust were ported under apply here, unchanged:
runs-on: docker, the forge's own image by digest withcontainer.credentials(the org's read-only pull account), plain-shell checkout rather thanactions/checkout@v4.release-guard.yml,doc-snippets-go.yml,dependency-advisories.yml.if: github.server_url == 'https://github.com'and are named open here rather than quietly dropped: no forge runner serves them.workflow_dispatchproof that stops one step before publishing.hand-lockdoes.Where libmacula is published on the forge
A release on
macula-io/macula-goat thev*tag, through the forge's API: the four platform libraries (libmacula-linux-x64.so,libmacula-linux-arm64.so,macula-macos-arm64.dylib/x64.dylib,macula-windows-x64.dll),macula.h,SHA256SUMS, and the two interop logs the release already carries.gh release create/gh release uploadgo;cabi/CONTRACT.mdis updated to say where the artifacts live.Two stops before code (named by Mars)
go.macula.io's DNS. The module path change (264 files in this repository) and the?go-get=1page need a DNS record and a static file — a menu line the Supervisor owns, not this package. Not written until the Supervisor says where the record goes.macula-ioorg is private on the forge, and its packages and releases follow its visibility, so libmacula cannot be fetched anonymously frommacula-io/macula-go's releases — which is what macula-php'scomposer buildand anygo getwould do. Where the public artifact lives is Raf's question. What this package does either way is publish to the org's own release, which a consumer holding the pull credentials can already use.Done when
runs-on: dockeron the forge's image by digest with the pull credentials; no job names a GitHub-hosted runner.github.server_urland named open here; a forge run skips them and says so.workflow_dispatchrun on master does the checkout, the toolchain and a linux libmacula build, then stops before publishing: green, and its log shows the stop.actionlintis clean and.github/actionlint.yamldeclares thedockerlabel.v*tag the release is published on the forge and read back by API with all six files — this one waits for Actions to be on and for both stops above.PR 3 is the port (
pallas/2-forge-release, tipbf3c228). It builds everything that needs neithergo.macula.io's DNS nor an anonymous fetch out ofmacula-io; the module-path sweep (264 files) waits for the DNS ruling, and the artifacts go tomacula-sdk's generic package, which is the anonymous path.Open points, named rather than skipped
libmaculafor linux-arm64, macOS and Windows is not built here. The forge has no arm64, macOS or Windows runner, so those legs keep their steps, are guardedif: github.server_url == 'https://github.com', and show as skipped. A forge tag publisheslibmacula-linux-x64.so,macula.handSHA256SUMSonly;cabi/CONTRACT.mdsays so.groups.shstarts each Erlang peer as its ownpodman run … escriptwith per-run arguments, reads each from its own stdout file and stops it by name — the test starts, reads and stops the peer itself, so a long-livedservices:container cannot stand in for it, and the forge mounts no docker or podman socket into a job (forge-runner instance config). The sealed leg does run, throughsealed.sh's ownMACULA_LOCAL_ERL=1in the OTP image.gh attestation verify;SHA256SUMSand the anonymous read-back are what a consumer checks.proxy.golang.org(Go modules) andregistry.npmjs.org(interop lint). Both are assumed, neither has been run on the forge.macula-sdkorg (forge-setup#36) and the onesdk-publisheraccount withwrite:packagethere, whose token reaches the repository asvars.FORGE_PACKAGES_USER/secrets.FORGE_PACKAGES_TOKEN.What the first run has to show
Actions are off here, so nothing has run on the forge. With the Supervisor's GO: a
workflow_dispatchofreleaseon master builds libmacula in manylinux, runs the sealed leg, and stops before every publish step; then the firstv*tag publishes the four files andSHA256SUMSreads back with no credentials.