Skip to content

ci(DASOPS-2057): fix deploy_prod_legacy — use direct GKE credentials#421

Merged
andersondario-er merged 1 commit into
mainfrom
fix-DASOPS-2057-prod-legacy-v12
May 13, 2026
Merged

ci(DASOPS-2057): fix deploy_prod_legacy — use direct GKE credentials#421
andersondario-er merged 1 commit into
mainfrom
fix-DASOPS-2057-prod-legacy-v12

Conversation

@andersondario-er
Copy link
Copy Markdown
Contributor

Summary

Fixes deploy_prod_legacy which has been failing because cdip-prod01 (cluster sintegrate-4bb07e9c) is not registered in the serca-tools Fleet.

Changes

  • Bump deploy_prod_legacy from update_k8s_image.yml@v7@v12 — the new version uses gcloud container clusters get-credentials directly instead of Fleet Connect Gateway
  • Updated prod-legacy GitHub Actions environment variables:
    • GKE_CLUTER_NAME: cdip-prod01sintegrate-4bb07e9c (actual cluster name)
    • LOCATION: us-central1-cus-central1 (cluster is regional)
    • PROJECT_ID: cdip-78cacdip-prod1-78ca (cluster's project)

Technical Details

update_k8s_image.yml@v7 used gcloud container fleet memberships get-credentials --project=serca-tools which requires the cluster to be in the Fleet. The legacy cluster was never registered there. The LOCATION and PROJECT_ID vars already existed in the environment but weren't being used — v12 picks them up for direct GKE auth.

Files Changed

1 file changed, 1 insertion(+), 1 deletion(-)


Jira: https://allenai.atlassian.net/browse/DASOPS-2057

v12 uses direct gcloud container clusters get-credentials instead of
Fleet Connect Gateway, fixing the deploy_prod_legacy failure caused by
cdip-prod01 (sintegrate-4bb07e9c) not being registered in the Fleet.

Also updated prod-legacy env vars:
- GKE_CLUTER_NAME: cdip-prod01 -> sintegrate-4bb07e9c
- LOCATION: us-central1-c -> us-central1
- PROJECT_ID: cdip-78ca -> cdip-prod1-78ca
@andersondario-er andersondario-er self-assigned this May 13, 2026
@andersondario-er andersondario-er merged commit 0509154 into main May 13, 2026
1 check passed
@andersondario-er andersondario-er deleted the fix-DASOPS-2057-prod-legacy-v12 branch May 13, 2026 18:08
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