-
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
fix: new condition to create hydrate-dir only if a kpt renderer or deployer #8117
fix: new condition to create hydrate-dir only if a kpt renderer or deployer #8117
Conversation
Codecov Report
@@ Coverage Diff @@
## main #8117 +/- ##
==========================================
- Coverage 70.48% 66.22% -4.27%
==========================================
Files 515 599 +84
Lines 23150 29339 +6189
==========================================
+ Hits 16317 19429 +3112
- Misses 5776 8453 +2677
- Partials 1057 1457 +400
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
89793c4
to
b08ed24
Compare
b08ed24
to
effb847
Compare
…ployer is used + remove not used function
effb847
to
de94ba1
Compare
@@ -164,37 +167,6 @@ func GroupVersionResource(disco discovery.DiscoveryInterface, gvk schema.GroupVe | |||
return false, schema.GroupVersionResource{}, fmt.Errorf("could not find resource for %s", gvk.String()) | |||
} | |||
|
|||
func GetManifestsFromHydrationDir(ctx context.Context, opts config.SkaffoldOptions) (manifest.ManifestList, error) { |
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!
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.
LGTM!
…ployer (GoogleContainerTools#8117) * fix: new condition to create hydrate-dir only if a kpt renderer or deployer is used + remove not used function * test: add integration test for new condition about hydration directory creation * test: mark integration test to run on GCP * feat: install kpt for linux integration tests * fix: making kpt hydration folder tests to run without GCP again * fix: integration-linux.yaml template for kpt installation
Fixes: #8041
Description
This PR adds an extra condition before creating the
hydration-dir
, so it is created only when kpt is used (as renderer, deployer, or both).