Repository navigation
Let GitHub finish a release: hourly installer re-pin and release - #18
Merged
Merged
Conversation
… hourly workflow release-apps.sh now returns as soon as the app releases exist. release.yml runs every hour; when an app has a newer release whose image build succeeded, it commits the new pins to main and starts a release run on that commit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Yannis · project thread
scripts/release-apps.shmade you keep a terminal open while the image builds ran. Now it creates the app releases and exits, and GitHub does the rest.release.ymlnow also runs every hour, and can still be started by hand. It runspin-apps.sh. If an app has a newer release, it checks that the release's CI run (the signed image build) succeeded:main, then starts a freshrelease.ymlrun on that commit, which publishes the next installer patch release. A fresh run is used so the attestation names the commit that holds the pins (workflow_dispatchis the one eventGITHUB_TOKENmay start).gh workflow run release.yml --repo selfhostit/docs [-f version=vX.Y.Z]. With no version it picks the next patch.release-apps.shno longer waits on builds, opens PRs or releases the installer, and it doesn't need a clean docs clone any more.security.md, the line on how pins get updated now matches.Tested: shellcheck and actionlint pass. I ran the build-status check locally against a stubbed
ghfor success, still building and failure, and each got the right outcome. The scheduled run itself will first run for real on today's six releases after this is merged.Generated by Claude Code