ci: opt-in Apache Trusted Releases (ATR) Alpha 3 automation - #16229
Draft
jamesfredley wants to merge 1 commit into
Draft
ci: opt-in Apache Trusted Releases (ATR) Alpha 3 automation#16229jamesfredley wants to merge 1 commit into
jamesfredley wants to merge 1 commit into
Conversation
Map ASF Tooling Actions onto Grails release MANUAL steps without replacing the default dist/dev plus Nexus path. Experimental ATR Alpha 3 workflows cover compose, vote resolve, one announce@apache.org announcement, and Maven distribution recording. Add a protected workflow_dispatch to promote a closed Nexus staging repository, matching the Apache Polaris TLP post-vote GitHub Actions precedent. Document ASF policy and TLP citations for what stays manual: the 72-hour PMC vote, dist/release SVN, Reporter, and extra announcement lists.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 8.0.x #16229 +/- ##
=============================================
Coverage 54.1488% 54.1488%
+ Complexity 20258 20257 -1
=============================================
Files 2098 2098
Lines 100920 100920
Branches 17898 17898
=============================================
Hits 54647 54647
Misses 38484 38484
Partials 7789 7789 🚀 New features to boost your workflow:
|
🚨 TestLens detected 1 failed test 🚨Here is what you can do:
Test SummaryCI / Functional Tests (Java 21, indy=false) > :grails-test-examples-scaffolding:integrationTest
🏷️ Commit: ae4f3c4 Test FailuresUserControllerSpec > User list (:grails-test-examples-scaffolding:integrationTest in CI / Functional Tests (Java 21, indy=false))Rerun ControlsSelect tests to mute in this pull request:
Reuse successful test results:
Click the checkbox to trigger a rerun:
Learn more about TestLens at testlens.app/docs. |
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
Opt-in GitHub Actions for Apache Trusted Releases Alpha 3 plus one extra MANUAL step we found a TLP already automates. The default
dist/dev+ Nexus staging path is unchanged until the PMC setsATR_ENABLED=trueand configures Trusted Publishing.This is not ATR Beta. Beta is not generally available (tooling-trusted-releases#1520 still open). Host remains
release-test.apache.org. Actions are pinned toapache/tooling-actions@e8594ee9cc5ef5fbb48c367a9ab87042c0ccbbc5.What this automates (with citations)
Release - ATR Upload (experimental)/ optionalatr_uploadjobRelease - ATR Resolve Vote (experimental)[ANNOUNCE]toannounce@apache.orgRelease - ATR Announce (experimental)(once; extra lists stay manual)Release - ATR Record Distribution (experimental)platform=MAVENRelease - Promote Nexus Staging(environment: release)NEXUS_STAGE_DEPLOYER_*secrets Grails already uses to drop staging. Signing in GHA is allowed by https://www.apache.org/legal/release-policy.htmlWhat stays manual (with citations)
dist/dev[VOTE]email so there is only one thread.dist/releaseSVN — https://infra.apache.org/github-actions-policy.html forbids GHA writing official release data without Infra authorization. After the one ATR announce, a committersvn moves exactlydist/atr/grails/core/<version>→dist/release/grails/core/<version>(https://release-test.apache.org/docs/promoting-to-release). Polaris leaves the samesvn mvmanual. Do not runreleaseDistributions.shfor an ATR candidate.dev@grails,users@grails,dev@groovy) — ATR rejects a second announce for the same version.Vote-start must set download path suffix
core/<version>(orcore/{{VERSION}}); the announce path input is compatibility-only.Setup
grails-core(workflow paths listed inRELEASE.md).ATR_ENABLED=trueto also upload from the mainReleaseworkflow.Automated Release Signing <private@grails.apache.org>.7.0.x can be cherry-picked later if wanted. Default line is 8.0.x.
Test plan
validateActionsallowlists the pinnedapache/tooling-actionsSHARELEASE.mdExperimental ATR + "What GitHub Actions may automate"Release - Promote Nexus Stagingisworkflow_dispatch+environment: releaseand is not auto-triggered