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

feat: gradle e2e at repo root #323

Conversation

ramonpetgrave64
Copy link
Collaborator

@ramonpetgrave64 ramonpetgrave64 commented Feb 16, 2024

Adds gradle e2e tests where the project root is also the repository root, to confirm the new fixes in
slsa-framework/slsa-github-generator#3250
The same gradle files at e2e/gradle/workflow_dispatch have been copied tot he repository root.

Testing

I could not get this new Action to work on my own fork. It , but I believe we would followup with a fix to the test or revert this PR if it fails.

Verifying artifact build/libs/example-package-0.1.87.jar: FAILED: invalid ref: "refs/heads/main": unexpected ref type: "heads"
FAILED: SLSA verification failed: invalid ref: "refs/heads/main": unexpected ref type: "heads"
✖ 1 == 0 :: not main default parameters (annotated_tags)

Signed-off-by: Ramon Petgrave <ramon.petgrave64@gmail.com>
Signed-off-by: Ramon Petgrave <ramon.petgrave64@gmail.com>
@ramonpetgrave64
Copy link
Collaborator Author

@laurentsimon @ianlewis

@mihaimaruseac mihaimaruseac merged commit b0b5eec into slsa-framework:main Feb 17, 2024
4 checks passed
Copy link
Member

@ianlewis ianlewis left a comment

Choose a reason for hiding this comment

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

@laurentsimon
Copy link
Collaborator

seems to be working https://github.com/slsa-framework/example-package/actions/runs/7961521799. thanks!

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.

None yet

4 participants