Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support preflighting the store trust, for magic nix cache #27

Merged
merged 5 commits into from
May 10, 2024
Merged

Conversation

grahamc
Copy link
Member

@grahamc grahamc commented May 10, 2024

Description
Checklist
  • Tested changes against a test repository
  • Added or updated relevant documentation (leave unchecked if not applicable)
  • (If this PR is for a release) Updated README to point to the new tag (leave unchecked if not applicable)

Copy link

netlify bot commented May 10, 2024

Deploy Preview for detsys-ts-docs ready!

Name Link
🔨 Latest commit f365f02
🔍 Latest deploy log https://app.netlify.com/sites/detsys-ts-docs/deploys/663e84430451590008a6e3c2
😎 Deploy Preview https://deploy-preview-27--detsys-ts-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

src/index.ts Outdated Show resolved Hide resolved
Comment on lines +262 to +263
await this.preflightNixStoreInfo();
this.addFact(FACT_NIX_STORE_TRUST, this.nixStoreTrust);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we exit with an error / log a warning if they're not trusted?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of our actions don't need trust, so I'm thinking we'll leave it up to those actions: DeterminateSystems/magic-nix-cache-action#52

@grahamc grahamc merged commit 93a5166 into main May 10, 2024
5 checks passed
@grahamc grahamc deleted the store-trust branch May 10, 2024 20:42
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.

None yet

2 participants