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(ci): add SBOM file to release artifacts #1975

Merged
merged 15 commits into from
May 3, 2024
Merged

feat(ci): add SBOM file to release artifacts #1975

merged 15 commits into from
May 3, 2024

Conversation

addaleax
Copy link
Contributor

@addaleax addaleax commented May 2, 2024

Add generation of purls.txt and Silkbomb-generated sbom.json files to our CI/release infrastructure.

Like the corresponding Compass PR, this PR:

  • Modifies our crypt_shared-library bundling/downloading step so that we store the version of the crypt_shared library we're bundling
  • Generates a list of PURLs and then uses the SilkBomb tool to generate a SBOM file that we can share with DevProd
    (and later turn into its 'augmented' version with vulnerability information)

Unlike the Compass PR, this PR:

  • Bundles the generated sbom.json file in existing release artifacts (i.e. .rpm/.deb/.zip/.tgz files)
  • Introduces a new CI step, combining the partial PURLs file with the PURL (or, rather, a PURL – we'll probably need to clarify how exactly to specify this) for the crypt_shared library while also downloading it (instead of doing that in the other packaging steps)
  • Fixes some existing inaccuracies around crypt_shared library downloading that never surfaced as real issues because we mostly just used the "host" OS/architecture combination for downloading the file (not it always happens on x64 Ubuntu)

@addaleax addaleax added the wip Work in Progress label May 2, 2024
@addaleax addaleax changed the title WIP SBOM feat(ci): add SBOM file to release artifacts May 3, 2024
@addaleax addaleax removed the wip Work in Progress label May 3, 2024
@addaleax addaleax marked this pull request as ready for review May 3, 2024 13:59
@addaleax addaleax merged commit f9a45fa into main May 3, 2024
62 of 64 checks passed
@addaleax addaleax deleted the 1770-dev branch May 3, 2024 17:35
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