-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Support parallel local builds (defaults to sequential) #3471
Conversation
Codecov Report
|
b803822
to
08d07cf
Compare
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.
So my concern here is that concurrent builds are enabled for all local builders. But Jib-based multi-module projects (artifacts that share the same context
/ workspace) will encounter problems.
Is it possible to selectively disable parallel builds? |
08d07cf
to
ba8f11d
Compare
@loosebazooka selectively how? With this PR, local parallel builds are disabled by default. Users can activate them by changing the skaffold.yaml. |
I see, can each builder decide if it wants to participate in parallel builds? |
@loosebazooka not for now |
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.
nice, this is great. would you mind documenting this in https://github.com/GoogleContainerTools/skaffold/blob/master/docs/content/en/docs/pipeline-stages/builders/_index.md?
Please visit http://35.236.51.86:1313 to view changes to the docs. |
@nkubala This is documented on that page. See http://35.236.51.86:1313/docs/pipeline-stages/builders/ |
ba8f11d
to
5859e18
Compare
Defaults to a sequential build Fixes GoogleContainerTools#1380 Signed-off-by: David Gageot <david@gageot.net>
5859e18
to
c9a0a87
Compare
@dgageot well, the |
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.
i'll approve this, but i'd like to see the docs on building improved to discuss sequence vs. parallel and how this can be configured by users. right now it's probably hard for users to discover this
Let’s do that. Can you merge this one and I’ll edit the doc tomorrow for both local and remote builders? |
👍 |
Had to cherry pick the schema change from #3453
Fixes #1380