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

github-actions: enable provenance for the jar files #250

Merged
merged 3 commits into from
Apr 24, 2024
Merged

Conversation

v1v
Copy link
Member

@v1v v1v commented Apr 23, 2024

What does this PR do?

Enable the provenance for the jar files generated in Buildkite using the GitHub provenance action.

Test

I tested it in here using a test feature branch, and it produced these attestations:

Similar to elastic/apm-agent-java#3594

@v1v v1v self-assigned this Apr 23, 2024
@v1v v1v marked this pull request as ready for review April 23, 2024 16:04
@v1v v1v requested review from a team April 23, 2024 16:04
reakaleek
reakaleek previously approved these changes Apr 24, 2024
.ci/release.sh Outdated
@@ -38,3 +38,6 @@ fi

echo "--- Release the binaries to Maven Central :maven: [./mvnw ${GOAL})] ${DRY_RUN_MSG}"
./mvnw -V -s .ci/settings.xml -Pgpg clean $GOAL -DskipTests --batch-mode | tee release.txt

echo "--- Archive the target folder with jar files"
find . -type d -name target -exec find {} -name '*.jar' -print0 \; | xargs -0 tar -cvf "${TARBALL_FILE:-dist.tar}"
Copy link
Member

Choose a reason for hiding this comment

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

Use .ci/published-artifacts-list.sh script added in #251.

.ci/snapshot.sh Outdated Show resolved Hide resolved
v1v added 2 commits April 24, 2024 16:31
* upstream/main:
  add script to get published artifacts (#251)
@SylvainJuge SylvainJuge enabled auto-merge (squash) April 24, 2024 14:39
@SylvainJuge SylvainJuge merged commit c084216 into main Apr 24, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants