Skip to content

feat: add new inspect namespaces list command to skaffold#8309

Merged
aaron-prindle merged 1 commit into
GoogleContainerTools:mainfrom
aaron-prindle:fix-8191
Jan 12, 2023
Merged

feat: add new inspect namespaces list command to skaffold#8309
aaron-prindle merged 1 commit into
GoogleContainerTools:mainfrom
aaron-prindle:fix-8191

Conversation

@aaron-prindle

Copy link
Copy Markdown
Contributor

fixes #8191

@aaron-prindle aaron-prindle force-pushed the fix-8191 branch 4 times, most recently from 4564147 to 5b7c494 Compare January 12, 2023 05:51
@codecov

codecov Bot commented Jan 12, 2023

Copy link
Copy Markdown

Codecov Report

Merging #8309 (436da8d) into main (290280e) will decrease coverage by 4.40%.
The diff coverage is 54.85%.

@@            Coverage Diff             @@
##             main    #8309      +/-   ##
==========================================
- Coverage   70.48%   66.08%   -4.41%     
==========================================
  Files         515      605      +90     
  Lines       23150    29654    +6504     
==========================================
+ Hits        16317    19596    +3279     
- Misses       5776     8590    +2814     
- 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 415 more

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

@aaron-prindle aaron-prindle marked this pull request as ready for review January 12, 2023 08:10
@aaron-prindle aaron-prindle force-pushed the fix-8191 branch 6 times, most recently from 9e1ef67 to b2f12f2 Compare January 12, 2023 20:43

func cmdNamespaces() *cobra.Command {
return NewCmd("namespaces").
WithDescription("View skaffold test information").

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 this is the description from skaffold inspect tests, do we need to change it for skaffold inspect namespaces?

@aaron-prindle aaron-prindle Jan 12, 2023

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.

Good catch thanks, updated now

@aaron-prindle aaron-prindle force-pushed the fix-8191 branch 2 times, most recently from a8eba58 to fb9ef23 Compare January 12, 2023 21:21
description: "print all deployment namespaces where no namespace is set in manifest(s) or deploy config",
manifest: manifest,
expected: `{"resourceToInfoMap":{"apps/v1, Kind=Deployment":[{"name":"leeroy-app","namespace":"default"}]}}` + "\n",
// expected: `` + "\n",

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.

Can we remove this?

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.

Ah good catch sorry. Removed now

@aaron-prindle aaron-prindle merged commit a90690b into GoogleContainerTools:main Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants