Skip to content

ci: build and release through Start9's reusable workflows - #1

Merged
stupleb merged 1 commit into
masterfrom
ci/reusable-workflows
Oct 2, 2026
Merged

stupleb merged 1 commit into
masterfrom
ci/reusable-workflows

Conversation

@stupleb

@stupleb stupleb commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Moves this repo's CI onto the package template's three workflows, which call Start9's reusable ones in Start9Labs/start-technologies.

Why

  • build.yml and release.yml already called the reusable workflows, but as this repo's own variants of the template's files.
  • A release needed a tag pushed by hand, and listing it on the registry was a separate manual step.

What changes

  • Build runs on pull requests against master, one runner per architecture. It no longer runs on pushes to master, and it doesn't use the signing key.
  • Tag and Release is new. It runs on every push to master that changes anything besides the Markdown files in the repo's root. It tags the commit and releases it when the registry in REFERENCE_REGISTRY doesn't list the version in startos/versions/current.ts; otherwise it does nothing.
  • Release runs for a tag pushed by hand, as before, and now also adds the release to the registry in RELEASE_REGISTRY.
  • FREE_DISK_SPACE is no longer set. It had been on since the repo's first run, so this pull request's build is the first without it.

So merging a change that raises the version is what releases it. Merging this PR releases nothing: 0.13.3:0 is already on the registry.

Both repository variables, REFERENCE_REGISTRY and RELEASE_REGISTRY, are set to https://startos.stupleb.xyz.

build.yml and release.yml already called the reusable workflows in
Start9Labs/start-technologies, but as this repo's own variants: Build
also ran on every push to master and passed DEV_KEY to pull-request
builds, and Release switched the registry step off. A release needed a
hand-pushed tag, and listing it on the registry was a separate manual
step.

Replace both with the package template's three callers, unchanged:

- Build: on pull requests, one runner per arch, without the signing key
- Tag and Release: on a push to master, tag the commit and release it
  when the registry named by REFERENCE_REGISTRY does not list the version
- Release: the same build, GitHub release and registry add for a tag
  pushed by hand

The registry is set through two repository variables, REFERENCE_REGISTRY
and RELEASE_REGISTRY.

FREE_DISK_SPACE goes with the old files. It had been on since the repo's
first run, so no build of this package has yet run without it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@stupleb
stupleb merged commit 9d431b6 into master Oct 2, 2026
3 checks passed
@stupleb
stupleb deleted the ci/reusable-workflows branch October 2, 2026 15:09
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