Modernize release process with cargo-dist, cosign signing, and automation#28
Closed
martinemde wants to merge 8 commits intomainfrom
Closed
Modernize release process with cargo-dist, cosign signing, and automation#28martinemde wants to merge 8 commits intomainfrom
martinemde wants to merge 8 commits intomainfrom
Conversation
Uses sigstore/cosign-installer@v3 with keyless signing via GitHub OIDC. Both upload-mac-universal-bin and upload-linux-bin jobs now: - Install cosign - Sign release artifacts with cosign sign-blob - Upload .sig signature files alongside tarballs Artifacts signed: - pks-mac.tar.gz (macOS universal) - x86_64-unknown-linux-gnu.tar.gz - aarch64-unknown-linux-gnu.tar.gz
Integrates cargo-audit into the CI workflow as a required check that must pass before releases can proceed. Also updates the standalone audit.yml to use modern cargo-audit tooling instead of the deprecated actions-rs/audit-check action. - Add security-audit job to ci.yml - Make release job depend on security-audit passing - Update audit.yml to use cargo-audit directly with actions/checkout@v4
- Add release-plz.yml workflow that creates release PRs with version bumps and changelog updates from conventional commits - Add release-binaries.yml workflow triggered on release publish to build and upload macOS/Linux binaries and DotSlash files - Update ci.yml to remove manual release logic (now handled by release-plz) and upgrade checkout actions to v4 - Add release-plz.toml config for changelog generation without crates.io publishing
Configure cross-platform release builds targeting x86_64/aarch64 for Linux and macOS, with shell and PowerShell installers. GitHub Actions workflow will trigger on version tags.
* polecat/slit-mk4fwcm9: Initialize cargo-dist for automated binary distribution
* polecat/furiosa-mk4fvdy1: Add cosign binary signing to GitHub Actions release workflow
* polecat/nux-mk4fvufs: Add cargo-audit security scanning as release gate
…ct: kept full ci.yml with cosign+audit)
Contributor
Author
|
Too big, broken into other PRs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR modernizes the PKS release process with:
Changes
.github/workflows/release.yml.github/workflows/audit.yml.github/workflows/release-plz.yml.github/workflows/release-binaries.yml.github/workflows/ci.ymldist-workspace.tomlrelease-plz.tomlCargo.tomlTest plan
Phase 1 of PKS Release Process Modernization
This completes the "Modern Release Tools Setup" and "Security Foundation" epics. Phase 2 (Release Automation Migration) will migrate from custom release logic to cargo-dist automation.