From abc7f880b2e6f96bf6304bc748d63f7604bbcfde Mon Sep 17 00:00:00 2001 From: ducoterra Date: Wed, 22 Apr 2020 13:56:30 -0400 Subject: [PATCH] install gettext --- .gitlab-ci.yml | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6e0c7aa..eed7a37 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,25 +4,25 @@ variables: CI_COMMIT_TAG: 3.8.2_2 stages: - - build - - test + # - build + # - test - deploy -push: - stage: build - image: - name: gcr.io/kaniko-project/executor:debug - entrypoint: [""] - script: - - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG +# push: +# stage: build +# image: +# name: gcr.io/kaniko-project/executor:debug +# entrypoint: [""] +# script: +# - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG -pip: - stage: test - image: - name: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG - entrypoint: [""] - script: - - echo $(pip freeze) +# pip: +# stage: test +# image: +# name: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG +# entrypoint: [""] +# script: +# - echo $(pip freeze) pods: stage: deploy @@ -30,9 +30,10 @@ pods: name: ubuntu:18.04 entrypoint: [""] script: - - apt update && apt install -y curl + - apt update && apt install -y curl gettext - 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 - - echo $(envsubst < k8s/deploy.yml) > k8s/deploy.yaml + - ls -lah + - envsubst < k8s/deploy.yaml > k8s/deploy.yaml - cat k8s/deploy.yaml - - kubectl apply -f k8s/ \ No newline at end of file + - ./kubectl apply -f k8s/ \ No newline at end of file