Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[release/8.0] Fix SBoM generation #15603

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

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

garath
Copy link
Member

@garath garath commented Mar 6, 2025

Same as #15578 but for the release/8.0 branch.

1ES templates generates SBoM's for all artifacts uploaded - only issue is it does it in the root of the artifact that's uploaded inside the _manifest folder. If there's a manifest in the uploaded artifact, it will clobber the SBOM with an SBOM for the SBOM. The quick and dirty solution for now: generate the SBoM in a subdirectory of the upload root.

@garath garath changed the title Fix SBoM generation [release/8.0] Fix SBoM generation Mar 6, 2025
@@ -38,6 +38,7 @@ parameters:
enableSbom: true
PackageVersion: 7.0.0
BuildDropPath: '$(Build.SourcesDirectory)/artifacts'
ManifestDirPath: $(Build.ArtifactStagingDirectory)/sbom
Copy link
Member

Choose a reason for hiding this comment

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

nit: nothing is really using this

Copy link
Member

Choose a reason for hiding this comment

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

The original change was passign it down to the sbom step. This is not needed for correctness and it's fine to leave out of servicing changes

@hoyosjs hoyosjs merged commit 4b23ca9 into dotnet:release/8.0 Mar 7, 2025
11 checks passed
akoeplinger added a commit that referenced this pull request Mar 14, 2025
#15603 accidentally removed parts of the line, causing errors when running the script.
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