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

test: Additional E2E tests for skinny image manifest type #1103

Merged

Conversation

jonathanchristison
Copy link
Contributor

This PR adds an additional two images to check with E2E tests, the test input json is now an array as opposed to multiple payloads in separate files.

This test would of originally failing due to alternative image manifest types (non-fat manifest) not being handled by the tekton inspect tasks, this simply tests for regression.

What I'm not sure on

  • If we actually need two additional image?
    • These where the original generations in the bug
    • There is also additional images that where used during testing but removed (internal url references), these fail later for a different reason
  • If we only have one image to test is it worth keeping the @ParameterizedTest? The only advantage I can think of is if we find something similar in future and a list of images is easier

Copy link
Contributor

@goldmann goldmann left a comment

Choose a reason for hiding this comment

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

@jonathanchristison Can you please format commit messages according to https://www.conventionalcommits.org/en/v1.0.0/?

Add additional E2E tests for "skinny" manifest images, additionally this
type of image manifest failed at the inspect step but now fails in
generation step, `org.jbo.sbo.cli.fea.sbo.adj.SyftImageAdjuster` where a
version label is expected. Previous tests like madrel still manage to
pass in tekton
@jonathanchristison jonathanchristison force-pushed the sbomer280_additional_e2e_tests branch from 76de613 to e2ab621 Compare February 3, 2025 13:09
@jonathanchristison jonathanchristison changed the title Fix: Additional E2E tests for skinny image manifest type test: Additional E2E tests for skinny image manifest type Feb 3, 2025
@goldmann goldmann merged commit c2771d0 into project-ncl:main Feb 5, 2025
7 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.

2 participants