Migrate CI from Cirrus CI to GitHub Actions#447
Draft
fkorotkov-oai wants to merge 4 commits into
Draft
Conversation
ad5cd25 to
262d469
Compare
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.
What changed
publishenvironment for tag releases while keeping manual snapshots environment- and secret-freeFormula/orchard.rbtoopenai/homebrew-toolsthrough a versioned pull requestghcr.io/openai/orchardand source Vetu fromopenai/vetuin Linux CIRelease setup
Configure these secrets on the
publishenvironment before the next release:RELEASE_APP_IDRELEASE_APP_PRIVATE_KEYGORELEASER_KEYThe release app needs contents write access to
openai/orchard, plus contents and pull-request write access toopenai/homebrew-tools.Only the tag-triggered release job uses the
publishenvironment. Manualworkflow_dispatchsnapshots run without release, signing, or notarization secrets.Validation
actionlint .github/workflows/release.ymlactionlint -ignore 'label ".*" is unknown' .github/workflows/*.ymlgoreleaser check --softwith GoReleaser Pro 2.16.0goreleaser release --skip=publish --snapshot --clean, which generateddist/homebrew/Formula/orchard.rband skipped signing/notarizationgo test ./...passed outside hardware-dependent integration packagesGoReleaser reports that formula-style
brewsoutput is deprecated in favor of casks. This PR intentionally preserves Orchard's formula packaging and its install-time shell completion generation.The local hardware integration tests could not register an Orchard worker because
ioregis unavailable in this execution environment; the migrated macOS job runs them on the Tahoe runner.