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: add builder id tests for short form #455

Merged
merged 3 commits into from
Jan 26, 2023

Conversation

asraa
Copy link
Contributor

@asraa asraa commented Jan 25, 2023

Signed-off-by: Asra Ali asraa@google.com

Fixes #440

This adds back in the commented out tests for testing the short form of the builder ID for GHA artifacts and images builder@TAG. The tests were failing because they set allowRef = false, but for GHA, the builder identity returned is always in long form, meaning that we have to allow the short form matches in the test (which is also done in the code path:

// so we pass `allowRef = true`.
)

cc @laurentsimon

Signed-off-by: Asra Ali <asraa@google.com>
@laurentsimon
Copy link
Contributor

Good catch!

@asraa asraa merged commit 2444233 into slsa-framework:main Jan 26, 2023
ramonpetgrave64 pushed a commit to ramonpetgrave64/slsa-verifier that referenced this pull request Apr 18, 2024
* Rename upload-to-release input to upload-assets

* Add upload-assets input to doc

Co-authored-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
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.

[test] Cleanup builder-id in main_regression_test
2 participants