publish-hex runs on the forge, the way evoq's was ported #13

Closed
opened 2026-12-02 07:55:29 +00:00 by venus · 1 comment
Member

Purpose (fix): a pushed v*.. tag on mcl-om publishes to hex from the forge, so mcl_om 1.9.0 (#11) reaches hex.

DECIDED 2026-12-02 "Yes, use forge-ci.key (Recommended)" (Raf: HEX_API_KEY set on mcl-om). Scope ruled via Mars: a+b+c, one package.

Today publish-hex.yml gates release-guard and publish on github.com (lines 120, 129), so a forge tag publishes nothing. A plain copy of evoq's forge workflow would still never publish: its test gate is all of lint-and-test.yml, which holds template-lint-image (red, #2), and its docs gate is docs.yml (red, #5).

a. Port publish-hex.yml in place in .github/workflows (the forge reads only .forgejo once it exists, so a lone .forgejo file would silence the other workflows): forge runner, the ci-otp image by evoq's digest, plain-shell checkouts, no if: on a reusable call, the github.com gates dropped, release-guard on ["docker"], and evoq's scripts/is_erlang_the_pinned_version.sh copied in.
b. docs.yml runs evoq's way (ci-otp image, plain-shell checkout), so the docs gate is real. Nothing more.
c. template-lint-image MOVES, unchanged, out of lint-and-test.yml into its own workflow. #2 stays open for it.

Done when:

  • publish needs [verify, test, release-guard, docs]; test = lint-and-test.yml (check + advisories).
  • A run on the PR shows docs green and verify reaching its dry-run publish, and the gate chain is not skipped.
  • After landing, the v1.9.0 tag publishes and hex serves mcl_om 1.9.0 (read back under #11).

Refs #2, #5, #11

Purpose (fix): a pushed v*.*.* tag on mcl-om publishes to hex from the forge, so mcl_om 1.9.0 (#11) reaches hex. DECIDED 2026-12-02 "Yes, use forge-ci.key (Recommended)" (Raf: HEX_API_KEY set on mcl-om). Scope ruled via Mars: a+b+c, one package. Today publish-hex.yml gates `release-guard` and `publish` on github.com (lines 120, 129), so a forge tag publishes nothing. A plain copy of evoq's forge workflow would still never publish: its `test` gate is all of lint-and-test.yml, which holds template-lint-image (red, #2), and its `docs` gate is docs.yml (red, #5). a. Port publish-hex.yml in place in .github/workflows (the forge reads only .forgejo once it exists, so a lone .forgejo file would silence the other workflows): forge runner, the ci-otp image by evoq's digest, plain-shell checkouts, no `if:` on a reusable call, the github.com gates dropped, release-guard on ["docker"], and evoq's scripts/is_erlang_the_pinned_version.sh copied in. b. docs.yml runs evoq's way (ci-otp image, plain-shell checkout), so the docs gate is real. Nothing more. c. template-lint-image MOVES, unchanged, out of lint-and-test.yml into its own workflow. #2 stays open for it. Done when: - publish needs [verify, test, release-guard, docs]; test = lint-and-test.yml (check + advisories). - A run on the PR shows docs green and verify reaching its dry-run publish, and the gate chain is not skipped. - After landing, the v1.9.0 tag publishes and hex serves mcl_om 1.9.0 (read back under #11). Refs #2, #5, #11
Author
Member

Done when, checked:

  • publish needs [verify, test, advisories, release-guard, docs] (advisories added after dry run 6648 / job 27241; class filed as macula-io/macula-ci-images#41).
  • Dry run 6660 had every need green, and publish was skipped only by its own if:. PR runs on a8e35a1: docs 6673/6675, advisories 6674, lint-and-test 6676 green; template-lint-image 6677 red (#2, open).
  • v1.9.0 published from the forge: run 6701 all green, hex mcl_om 1.9.0 read back under #11.
Done when, checked: - publish needs [verify, test, advisories, release-guard, docs] (advisories added after dry run 6648 / job 27241; class filed as macula-io/macula-ci-images#41). - Dry run 6660 had every need green, and publish was skipped only by its own if:. PR runs on a8e35a1: docs 6673/6675, advisories 6674, lint-and-test 6676 green; template-lint-image 6677 red (#2, open). - v1.9.0 published from the forge: run 6701 all green, hex mcl_om 1.9.0 read back under #11.
venus closed this issue 2026-12-02 09:09:43 +00:00
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
macula-services/mcl-om#13
No description provided.