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

oci-copy: rework SBOM generation, support SPDX #1816

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

chmeliik
Copy link
Contributor

@chmeliik
Copy link
Contributor Author

Uses my build of the sbom-utility-image for now. konflux-ci/build-tasks-dockerfiles#226 will need to be merged first.

@ralphbean would you be able to test this?

Copy link
Contributor Author

@chmeliik chmeliik left a comment

Choose a reason for hiding this comment

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

task/oci-copy/0.1/oci-copy.yaml Outdated Show resolved Hide resolved
ralphbean
ralphbean previously approved these changes Jan 24, 2025
Copy link
Member

@ralphbean ralphbean left a comment

Choose a reason for hiding this comment

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

Looks good, apart from the stray image: references.

Use scripts from https://github.com/konflux-ci/build-tasks-dockerfiles
instead of the previous bash script.

Signed-off-by: Adam Cmiel <[email protected]>
Add SBOM_TYPE param to allow choosing the SBOM format to generate.
Defaults to cyclonedx for now.

Signed-off-by: Adam Cmiel <[email protected]>
@chmeliik
Copy link
Contributor Author

Rebased on main, updated to released sbom-utility-scripts image

@chmeliik
Copy link
Contributor Author

Re-tested in ralphbean/merlinite-poc#17, still works

@chmeliik
Copy link
Contributor Author

/retest

2 similar comments
@chmeliik
Copy link
Contributor Author

/retest

@chmeliik
Copy link
Contributor Author

/retest

@chmeliik
Copy link
Contributor Author

Failing on the EC pipeline

The PipelineRun ec-integration-test-scenario-run-6gmmr in namespace build-templates-e2e has status.conditions ...

Which has happened at least twice now, but I was too late to see the logs and Tekton Results doesn't have the PipelineRun either 😞

@chmeliik
Copy link
Contributor Author

/retest

@chmeliik
Copy link
Contributor Author

e2e-tests seem to be failing on this check, somehow https://github.com/konflux-ci/e2e-tests/blob/a0231e68fa09297514a239bbeb287a3e7d3811f8/tests/build/build_templates.go#L664.

I'm fairly certain that's unrelated to the changes here, the oci-copy task doesn't have e2e tests anyway.

@mmorhun mmorhun merged commit c516e12 into konflux-ci:main Jan 28, 2025
15 of 16 checks passed
@chmeliik chmeliik deleted the oci-copy-spdx branch January 28, 2025 09:34
@chmeliik
Copy link
Contributor Author

Force-merging to avoid e2e-tests blocking the SPDX progress

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