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: stop using cached rules bundle #3596

Merged
merged 1 commit into from
Aug 17, 2022
Merged

Conversation

YairZ101
Copy link
Contributor

What does this PR do?

This PR removes the ability to use the cached rules bundle and instead it will redownload the bundle each time.
The reason behind this is the switch to the legacy rules bundle which is not using versioning so the latest "version" is being uploaded to the same S3 bucket each time.

@YairZ101 YairZ101 requested a review from ofekatr August 17, 2022 11:29
@YairZ101 YairZ101 requested a review from a team as a code owner August 17, 2022 11:29
@github-actions
Copy link
Contributor

Warnings
⚠️

You've modified files in src/ directory, but haven't updated anything in test folder. Is there something that could be tested?

Generated by 🚫 dangerJS against 71c866e

@ofekatr
Copy link
Contributor

ofekatr commented Aug 17, 2022

I was expecting this to break the tests in https://github.com/snyk/cli/blob/master/test/jest/unit/lib/iac/test/v2/setup/local-cache/index.spec.ts, was the caching not covered in these tests?

@YairZ101 YairZ101 merged commit bc908f9 into master Aug 17, 2022
@YairZ101 YairZ101 deleted the feat/stop-caching-rules branch August 17, 2022 11:47
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.

2 participants