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

Select resources by UUID label #2609

Merged
merged 5 commits into from Aug 14, 2019

Conversation

corneliusweig
Copy link
Contributor

For details see #2496.

As described there, I added a new label which is specific to each skaffold run. When selecting resources, only resources created by the exact same skaffold run will be found.

Fixes #2496

)

// DefaultLabeller adds K9 style managed-by label
Copy link
Contributor

Choose a reason for hiding this comment

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

hahaha, we had k9 style labels? 🐶

@balopat balopat added the kokoro:run runs the kokoro jobs on a PR label Aug 2, 2019
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Aug 2, 2019
@codecov
Copy link

codecov bot commented Aug 3, 2019

Codecov Report

Merging #2609 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted Files Coverage Δ
pkg/skaffold/runner/portforwarder.go 100% <100%> (ø) ⬆️
pkg/skaffold/deploy/labeller.go 100% <100%> (ø) ⬆️
pkg/skaffold/deploy/status_check.go 63.23% <100%> (ø) ⬆️

@priyawadhwa priyawadhwa added the kokoro:run runs the kokoro jobs on a PR label Aug 5, 2019
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Aug 5, 2019
@priyawadhwa
Copy link
Contributor

hey @corneliusweig this looks good, I think you just need to rebase!

@nkubala
Copy link
Contributor

nkubala commented Aug 12, 2019

ping @corneliusweig, if you rebase we can merge!

@corneliusweig
Copy link
Contributor Author

I'm still traveling, but I'll get to it by tomorrow evening.

Signed-off-by: Cornelius Weig <22861411+corneliusweig@users.noreply.github.com>
Signed-off-by: Cornelius Weig <22861411+corneliusweig@users.noreply.github.com>
Before, these were selected based on the managed-by label, which caused
interferences in tests. Using the UUID label avoids these problems.

Signed-off-by: Cornelius Weig <22861411+corneliusweig@users.noreply.github.com>
- use idiomatic go names
- make sure the runID remains identical, even if multiple labeller instances are created

Signed-off-by: Cornelius Weig <22861411+corneliusweig@users.noreply.github.com>
…he same runID

Signed-off-by: Cornelius Weig <22861411+corneliusweig@users.noreply.github.com>
@corneliusweig
Copy link
Contributor Author

@nkubala rebase is done!
Thanks for reviewing and the friendly reminders :)

@priyawadhwa priyawadhwa added kokoro:run runs the kokoro jobs on a PR and removed needs-rebase labels Aug 14, 2019
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Aug 14, 2019
@tejal29 tejal29 merged commit 6ed64d6 into GoogleContainerTools:master Aug 14, 2019
@corneliusweig corneliusweig deleted the w/uuid-label branch August 14, 2019 22:36
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.

Interference between status check of multiple Skaffold runs
7 participants