Skip to content

feat(release): build against packages already published in the archive - #41

Merged
bpapaspyros merged 1 commit into
mainfrom
feat/release-build-archive
Oct 27, 2026
Merged

bpapaspyros merged 1 commit into
mainfrom
feat/release-build-archive

Conversation

@bpapaspyros

@bpapaspyros bpapaspyros commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

What and why

A package depending on another of ours cannot be built by the release or edge workflows: the builder knows no published package, so the build stops at the first such dependency. The builder can now read the archive (ARCHIVE_URL in duatic_devtools' build_pkg.sh), and this passes it.

  • reusable_release_build.yml:
    • with the organization variable ARCHIVE_URL set, it fetches the archive's key from it and uses it only when its one primary key's fingerprint is ARCHIVE_KEY_FINGERPRINT;
    • it gives the builder the archive, the key and archive_channels, a new input defaulting to stable.
    • Without ARCHIVE_URL, the build runs as before.
  • reusable_edge_build.yml builds with archive_channels: edge stable, so a dependency without a build of main comes from its release.
  • README: the build section and the inputs table.

Testing

  • The fingerprint check, run locally on throwaway keys: the matching key passes. A different key, a keyring holding two keys and an unreadable file are refused. A subkey's fingerprint is not taken for the primary's.
  • This has not run on GitHub yet.
  • Tests updated, or not applicable
  • Docs updated, or not applicable
  • This changes or removes something existing (if so, title needs ! and means the next release is a major version bump)

Notes

  • Needs the duatic_devtools release carrying ARCHIVE_URL in the builder. Until then the builder ignores it, and a build with such a dependency fails as it does today.
  • Takes effect once the organization variables ARCHIVE_URL and ARCHIVE_KEY_FINGERPRINT are set.

@bpapaspyros
bpapaspyros merged commit 9c3749f into main Oct 27, 2026
3 checks passed
@bpapaspyros
bpapaspyros deleted the feat/release-build-archive branch October 27, 2026 16:53
@bpapaspyros bpapaspyros mentioned this pull request Oct 27, 2026
bpapaspyros added a commit that referenced this pull request Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant