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

build-package, lint: Add --serial flag #556

Merged
merged 3 commits into from
Sep 24, 2021
Merged

build-package, lint: Add --serial flag #556

merged 3 commits into from
Sep 24, 2021

Conversation

72636c
Copy link
Member

@72636c 72636c commented Sep 24, 2021

Previously, we had a Buildkite-specific hack to propagate the BUILDKITE environment variable in order to run these commands serially. This is potentially surprising behaviour, particularly if the consumer is propagating the variable for some other purpose.

That point will become less hypothetical once skuba adds built-in support for Buildkite annotations. We replace the inference with a very explicit flag.

Previously, we had a Buildkite-specific hack to propagate the BUILDKITE
environment variable in order to run these commands serially. This is
potentially surprising behaviour, particularly if the consumer is
propagating the variable for some other purpose.

That point will become less hypothetical once skuba adds built-in
support for Buildkite annotations. We replace the inference with a very
explicit flag.
@72636c 72636c requested a review from a team as a code owner September 24, 2021 02:54
@changeset-bot
Copy link

changeset-bot bot commented Sep 24, 2021

🦋 Changeset detected

Latest commit: 8a6a296

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
skuba Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@etaoins etaoins left a comment

Choose a reason for hiding this comment

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

Should we be updating the templates as well?

@72636c
Copy link
Member Author

72636c commented Sep 24, 2021

@etaoins I go back and forth on that, but I'm not convinced that this should be the default. These commands can be significantly slower when run serially, and I feel right-sizing agents is worth the improvement in deployment time.

I'll try to specifically detect Gutenberg builds though since exhausting those agents causes much grief.

@72636c 72636c merged commit ef4ae1d into master Sep 24, 2021
@72636c 72636c deleted the serial-flag branch September 24, 2021 05:26
@github-actions github-actions bot mentioned this pull request Sep 24, 2021
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