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

feat: add namespace arg when producing doc #588

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

rchincha
Copy link
Contributor

Currently, stacker-bom doesn't include namespace information in the document. Adding a cmdline arg to do so.

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@hallyn hallyn left a comment

Choose a reason for hiding this comment

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

This is a cli-usage-breaking change, so it's fine so long as it's just an internal tool. Otherwise you should probably at least add the expected arguments in a usage statement.

Currently, stacker-bom doesn't include namespace information in the
document. Adding a cmdline arg to do so.

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
Copy link

codecov bot commented Jan 26, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (710a944) 13.02% compared to head (f4176e0) 57.15%.
Report is 1 commits behind head on main.

Files Patch % Lines
pkg/types/layer.go 0.00% 2 Missing and 1 partial ⚠️
cmd/stacker/bom.go 66.66% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #588       +/-   ##
===========================================
+ Coverage   13.02%   57.15%   +44.13%     
===========================================
  Files          40       64       +24     
  Lines        6059     7525     +1466     
===========================================
+ Hits          789     4301     +3512     
+ Misses       5138     2481     -2657     
- Partials      132      743      +611     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rchincha rchincha merged commit f53ad86 into project-stacker:main Jan 26, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants