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

Create Software Bill of Material (SBOM) as part of the release #22054

Open
wants to merge 1 commit into
base: 5.x-dev
Choose a base branch
from

Conversation

LaurentGoderre
Copy link

Description:

Create an SBOM to include in the release to preserve dependency information.

POC here:
https://github.com/LaurentGoderre/sbom-ci-test
https://github.com/LaurentGoderre/sbom-ci-test/actions/runs/8452612627

Alternative to #22048

Review

@sgiehl sgiehl added the Needs Review PRs that need a code review label Mar 27, 2024
@sgiehl sgiehl requested a review from a team March 27, 2024 14:09
Copy link
Contributor

github-actions bot commented Apr 5, 2024

This issue is in "needs review" but there has been no activity for 7 days. ping @matomo-org/core-reviewers

@github-actions github-actions bot added the Stale The label used by the Close Stale Issues action label Apr 5, 2024
@michalkleiner
Copy link
Contributor

How can we test this? We'd need to merge it and then see what happens on the next release? Or do a draft PR just with the SBOM generation and test that by running the action manually without all the actual release stuff?

@github-actions github-actions bot removed the Stale The label used by the Close Stale Issues action label Apr 17, 2024
Copy link
Contributor

This issue is in "needs review" but there has been no activity for 7 days. ping @matomo-org/core-reviewers

@github-actions github-actions bot added the Stale The label used by the Close Stale Issues action label Apr 24, 2024
@LaurentGoderre
Copy link
Author

@michalkleiner I can do a demo on my fork.

@github-actions github-actions bot removed the Stale The label used by the Close Stale Issues action label Apr 25, 2024
@michalkleiner michalkleiner added the Do not close PRs with this label won't be marked as stale by the Close Stale Issues action label Apr 28, 2024
@LaurentGoderre
Copy link
Author

@michalkleiner I created a release in my fork but the file doesn't make it to the end package

@LaurentGoderre
Copy link
Author

@michalkleiner fixed. You can see it in action here: https://github.com/LaurentGoderre/matomo/releases

@michalkleiner
Copy link
Contributor

Thanks for the link @LaurentGoderre.

I'll put the JSON the tool generates here from one of your release archives. I'm not sure if things like github actions should be included, what can be configured, what should or shouldn't be in the SBOM.

Maybe we need to have a discussion with @matomo-org/core-reviewers on this.

matomo.spdx.json

Copy link
Contributor

github-actions bot commented May 9, 2024

This issue is in "needs review" but there has been no activity for 7 days. ping @matomo-org/core-reviewers

@github-actions github-actions bot added Stale The label used by the Close Stale Issues action and removed Stale The label used by the Close Stale Issues action labels May 9, 2024
Copy link
Contributor

This issue is in "needs review" but there has been no activity for 7 days. ping @matomo-org/core-reviewers

@github-actions github-actions bot added Stale The label used by the Close Stale Issues action and removed Stale The label used by the Close Stale Issues action labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Do not close PRs with this label won't be marked as stale by the Close Stale Issues action Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants