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

Add a buildah task step that generates base images sbom #862

Merged
merged 4 commits into from
Apr 4, 2024

Conversation

mkosiarc
Copy link
Contributor

@mkosiarc mkosiarc commented Mar 6, 2024

This steps uses a python script for creating the sbom
https://github.com/redhat-appstudio/build-tasks-dockerfiles/tree/main/base-images-sbom-script

It expects 3 arguments:

  1. path to the sbom file that will be updated in place with base images data
  2. path to a file containing base images as taken from from the dockerfile (with preserved order)
  3. path to a file containing base images with digests, generated from the output of buildah images --format '{{ .Name }}:{{ .Tag }}@{{ .Digest }}'.
    The dockerfile order must be preserved as well

For more information, please read the script README

STONEBLD-2042

@mkosiarc mkosiarc changed the title Add a buildah task step that generates base images sbom DRAFT: Add a buildah task step that generates base images sbom Mar 6, 2024
@mkosiarc mkosiarc marked this pull request as draft March 6, 2024 11:48
@mkosiarc mkosiarc changed the title DRAFT: Add a buildah task step that generates base images sbom Add a buildah task step that generates base images sbom Mar 6, 2024
@mkosiarc mkosiarc force-pushed the parent-sboms branch 3 times, most recently from 9d72f4e to 5b02898 Compare March 15, 2024 09:00
@mkosiarc mkosiarc marked this pull request as ready for review March 15, 2024 09:00
@mkosiarc mkosiarc force-pushed the parent-sboms branch 3 times, most recently from 87efd6e to d97c156 Compare March 15, 2024 09:06
@mkosiarc
Copy link
Contributor Author

/retest

13 similar comments
@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc mkosiarc force-pushed the parent-sboms branch 3 times, most recently from 4999ae1 to 437796b Compare March 20, 2024 09:38
@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc mkosiarc force-pushed the parent-sboms branch 2 times, most recently from c7d8601 to 50e8dd5 Compare March 22, 2024 11:50
@mkosiarc
Copy link
Contributor Author

/retest

11 similar comments
@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

/retest

@mkosiarc
Copy link
Contributor Author

mkosiarc commented Apr 3, 2024

/retest

@mkosiarc
Copy link
Contributor Author

mkosiarc commented Apr 3, 2024

/retest

This steps uses a python script for creating the sbom
https://github.com/redhat-appstudio/build-tasks-dockerfiles/tree/main/base-images-sbom-script

It expects 3 arguments:
1. path to the sbom file that will be updated in place with base images data
2. path to a file containing base images as taken from from the dockerfile (with preserved order)
3. path to a file containing base images with digests, generated from the output of buildah images --format '{{ .Name }}:{{ .Tag }}@{{ .Digest }}'.
The dockerfile order must be preserved as well

For more information, please read the script README

STONEBLD-2042
@mkosiarc
Copy link
Contributor Author

mkosiarc commented Apr 3, 2024

/retest

1 similar comment
@mkosiarc
Copy link
Contributor Author

mkosiarc commented Apr 3, 2024

/retest

@mkosiarc
Copy link
Contributor Author

mkosiarc commented Apr 3, 2024

/retest

2 similar comments
@mkosiarc
Copy link
Contributor Author

mkosiarc commented Apr 3, 2024

/retest

@mkosiarc
Copy link
Contributor Author

mkosiarc commented Apr 3, 2024

/retest

Copy link

sonarqubecloud bot commented Apr 3, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@mkosiarc
Copy link
Contributor Author

mkosiarc commented Apr 4, 2024

/retest

@mkosiarc mkosiarc merged commit c000d54 into konflux-ci:main Apr 4, 2024
6 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.

3 participants