-
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
Better profiles #1541
Better profiles #1541
Conversation
a7320d7
to
ee13075
Compare
Codecov Report
@@ Coverage Diff @@
## master #1541 +/- ##
=========================================
+ Coverage 46.18% 46.58% +0.4%
=========================================
Files 118 118
Lines 4961 5019 +58
=========================================
+ Hits 2291 2338 +47
- Misses 2439 2447 +8
- Partials 231 234 +3
Continue to review full report at Codecov.
|
d8c952c
to
0d32461
Compare
# kubeContext: ctx1 | ||
# Also auto-activate `skaffold dev` is run | ||
# - command: run | ||
# Also auto-activate is the kubeContext is NOT `ctx2` |
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.
# Also auto-activate is the kubeContext is NOT `ctx2` | |
# Also auto-activate if the kubeContext is NOT `ctx2` |
pkg/skaffold/schema/profile_test.go
Outdated
expected []string | ||
shouldErr bool | ||
}{ | ||
{ |
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.
There are no tests covering the case where the Activation
array has multiple activations. It is unclear whether the relationship between multiple activations should be OR or AND - it looks like from the implementation that it's a logical OR - we should also mention this in the annotated-skaffold.yaml
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.
Thank you for this!
This is closing #1536?
I marked some nits.
plus some items for discussion:
- json patch:
- why json? + now we'll start to have file sprawl instead of a single skaffold yaml describing the config
- it doesn't have an integration test - would be nice to see an example
@balopat Thanks for the review!
|
0d32461
to
50fdecd
Compare
50fdecd
to
50e1fe0
Compare
Fixes GoogleContainerTools#1536 Signed-off-by: David Gageot <[email protected]>
Fix GoogleContainerTools#1271 Signed-off-by: David Gageot <[email protected]>
Signed-off-by: David Gageot <[email protected]>
50e1fe0
to
cac573b
Compare
Signed-off-by: David Gageot <[email protected]>
cac573b
to
2522d70
Compare
This PR implements two features related to Profiles: