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

ci(release): Rework python package build/publish steps #442

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

gfieni
Copy link
Contributor

@gfieni gfieni commented Oct 15, 2024

PR overview:

  • Separate the Python package build and publish steps into two jobs ;
  • Build PowerAPI wheel and sdist using uv ;
  • Upload generated wheel and sdist as GitHub Actions artifacts ;
  • Add generation of SLSA provenance attestation for the build artifacts ;
  • Upload wheel, sdist and SLSA provenance attestation to the GitHub release assets.

Separate the python package build and publish steps in order to secure
against arbitrary code that could be executed by a build dependency.
Thanks to this, we can now generate SLSA provenance attestations for the
generated build artifacts and upload them as release assets.
@gfieni gfieni added the enhancement New feature or request label Oct 15, 2024
@gfieni gfieni requested a review from a team as a code owner October 15, 2024 11:52
Copy link

sonarcloud bot commented Oct 15, 2024

@gfieni gfieni merged commit b5914fb into master Oct 15, 2024
9 checks passed
@gfieni gfieni deleted the ci/rework-release-python-build branch October 15, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant