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 simple test for Maven builder #253

Merged
merged 61 commits into from
Aug 14, 2023

Conversation

AdamKorcz
Copy link
Contributor

Adds a simple test for the Maven builder.

@laurentsimon

Signed-off-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>
pom.xml Outdated Show resolved Hide resolved
.github/workflows/e2e.maven.push.main.default.slsa3.yml Outdated Show resolved Hide resolved
.github/workflows/e2e.maven.push.main.default.slsa3.yml Outdated Show resolved Hide resolved
@AdamKorcz AdamKorcz marked this pull request as draft August 2, 2023 22:07
Signed-off-by: AdamKorcz <adam@adalogics.com>
@AdamKorcz AdamKorcz marked this pull request as ready for review August 3, 2023 17:54
AdamKorcz and others added 2 commits August 4, 2023 01:06
Signed-off-by: AdamKorcz <adam@adalogics.com>
@AdamKorcz
Copy link
Contributor Author

@laurentsimon Could you have a look at the assertions I have added?

.github/workflows/scripts/e2e.maven.default.verify.sh Outdated Show resolved Hide resolved
.github/workflows/scripts/e2e.maven.default.verify.sh Outdated Show resolved Hide resolved
e2e/maven/pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
Signed-off-by: AdamKorcz <adam@adalogics.com>
@AdamKorcz
Copy link
Contributor Author

@laurentsimon @ianlewis Please have another look.

Copy link
Collaborator

@laurentsimon laurentsimon left a comment

Choose a reason for hiding this comment

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

LGTM. Let's wait for final comment from @ianlewis , especially the one on bootstrap needs.

Signed-off-by: AdamKorcz <adam@adalogics.com>
Signed-off-by: AdamKorcz <adam@adalogics.com>
Signed-off-by: AdamKorcz <adam@adalogics.com>
Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
fix some linters

Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
try fix other linter

Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
@laurentsimon
Copy link
Collaborator

@ianlewis take a final look. i think we're ready to merge

@AdamKorcz
Copy link
Contributor Author

AdamKorcz commented Aug 10, 2023

Thanks @laurentsimon!

@laurentsimon
Copy link
Collaborator

I pushed some changes to your branch. Just fyi in case you want to edit the code, don't forget to pull

AdamKorcz and others added 5 commits August 14, 2023 10:39
Co-authored-by: Ian Lewis <ianlewis@google.com>
Signed-off-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>
Co-authored-by: Ian Lewis <ianlewis@google.com>
Signed-off-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>
Co-authored-by: Ian Lewis <ianlewis@google.com>
Signed-off-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>
Co-authored-by: Ian Lewis <ianlewis@google.com>
Signed-off-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>
Co-authored-by: Ian Lewis <ianlewis@google.com>
Signed-off-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>
@ianlewis ianlewis merged commit 6d0902f into slsa-framework:main Aug 14, 2023
3 of 4 checks passed
laurentsimon added a commit to slsa-framework/slsa-github-generator that referenced this pull request Aug 15, 2023
Adds another `input` for the Maven builder to allow the user to specify
the project directory. The current problem this solves is to make
slsa-framework/example-package#253 work.

This was suggested by @laurentsimon in
slsa-framework/example-package#253 (comment)

---------

Signed-off-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>
Signed-off-by: AdamKorcz <adam@adalogics.com>
Signed-off-by: laurentsimon <64505099+laurentsimon@users.noreply.github.com>
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.

None yet

3 participants