Skip to content

fix: improve verify command s.t. os envs not passed through to container envs and instead add a flag for this purpose#8557

Merged
aaron-prindle merged 1 commit intoGoogleContainerTools:mainfrom
aaron-prindle:fix-7945
Mar 22, 2023
Merged

fix: improve verify command s.t. os envs not passed through to container envs and instead add a flag for this purpose#8557
aaron-prindle merged 1 commit intoGoogleContainerTools:mainfrom
aaron-prindle:fix-7945

Conversation

@aaron-prindle
Copy link
Copy Markdown
Contributor

fixes #7945

@aaron-prindle aaron-prindle force-pushed the fix-7945 branch 3 times, most recently from f334185 to 3257d0c Compare March 17, 2023 00:17
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 17, 2023

Codecov Report

Merging #8557 (c682a45) into main (290280e) will decrease coverage by 6.18%.
The diff coverage is 54.32%.

@@            Coverage Diff             @@
##             main    #8557      +/-   ##
==========================================
- Coverage   70.48%   64.30%   -6.18%     
==========================================
  Files         515      608      +93     
  Lines       23150    30441    +7291     
==========================================
+ Hits        16317    19576    +3259     
- Misses       5776     9397    +3621     
- Partials     1057     1468     +411     
Impacted Files Coverage Δ
cmd/skaffold/app/cmd/completion.go 13.04% <0.00%> (-1.25%) ⬇️
cmd/skaffold/app/cmd/config/list.go 65.21% <ø> (ø)
cmd/skaffold/app/cmd/config/set.go 88.72% <ø> (ø)
cmd/skaffold/app/cmd/config/util.go 54.28% <ø> (ø)
cmd/skaffold/app/cmd/credits.go 100.00% <ø> (ø)
cmd/skaffold/app/cmd/credits/export.go 0.00% <0.00%> (ø)
cmd/skaffold/app/cmd/deploy.go 40.90% <0.00%> (-12.94%) ⬇️
cmd/skaffold/app/cmd/generate_pipeline.go 60.00% <ø> (ø)
cmd/skaffold/app/cmd/inspect_modules.go 65.00% <ø> (ø)
cmd/skaffold/app/cmd/inspect_profiles.go 66.66% <ø> (ø)
... and 38 more

... and 386 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

}

// WithLogFile returns a file to write the deploy output to, and a function to be executed after the deploy step is complete.
func WithLogFile(filename string, out io.Writer, muted Muted) (io.Writer, func(), error) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we are not using this function anywhere (except from the tests), is this something for an upcoming change? Or is ok to remove it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

removed now

…ner envs and instead add a flag for this purpose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skaffold verify overrides container's env with host's env

2 participants