From fd935b49e913f9f6aad1071188ad2788ee69add4 Mon Sep 17 00:00:00 2001 From: Andres Date: Tue, 22 May 2018 13:44:25 +0200 Subject: [PATCH] Fix GKE cluster name with circleci tag --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fdc08ceb4..967bb95a0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -249,7 +249,7 @@ jobs: - <<: *restore_workspace - setup_remote_docker - run: ./script/enable-gcloud.sh $(pwd) > /dev/null - - run: echo "export ESCAPED_GKE_CLUSTER=$(echo ${GKE_CLUSTER}-ci-${CIRCLE_BRANCH} | sed 's/[^a-z0-9-]//g')" >> $BASH_ENV + - run: echo "export ESCAPED_GKE_CLUSTER=$(echo ${GKE_CLUSTER}-ci-${CIRCLE_BRANCH:-$CIRCLE_TAG} | sed 's/[^a-z0-9-]//g')" >> $BASH_ENV - run: ./script/start-gke-env.sh $ESCAPED_GKE_CLUSTER $ZONE $GKE_VERSION $GKE_ADMIN > /dev/null - run: ./script/pull-or-build-image.sh controller-image - run: ./script/pull-or-build-image.sh kafka-controller-image