Skip to content

ci(tpu-info): migrate production PyPI publishing to OSS Exit Gate - #14

Open
zarturod wants to merge 1 commit into
AI-Hypercomputer:mainfrom
zarturod:chore/oss-exit-gate-migration
Open

zarturod wants to merge 1 commit into
AI-Hypercomputer:mainfrom
zarturod:chore/oss-exit-gate-migration

Conversation

@zarturod

@zarturod zarturod commented Nov 7, 2026

Copy link
Copy Markdown

Summary

Migrates production tpu-info PyPI publishing in the publish-pypi job of .github/workflows/release.yml to publish through Google's OSS Exit Gate (tpu-info/pypi). test-and-build and publish-testpypi dry-run jobs remain unchanged.

Changes

  • Scopes publish-pypi permissions to contents: read and id-token: write, and pins added GitHub Actions to 40-character commit SHAs.
  • Authenticates via Google Cloud Workload Identity Federation (projects/305452601764/locations/global/workloadIdentityPools/builders/providers/github).
  • Stages built tpu-info distributions (dist/*) to https://us-python.pkg.dev/oss-exit-gate-prod/tpu-info--pypi/ and uploads manifest.json to gs://oss-exit-gate-prod-projects-bucket/tpu-info/pypi/manifests/ to trigger the OSS Exit Gate PyPI release pipeline.

Verification (Step 8 Production Smoke Test)

  • Production onboarding config (tpu-info/pypi, http://cl/1015460430) and Terraform provisioning (http://cl/1015480523) are live.
  • End-to-end Artifact Registry PyPI staging (tpu-info==0.14.2, HTTP 200) and GCS manifest upload (HTTP 200) verified.

Refs: b/582363131, b/576680589

@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

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.

2 participants