diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 68cf931..ea890cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,11 +30,11 @@ pods: name: ubuntu:18.04 entrypoint: [""] script: - - apt -q update && apt -q install -y curl gettext + - 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 - ls -lah k8s/ - cat k8s/deploy.yaml - - envsubst < k8s/deploy.yaml > 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