Conversation
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
Pushing an RC tag such as
v0.7.3-rc.1builds its source archive, generates a SHA-512 checksum, signs it with the ASF project key, and uploads the three release files through apache/tooling-actions/upload-to-atr.Pull requests changing
release-compose.ymlor.asf.yamlrun packaging checks against the PR checkout and skip signing and uploading.Design Notes
vX.Y.Z-rc.Ntag convention. Read the release version from the tag, require it to matchasyncband/Cargo.toml, and verify the checked-out tag commit belongs to main, as the existing crate release workflow does.git archive | gzip -n -9, fixed archive permissions, and no gzip filename or timestamp. Archive the tag's exact commit and record the tag, commit, and checksum in the workflow summary..tar.gz,.tar.gz.asc, and.tar.gz.sha512under ATR versionX.Y.Z; each upload creates a new revision. Record that revision alongside the RC tag before voting. Retry failed upload jobs with the existing signed artifact after inspecting ATR's state..asf.yamlregisters the repository and compose workflow path for tag-triggered uploads. Voting, final publication, and the existing crates.io workflow are unchanged.For the Trusted Publishing signing-key application, submit this pipeline for ASF Security's reproducibility confirmation and request a key with a UID such as
Asyncband Automated Release Signing <private@asyncband.apache.org>. Configure:GPG_SECRET_KEY: ASCII-armored private key provisioned by ASF Infrastructure.SOURCE_SIGNING_FINGERPRINT: full uppercase primary-key fingerprint.GPG_PASSPHRASE: passphrase if the supplied key is protected.Publish the public key through the existing project
KEYSmanagement and confirm ATR imports it and applies the compose policy.Validation: executed the packaging script against the existing annotated
v0.7.2-rc.1tag in a disposable Linux environment and verified its archived source, version, and checksum. PR packaging, invalid RC tags, manifest mismatch, checkout/tag mismatch, and unmerged candidate rejection pass. Temporary-key signing, detached verification, and keyring cleanup pass.actionlint,cargo x lint, andgit diff --checkpass. Actual ATR upload awaits the project signing key and live trust configuration.Related to #303.