From fd4aa88202fda3a108c53447a83be1483a6ba786 Mon Sep 17 00:00:00 2001 From: Victor Barba Martin Date: Wed, 17 Nov 2021 15:33:39 +0100 Subject: [PATCH] deploy stg argocd --- bitbucket-pipelines.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index d5502c4..549bcbb 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -46,6 +46,14 @@ pipelines: - cd terraform/ - terraform init - terraform plan + - step: + name: Deploy K8s apps (argocd) + deployment: staging + script: + - pipe: atlassian/kubectl-run:1.1.2 + variables: + KUBE_CONFIG: $KUBE_CONFIG_STG + KUBECTL_COMMAND: '-n argocd apply -k k8s/argocd/overlays/staging' - step: name: Push images image: google/cloud-sdk:alpine