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

Process S3 redirects in parallel #10019

Merged
merged 1 commit into from
Oct 7, 2023
Merged

Process S3 redirects in parallel #10019

merged 1 commit into from
Oct 7, 2023

Conversation

cnunciato
Copy link
Contributor

@cnunciato cnunciato commented Oct 7, 2023

Updates the make-s3-redirects.sh script to process S3 301 redirects in parallel with Node.js.

Takes about 2 seconds to run this locally, so should shave 20-30 minutes off the tail end of the push job. 🎉

Run ./scripts/on-demand-build-sync-test.sh to see it run in the context of a build.

@cnunciato cnunciato temporarily deployed to production October 7, 2023 05:15 — with GitHub Actions Inactive
@cnunciato cnunciato requested a review from sean1588 October 7, 2023 05:16
@cnunciato cnunciato force-pushed the cnunciato/s3-redirs branch from 35f0dda to 46e0449 Compare October 7, 2023 05:17
@cnunciato cnunciato temporarily deployed to production October 7, 2023 05:17 — with GitHub Actions Inactive
@cnunciato cnunciato requested review from zchase and a team October 7, 2023 05:29
@cnunciato cnunciato force-pushed the cnunciato/s3-redirs branch from 46e0449 to 56442e8 Compare October 7, 2023 15:00
@cnunciato cnunciato temporarily deployed to production October 7, 2023 15:00 — with GitHub Actions Inactive
@cnunciato cnunciato force-pushed the cnunciato/s3-redirs branch from 56442e8 to 589a100 Compare October 7, 2023 15:02
@cnunciato cnunciato temporarily deployed to production October 7, 2023 15:02 — with GitHub Actions Inactive
@cnunciato cnunciato force-pushed the cnunciato/s3-redirs branch from 589a100 to c04cf63 Compare October 7, 2023 15:02
@cnunciato cnunciato temporarily deployed to production October 7, 2023 15:02 — with GitHub Actions Inactive
@sean1588
Copy link
Member

sean1588 commented Oct 7, 2023

LGTM. nice that it only took two seconds. It took around 1 minute using bash when I did it locally with that I was doing before. yay node!! 🚀

@cnunciato cnunciato merged commit 41e4496 into master Oct 7, 2023
6 checks passed
@cnunciato cnunciato deleted the cnunciato/s3-redirs branch October 7, 2023 16:21
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