Skip to content

ci: migrate npm release workflow to OSS Exit Gate - #963

Closed
alonsopf89 wants to merge 2 commits into
googleworkspace:mainfrom
alonsopf89:oss-exit-gate-migration
Closed

alonsopf89 wants to merge 2 commits into
googleworkspace:mainfrom
alonsopf89:oss-exit-gate-migration

Conversation

@alonsopf89

Copy link
Copy Markdown

Summary

Migrates the `npm` package publishing workflow to **Google OSS Exit Gate** (`go/oss-exit-gate`) using Workload Identity Federation (`google-github-actions/auth@v3`) + Artifact Registry staging (`https://us-npm.pkg.dev/oss-exit-gate-prod/googleworkspace-cli--npm/`) + GCS release manifest upload (`gs://oss-exit-gate-prod-projects-bucket/googleworkspace-cli/npm/manifests/`).

### Key Changes
- **Keyless OIDC Authentication (`google-github-actions/auth@v3`)**: Authenticates via Workload Identity Pool `projects/305452601764/locations/global/workloadIdentityPools/builders/providers/github` (removing the need for long-lived publishing tokens).
- **Artifact Registry Staging**: Publishes release artifacts to the dedicated OSS Exit Gate staging registry (`https://us-npm.pkg.dev/oss-exit-gate-prod/googleworkspace-cli--npm/`).
- **Release Manifest Trigger (`google-github-actions/setup-gcloud@v3`)**: Uploads `manifest.json` (`{"publish_all": true}`) to `gs://oss-exit-gate-prod-projects-bucket/googleworkspace-cli/npm/manifests/` so OSS Exit Gate scans, signs/attests, and publishes the package upstream.

### Onboarding & Verification Context
- **Buganizer Tracking Issues:** `b/576708880`, `b/576673325`
- **Internal Onboarding CLs:** `cl/1004336531, cl/1004943854` (submitted; Smoke Test verified in OSS Exit Gate prod)
- **Maintainers / Recent Workflow Contributors:** cc @jpoehnelt

@changeset-bot

changeset-bot Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 10ab449

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@googleworkspace-bot

Copy link
Copy Markdown
Collaborator

/gemini review

@github-actions

Copy link
Copy Markdown
Contributor

This PR has been inactive for 72 hours. Closing to keep the queue clean.

@github-actions github-actions Bot added the Stale label Oct 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR was closed because it has been stalled for 72 hours. Feel free to magically reopen it if you want to continue working on it!

@github-actions github-actions Bot closed this Oct 27, 2026
@alonsopf89

Copy link
Copy Markdown
Author

Hi @jpoehnelt — the Close Stale PRs workflow automatically closed this PR after 72 hours. The OSS Exit Gate production configuration (googleworkspace-cli/npm, b/576755091) and end-to-end Artifact Registry + GCS manifest smoke test are complete and ready on our side. Could you please reopen and review this PR when you have a chance?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants