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

fix: zip corpus files before uploading to s3 #4685

Merged
merged 4 commits into from
Aug 2, 2024
Merged

fix: zip corpus files before uploading to s3 #4685

merged 4 commits into from
Aug 2, 2024

Conversation

jouho
Copy link
Contributor

@jouho jouho commented Aug 2, 2024

Resolved issues:

Currently corpus files are downloaded/uploaded individually from/to S3 bucket. Since number of requests can factor into S3 pricing, we should minimize it by zipping the corpus before uploading them to S3.

Description of changes:

  • Instead of downloading individual corpus files, downloads a zipped version and unzip
  • Instead of uploading individual corpus files, uploads a zipped version to S3

Call-outs:

Testing:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Aug 2, 2024
@jouho jouho marked this pull request as ready for review August 2, 2024 20:19
@jouho jouho requested review from dougch and jmayclin August 2, 2024 20:20
- add comment explaining
@jouho jouho requested a review from jmayclin August 2, 2024 20:43
@jouho jouho enabled auto-merge (squash) August 2, 2024 22:10
@jouho jouho merged commit fbc2d06 into main Aug 2, 2024
38 checks passed
@jouho jouho deleted the zip-corpus branch August 2, 2024 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants