Skip to content

ci: migrate Maven Central tag release publishing to OSS Exit Gate - #476

Open
zarturod wants to merge 1 commit into
google:masterfrom
zarturod:chore/oss-exit-gate-migration
Open

zarturod wants to merge 1 commit into
google:masterfrom
zarturod:chore/oss-exit-gate-migration

Conversation

@zarturod

@zarturod zarturod commented Nov 7, 2026

Copy link
Copy Markdown

Summary

Migrates tag-triggered release publishing for com.android.volley:volley and com.android.volley:volley-cronet in .github/workflows/gradle-build.yaml to publish through Google's OSS Exit Gate (volley/mavencentral).

Changes

  • Keeps build (verifyGoogleJavaFormat build connectedCheck) and master snapshot publishing untouched with contents: read only (so PR builds never request id-token: write).
  • Extracts tag release publishing into publish-release (if: github.repository == 'google/volley' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/'), needs: build, permissions: { contents: read, id-token: write }) with 40-character SHA-pinned actions.
  • Preserves in-memory PGP signing (SIGNING_KEY / SIGNING_PASSWORD) and publishToMavenLocal + gmaven-release-bundle artifact upload, stages signed release artifacts via an ephemeral Gradle --init-script (publishAllPublicationsToExitGateArtifactRegistryRepository) to https://us-maven.pkg.dev/oss-exit-gate-prod/volley--mavencentral, and uploads manifest.json to gs://oss-exit-gate-prod-projects-bucket/volley/mavencentral/manifests/.

Verification (Step 8 Production Smoke Test)

  • Production onboarding config (volley/mavencentral, http://cl/1015459300) and Terraform provisioning (http://cl/1015471711) are live.
  • End-to-end Artifact Registry Maven staging (com.android.volley:volley@1.2.2-rc2 .pom + .aar HTTP 201) and GCS manifest upload (HTTP 200) verified.

Refs: b/582483814, b/576680589

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant