Repository navigation
Conversation
Build the doris package for x86_64-linux and aarch64-linux on every push to main and push it to nix-cache.lowrisc.org/public, so flakes that take doris as an input download it rather than building it. The push authenticates with a short-lived token from lowRISC's CA, which trusts the repository's GitHub OIDC identity, so no secret is stored. Forks skip the job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Pushes the doris package to lowRISC's public Nix cache (
nix-cache.lowrisc.org/public) on every merge tomain. Flakes that takegithub:lowRISC/dorisas an input then download doris instead of building it from source.Changes
Nix cacheworkflow runs on push tomain(and by hand). It builds.#packages.<system>.defaultfor x86_64-linux and aarch64-linux, then runsattic push public result.lowrisc/ci-actions/ca-token, based on the job's GitHub OIDC identity, so no secret is stored. Forks skip the job.Before merging
The CA endpoint (
https://ca.lowrisc.org/api/nix-caches/public/token) has to trustlowRISC/doris's OIDC tokens. Until it does, the token step fails. I haven't been able to check its policy.Testing
actionlintpasses on the workflow.nix flake checkpasses.lowRISC/dorisafter a merge, so this PR doesn't run it.🤖 Generated with Claude Code