Be sure to push argocd for production

This commit is contained in:
Seth Call 2025-07-20 17:21:40 -05:00
parent fb5c0c7775
commit 8d763c7906
1 changed files with 3 additions and 23 deletions

View File

@ -48,12 +48,12 @@ pipelines:
- terraform plan
- terraform apply -input=false -auto-approve
- step:
name: Deploy K8s apps (staging)
name: Deploy K8s apps (production)
script:
- pipe: atlassian/kubectl-run:3.1.2
variables:
KUBE_CONFIG: $KUBE_CONFIG_STG
KUBECTL_COMMAND: '-n argocd apply -k k8s/argocd/overlays/staging'
KUBE_CONFIG: $KUBE_CONFIG_PRD
KUBECTL_COMMAND: '-n argocd apply -k k8s/argocd/overlays/production'
- step:
name: Push images
image: google/cloud-sdk:alpine
@ -73,26 +73,6 @@ pipelines:
- docker push "gcr.io/${GCLOUD_PROJECT}/coturn-dns:${VERSION-staging}"
services:
- docker
- step:
name: Deploy coturn/coturn-dns to staging
deployment: staging
script:
- pipe: atlassian/kubectl-run:1.1.2
variables:
KUBE_CONFIG: $KUBE_CONFIG_STG
KUBECTL_COMMAND: '-n coturn rollout restart deployment/coturn'
- pipe: atlassian/kubectl-run:1.1.2
variables:
KUBE_CONFIG: $KUBE_CONFIG_STG
KUBECTL_COMMAND: '-n coturn rollout status -w deployment/coturn'
- pipe: atlassian/kubectl-run:1.1.2
variables:
KUBE_CONFIG: $KUBE_CONFIG_STG
KUBECTL_COMMAND: '-n coturn-dns rollout restart deployment/coturn-dns'
- pipe: atlassian/kubectl-run:1.1.2
variables:
KUBE_CONFIG: $KUBE_CONFIG_STG
KUBECTL_COMMAND: '-n coturn-dns rollout status -w deployment/coturn-dns'
- step:
name: Deploy coturn/coturn-dns to production
deployment: production