From 73bba50262a37271b231c2292364eff0c0eff8b0 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Wed, 22 Apr 2020 14:45:20 -0400 Subject: [PATCH] output to out file --- .gitlab-ci.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8eff80f..4ad2a85 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,9 +31,10 @@ pods: entrypoint: [""] script: - echo $CI_REGISTRY_IMAGE - - 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 - - cat k8s/deploy.yaml - # - ./kubectl apply -f k8s/ \ No newline at end of file + - apt -qq update >> /dev/null && apt -qq install -y curl gettext >> /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 > out.yaml + - cat out.yaml + - mv out.yaml k8s/deploy.yaml + - ./kubectl apply -f k8s/ \ No newline at end of file