From 8d763c7906c081c88066c00cabae2abc4e664bc1 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Sun, 20 Jul 2025 17:21:40 -0500 Subject: [PATCH] Be sure to push argocd for production --- bitbucket-pipelines.yml | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 045a051..1da50c6 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -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