From e42a6410619217693e2abbd374e836dad147c80a Mon Sep 17 00:00:00 2001 From: ducoterra Date: Wed, 22 Apr 2020 14:34:25 -0400 Subject: [PATCH] check deploy after envsubst --- .gitlab-ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6fe1fbe..8eff80f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,12 +31,9 @@ pods: entrypoint: [""] script: - echo $CI_REGISTRY_IMAGE - - envsubst < k8s/deploy.yaml > sponge k8s/deploy.yaml - - cat k8s/deploy.yaml - # - export CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE - # - export CI_COMMIT_TAG=$CI_COMMIT_TAG - # - apt -qq update >> /dev/null && apt -qq install -y curl gettext moreutils >> /dev/null + - apt -qq update >> /dev/null && apt -qq install -y curl gettext moreutils >> /dev/null # - curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl # - chmod +x ./kubectl - # - envsubst < k8s/deploy.yaml > sponge k8s/deploy.yaml + - envsubst < k8s/deploy.yaml > sponge k8s/deploy.yaml + - cat k8s/deploy.yaml # - ./kubectl apply -f k8s/ \ No newline at end of file