Skip to content

ci(release): migrate PyPI publishing to OSS Exit Gate - #7172

Open
alonsopf89 wants to merge 3 commits into
tensorflow:masterfrom
alonsopf89:oss-exit-gate-pypi-migration
Open

alonsopf89 wants to merge 3 commits into
tensorflow:masterfrom
alonsopf89:oss-exit-gate-pypi-migration

Conversation

@alonsopf89

Copy link
Copy Markdown

Summary

Migrates PyPI package publishing in .github/workflows/nightly-release.yml to Google's OSS Exit Gate (tensorboard/pypi) using keyless Workload Identity Federation (OIDC):

  • Authenticates to Google Cloud via google-github-actions/auth@c200f3691d83b41bf9bbd8638997a462592937ed (workload_identity_provider: 'projects/305452601764/locations/global/workloadIdentityPools/builders/providers/github') and google-github-actions/setup-gcloud@e427ad8a34f8676edf47cf7d7925499adf3eb74f.
  • Cleans up any stale artifacts in the staging Artifact Registry repository (tensorboard--pypi) prior to uploading.
  • Stages built distributions to Artifact Registry (https://us-python.pkg.dev/oss-exit-gate-prod/tensorboard--pypi/) and uploads manifest.json ({"publish_all": true}) to gs://oss-exit-gate-prod-projects-bucket/tensorboard/pypi/manifests/ to trigger downstream PyPI release.

Internal Reference (for Google maintainers):

  • Documentation & Migration Guide: http://go/oss-exit-gate (internal to google3)
  • Buganizer Tracking Issue: b/579650359 (Parent Epic: b/576673325)
  • OSS Exit Gate Onboarding Config: configs/security/opensource/exit_gate/prod/projects/tensorboard/pypi/ (Step 6 CL: http://cl/1018181598 | Step 7 Resources CL: http://cl/1018221284)

@google-cla

google-cla Bot commented Nov 10, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@alonsopf89
alonsopf89 force-pushed the oss-exit-gate-pypi-migration branch from 8d7b8c4 to c392676 Compare November 11, 2026 18:38
@alonsopf89
alonsopf89 force-pushed the oss-exit-gate-pypi-migration branch from c392676 to e3df114 Compare November 11, 2026 18:52
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