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

feat: use s3 cache in bootstrap fast #9111

Merged
merged 20 commits into from
Oct 11, 2024
Merged

feat: use s3 cache in bootstrap fast #9111

merged 20 commits into from
Oct 11, 2024

Conversation

alexghr
Copy link
Contributor

@alexghr alexghr commented Oct 9, 2024

This PR switches the cache used by ./bootstrap.sh fast from Dockerimages built in CircleCI to Earthly artifacts stored in an S3 bucket built during Github Action runs.

The new script requires access to the aws command and for credentials to be set up to read from the S3 bucket.

Fix #8929


(cd ./noir-protocol-circuits && yarn && node ./scripts/generate_variants.js)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is captured in cache now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, the script creates the crates/autogenerated directory, the private_kernel_reset_dimensions.json file and root Nargo.toml. All three are part of the artifacts archive now :D

Copy link
Collaborator

@ludamad ludamad left a comment

Choose a reason for hiding this comment

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

approved for when this is ready

@alexghr alexghr changed the title feat: use s3 cache in bootstrap fast [WIP] feat: use s3 cache in bootstrap fast Oct 11, 2024
@ludamad ludamad merged commit 349f938 into master Oct 11, 2024
53 checks passed
@ludamad ludamad deleted the ag/cache branch October 11, 2024 11:44
ludamad added a commit that referenced this pull request Oct 11, 2024
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.

CI: Fix bb.ts caching
2 participants