Repository navigation
ci: push devenv closure to Attic on rigel-release (RIG-9652) - #14
Draft
rigel-mintaka wants to merge 2 commits into
Draft
rigel-mintaka wants to merge 2 commits into
rigel-mintaka wants to merge 2 commits into
Conversation
Co-authored-by: Matt Wilkinson <matt@rigel.build>
Adds an attic-push job that calls the reusable workflow in RigelBuild/.github. Runs on push events only, so pull_request runs never receive the secrets. Until RIG-10216 and RIG-10509 provision the secrets, the reusable job skips with a notice. Co-authored-by: Matt Wilkinson <matt@rigel.build>
rigel-mintaka
marked this pull request as draft
November 18, 2026 21:16
Author
|
Hold: waiting on Matt's RIG-10781 decision. Review r1 found 3 high, 5 medium and 1 low; the main ones:
If Matt picks A (remove |
Author
|
Attic push is not ported: nebula has no root workflow that runs or includes forks/devenv/.github/workflows/rigel-ci.yml. GitHub only reads the repo-root .github/workflows, so a port would not run. The Attic push needs a nebula root workflow and stays under RIG-9652. Leaving this PR open for that. |
This branch has not been deployed
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 does this do
Adds an
attic-pushjob to.github/workflows/rigel-ci.yml. It calls the reusableattic-push.ymlfromRigelBuild/.githuband pushes the.#devenvclosure to the privateforksAttic cache.The job runs on push to
rigel-releaseonly. It is gated ongithub.event_name == 'push', so apull_requestrun never reaches it and fork PRs never receive the secrets. It runs after theCIjob.Why do we need it
RIG-9652. The devenv closure built on GitHub Actions should reach Attic, so hosts can substitute it. Without this caller nothing pushes the closure.
This PR merges after the
.githubPR, RigelBuild/.github#2. The@mainpin resolves only once that PR is onmain.The secrets
TS_OAUTH_CLIENT_ID,TS_OAUTH_SECRETandATTIC_PUSH_TOKENwait on RIG-10216 and RIG-10509. Until they exist, the reusable job skips with a notice and this check stays green. Nothing is built or pushed.Summary
rigel-ci.yml: new jobattic-push.needs: [CI],if: github.event_name == 'push'.attrs: .#devenvandcache: forks.CIjob is unchanged, so the branch-protection check name stays the same.Verification
actionlint .github/workflows/rigel-ci.yml: exit 0.Risks
@mainon a workflow in another repo. A change to that file reaches this caller without a PR here.rigel-releasenow runs one extra job. It does nothing until the secrets exist.Spec-impact: none.
Checks skipped:
no pre-push hook configured for RigelBuild/devenv rigel-release caller; RIG-10107 no-hook profileRefs RIG-9652
Co-authored-by: Matt Wilkinson matt@rigel.build