Skip to content

Conversation

@AdamKorcz
Copy link
Contributor

Closes #2369

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.

Thanks @AdamKorcz Looking pretty good. Just a few nits and we should be ready to merge.

@laurentsimon
Copy link
Collaborator

@AdamKorcz please ping when the comments are resolved. I don't always know when I should re-review. Thanks!

@AdamKorcz
Copy link
Contributor Author

@laurentsimon @ianlewis This one should be ready to review again. Note that this uses a plugin that hashes the artifacts and creates the json. Ideally this should be hosted at a slsa-framework-owned Maven Central repository account.

@AdamKorcz AdamKorcz force-pushed the maven-publisher-to-action branch 2 times, most recently from f652d2d to 6e4ee0e Compare July 31, 2023 23:02
@AdamKorcz
Copy link
Contributor Author

Ready for another round of review except for #2482 (comment).

AdamKorcz and others added 15 commits August 1, 2023 12:06
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
* Create JarfileHashMojo.java

Signed-off-by: AdamKorcz <[email protected]>

* Create pom.xml

Signed-off-by: AdamKorcz <[email protected]>

* Update action.yml

Signed-off-by: AdamKorcz <[email protected]>

* Update action.yml

Signed-off-by: AdamKorcz <[email protected]>

* Update action.yml

Signed-off-by: AdamKorcz <[email protected]>

* Update action.yml

Signed-off-by: AdamKorcz <[email protected]>

* Update action.yml

Signed-off-by: AdamKorcz <[email protected]>

* Delete JarfileHashMojo.java

Signed-off-by: AdamKorcz <[email protected]>

* Delete pom.xml

Signed-off-by: AdamKorcz <[email protected]>

* Update action.yml

Signed-off-by: AdamKorcz <[email protected]>

* Update action.yml

Signed-off-by: AdamKorcz <[email protected]>

* Update README.md

Signed-off-by: AdamKorcz <[email protected]>

* Update action.yml

Signed-off-by: AdamKorcz <[email protected]>

* Update README.md

Signed-off-by: AdamKorcz <[email protected]>

* Update README.md

Signed-off-by: AdamKorcz <[email protected]>

---------

Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Co-authored-by: Ian Lewis <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Co-authored-by: Ian Lewis <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
@AdamKorcz
Copy link
Contributor Author

@laurentsimon @ianlewis Please check again.

SLSA_DIR: "${{ inputs.provenance-download-name }}"
PROVENANCE_FILES: "${{ inputs.provenance-download-name }}"
run: |
cd __BUILDER_CHECKOUT_DIR__/actions/maven/publish/slsa-hashing-plugin && mvn clean install && cd -
Copy link
Collaborator

Choose a reason for hiding this comment

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

better to mve this to ../ to keep the git tree clean (some tools check for that), but we can do that later.

Signed-off-by: laurentsimon <[email protected]>
Signed-off-by: laurentsimon <[email protected]>
uses: slsa-framework/slsa-github-generator/.github/actions/secure-builder-checkout@main
with:
repository: slsa-framework/slsa-github-generator
ref: v1.8.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

@AdamKorcz fyi I updated this to v1.8.0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@laurentsimon is this expected to work right now?

Copy link
Collaborator

Choose a reason for hiding this comment

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

no its not. It will only work after the release. I'll work on #2508 to be sure we don't forget

@laurentsimon laurentsimon enabled auto-merge (squash) August 1, 2023 21:57
@laurentsimon laurentsimon merged commit a594a20 into slsa-framework:main Aug 1, 2023
laurentsimon pushed a commit that referenced this pull request Aug 1, 2023
@AdamKorcz AdamKorcz deleted the maven-publisher-to-action branch August 4, 2023 11:25
enteraga6 pushed a commit to enteraga6/slsa-github-generator that referenced this pull request Aug 8, 2023
Closes
slsa-framework#2369

---------

Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: AdamKorcz <[email protected]>
Signed-off-by: laurentsimon <[email protected]>
Co-authored-by: Ian Lewis <[email protected]>
Co-authored-by: laurentsimon <[email protected]>
Signed-off-by: Noah Elzner <[email protected]>
enteraga6 pushed a commit to enteraga6/slsa-github-generator that referenced this pull request Aug 8, 2023
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.

[feature] Maven builder publish Action

3 participants