Repository navigation
fix(ci): check deploy SA in deploy workflow gcloud account check - #1948
tommartensen wants to merge 1 commit into
Conversation
The "Use stored gcloud credentials" step compared gcloud's active account against INFRA_CI_AUTOMATION_GCP_SA, but the deploy job authenticates with INFRA_DEPLOY_AUTOMATION_GCP_SA, so the check always failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
A single node development cluster (infra-pr-1948) was allocated in production infra for this PR. CI will attempt to deploy 🔌 You can connect to this cluster with: 🛠️ And pull infractl from the deployed dev infra-server with: 🔓 You must go to to export an . Your token from the prod infra instance will not work with dev environments. 🚲 You can then use the dev infra instance e.g.: Further Development☕ If you make changes, you can commit and push and CI will take care of updating the development cluster. 🚀 If you only modify configuration (chart/infra-server/configuration) or templates (chart/infra-server/{static,templates}), you can get a faster update with: LogsLogs for the development infra depending on your @redhat.com authuser: Or: |
Summary
The
Use stored gcloud credentialsstep added in #1936 reads the expected account fromINFRA_CI_AUTOMATION_GCP_SA, but the deploy job authenticates withINFRA_DEPLOY_AUTOMATION_GCP_SA. The account check therefore always fails, breaking deploys (e.g. https://github.com/stackrox/infra/actions/runs/44762190343/job/136377706091).This switches the step to use
INFRA_DEPLOY_AUTOMATION_GCP_SA, matching the auth step.Testing
Rerun the
Deploy infraworkflow with changes: https://github.com/stackrox/infra/actions/runs/44770560592/job/136406834383🤖 Generated with Claude Code