-
Notifications
You must be signed in to change notification settings - Fork 247
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
ci: Speed up bootstrap #3317
ci: Speed up bootstrap #3317
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
@@ -88,7 +88,17 @@ const amplifyEnvironments = <String, String>{}; | |||
[for (final package in bootstrapPackages) _createEmptyConfig(package)], | |||
); | |||
if (build) { | |||
for (final package in bootstrapPackages) { | |||
// Packages which must be built because they vendor assets required for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: because the vendor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vendor is a verb here
@@ -88,7 +88,17 @@ const amplifyEnvironments = <String, String>{}; | |||
[for (final package in bootstrapPackages) _createEmptyConfig(package)], | |||
); | |||
if (build) { | |||
for (final package in bootstrapPackages) { | |||
// Packages which must be built because they vendor assets required for | |||
// running all downstream packages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Comment should be capitalized
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is capitalized?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for tackling this.
* ci: Speed up bootstrap * Fix example * More fixes * Clean up * Fixes * Clean up
Reduces
aft bootstrap
time in CI by only bootstrapping necessary packages.This improves average workflow speed by 80-90% (seriously quick now!) and should help flakiness since we're no longer DDoS'ing pub as bad in our workflows.