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

Generate lifecycle sbom #944

Merged

Conversation

omocquais-p
Copy link
Contributor

@omocquais-p omocquais-p commented Oct 27, 2022

@codecov
Copy link

codecov bot commented Oct 27, 2022

Codecov Report

Merging #944 (0285d03) into main (5a4df34) will decrease coverage by 0.12%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #944      +/-   ##
==========================================
- Coverage   66.18%   66.06%   -0.11%     
==========================================
  Files          84       84              
  Lines        5813     5872      +59     
==========================================
+ Hits         3847     3879      +32     
- Misses       1579     1600      +21     
- Partials      387      393       +6     
Flag Coverage Δ
os_linux 65.50% <ø> (-0.11%) ⬇️
os_windows 60.19% <ø> (-0.06%) ⬇️
unit 65.50% <ø> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Member

@natalieparellano natalieparellano left a comment

Choose a reason for hiding this comment

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

Amazing work @omocquais-p! It's really exciting to see this come to fruition. I added a couple comments, but overall this is looking to be in good shape.

@omocquais-p omocquais-p force-pushed the generate-lifecycle-sbom branch from 19d78aa to 6f2f3fb Compare November 2, 2022 12:43
@omocquais-p omocquais-p force-pushed the generate-lifecycle-sbom branch 2 times, most recently from 66813dc to 079c8fb Compare November 16, 2022 09:16

e.Logger.Infof("Copying " + component + " SBOM (" + destSbomFilename + ")")
} else {
e.Logger.Warn(sbomFilename + " is missing")
Copy link
Member

Choose a reason for hiding this comment

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

Discussed offline - we can probably do the check earlier and not create the directory if there are no SBOM files.

Signed-off-by: Olivier Mocquais <omocquais@vmware.com>
@omocquais-p omocquais-p force-pushed the generate-lifecycle-sbom branch from 853e92c to 141e1c9 Compare November 18, 2022 12:46
@omocquais-p omocquais-p marked this pull request as ready for review November 18, 2022 14:39
@omocquais-p omocquais-p requested a review from a team as a code owner November 18, 2022 14:39
@jjbustamante jjbustamante self-requested a review November 18, 2022 14:39
Copy link
Member

@natalieparellano natalieparellano left a comment

Choose a reason for hiding this comment

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

@omocquais-p great work, and thank you for the contribution!

Note: IMO Codecov is being too picky here, as the constants are already implicitly tested elsewhere. I don't think we need to add any more tests.

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.

3 participants