Support parallel local builds (defaults to sequential)#3471
Support parallel local builds (defaults to sequential)#3471nkubala merged 1 commit intoGoogleContainerTools:masterfrom
Conversation
Codecov Report
|
b803822 to
08d07cf
Compare
briandealwis
left a comment
There was a problem hiding this comment.
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 |
nkubala
left a comment
There was a problem hiding this comment.
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 |
nkubala
left a comment
There was a problem hiding this comment.
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