-
Notifications
You must be signed in to change notification settings - Fork 209
Open
Labels
area/authgithub_actionskind/bugSomething isn't workingSomething isn't workingkind/cicdstatus/route-upstreamIssues with Gemini CLI itselfIssues with Gemini CLI itself
Description
TL;DR
This convenience script to set up auth from GitHub Actions to Google Cloud worked last year in the November timeframe but no longer works now. It throws this error:
Expected behavior
No response
Observed behavior
No response
Action YAML
N/ALog output
yarabaelish_835850@cloudshell:~ (festive-nova-476819)$ ./setup_workload_identity.sh --repo yarabaelish-demo/speckit --project festive-nova-476819
🚀 Starting Direct Workload Identity Federation setup
📦 Repository: yarabaelish-demo/speckit
☁️ Project: festive-nova-476819
🏊 Pool: github-68928269
🆔 Provider: gh-68928269
ℹ️ Verifying gcloud authentication...
✅ Authentication and project access verified
🚀 Step 1: Enabling required Google Cloud APIs
ERROR: (gcloud.services.enable) [yarabaelish.835850@gmail.com] does not have permission to access projects instance [festive-nova-476819] (or it may not exist): Bind permission denied for service: cloudcode-pa.googleapis.com
Service 'cloudcode-pa.googleapis.com' is an internal service; it requires explicit sharing with internal user/resource and cannot be used outside of its own organization.
Service cloudcode-pa.googleapis.com is not available to this consumer.
Help Token: AcxmRmLR4pJ9ewAYLFXjSJWgh6e-bbSkdvkBAh-WuV08oiTYVApPb29WE6h_q7JJAzbTaU4ApDjQ8hAR9q4_nwEMHxlqCpnVg9fMKT-D2ICeR8DB. This command is authenticated as yarabaelish.835850@gmail.com which is the active account specified by the [core/account] property
- '@type': type.googleapis.com/google.rpc.PreconditionFailure
violations:
- subject: '110002'
type: googleapis.com
- '@type': type.googleapis.com/google.rpc.ErrorInfo
domain: serviceusage.googleapis.com
reason: AUTH_PERMISSION_DENIED
Additional information
No response
Metadata
Metadata
Assignees
Labels
area/authgithub_actionskind/bugSomething isn't workingSomething isn't workingkind/cicdstatus/route-upstreamIssues with Gemini CLI itselfIssues with Gemini CLI itself