fix pipeline

This commit is contained in:
Victor Barba Martin 2021-08-10 20:40:52 +02:00
parent 4460cca722
commit ba9e4f4d7e
1 changed files with 2 additions and 1 deletions

View File

@ -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