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

Wait for parallel builds to be cancelled on error #2424

Merged
merged 2 commits into from
Jul 8, 2019
Merged

Wait for parallel builds to be cancelled on error #2424

merged 2 commits into from
Jul 8, 2019

Conversation

tbarrella
Copy link
Contributor

to fix #2268

Previously, if building the first cluster artifact failed, skaffold
would exit immediately after. Build goroutines for other artifacts may
have still been running and not get a chance to clean up

The Kaniko build has logic to handle cancellation, but allow custom
commands to be cancelled as well

I'm still new to Go so be liberal with requesting changes

Previously, if building the first cluster artifact failed, skaffold
would exit immediately after. Build goroutines for other artifacts may
have still been running and not get a chance to clean up

The Kaniko build has logic to handle cancellation, but allow custom
commands to be cancelled as well
@codecov
Copy link

codecov bot commented Jul 6, 2019

Codecov Report

Merging #2424 into master will increase coverage by 0.02%.
The diff coverage is 90%.

Impacted Files Coverage Δ
pkg/skaffold/build/parallel.go 94.02% <100%> (+0.58%) ⬆️
pkg/skaffold/build/custom/custom.go 66.66% <66.66%> (ø) ⬆️

@dgageot dgageot added the kokoro:run runs the kokoro jobs on a PR label Jul 8, 2019
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Jul 8, 2019
pkg/skaffold/build/parallel.go Outdated Show resolved Hide resolved
@dgageot dgageot added the kokoro:run runs the kokoro jobs on a PR label Jul 8, 2019
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Jul 8, 2019
@balopat balopat merged commit 4fb11ec into GoogleContainerTools:master Jul 8, 2019
@tbarrella tbarrella deleted the wait-for-builds branch July 8, 2019 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

One Kaniko artifact build failure can stop other pod(s) from being cleaned up
5 participants