From ba9e4f4d7e943f81f96291b98e83700311b67f47 Mon Sep 17 00:00:00 2001 From: Victor Barba Martin Date: Tue, 10 Aug 2021 20:40:52 +0200 Subject: [PATCH] fix pipeline --- bitbucket-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 69dadb5..83f0ba5 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -70,9 +70,10 @@ pipelines: deployment: production script: - AUTOSCALER_IMAGE="gcr.io/$GCLOUD_PROJECT/autoscaler:prod-0.1.$BITBUCKET_BUILD_NUMBER" + - COTURN_DNS_IMAGE="gcr.io/$GCLOUD_PROJECT/coturn-dns:prod-0.1.$BITBUCKET_BUILD_NUMBER" - sed -i "s|{{linode_autoscaler_image}}|$AUTOSCALER_IMAGE|g" k8s/linode-autoscaler/webrtc-be-autoscaler.yaml - sed -i "s|{{linode_autoscaler_image}}|$AUTOSCALER_IMAGE|g" k8s/linode-autoscaler/coturn-autoscaler.yaml - - sed -i "s|{{coturn_dns_image}}|$AUTOSCALER_IMAGE|g" k8s/coturn-dns/coturn-dns.yaml + - sed -i "s|{{coturn_dns_image}}|$COTURN_DNS_IMAGE|g" k8s/coturn-dns/coturn-dns.yaml - pipe: atlassian/kubectl-run:1.1.2 variables: KUBE_CONFIG: $KUBE_CONFIG