install gettext
This commit is contained in:
@@ -4,25 +4,25 @@ variables:
|
|||||||
CI_COMMIT_TAG: 3.8.2_2
|
CI_COMMIT_TAG: 3.8.2_2
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
# - build
|
||||||
- test
|
# - test
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
push:
|
# push:
|
||||||
stage: build
|
# stage: build
|
||||||
image:
|
# image:
|
||||||
name: gcr.io/kaniko-project/executor:debug
|
# name: gcr.io/kaniko-project/executor:debug
|
||||||
entrypoint: [""]
|
# entrypoint: [""]
|
||||||
script:
|
# script:
|
||||||
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
|
# - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
|
||||||
|
|
||||||
pip:
|
# pip:
|
||||||
stage: test
|
# stage: test
|
||||||
image:
|
# image:
|
||||||
name: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
|
# name: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
|
||||||
entrypoint: [""]
|
# entrypoint: [""]
|
||||||
script:
|
# script:
|
||||||
- echo $(pip freeze)
|
# - echo $(pip freeze)
|
||||||
|
|
||||||
pods:
|
pods:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
@@ -30,9 +30,10 @@ pods:
|
|||||||
name: ubuntu:18.04
|
name: ubuntu:18.04
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
script:
|
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
|
- 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
|
- chmod +x ./kubectl
|
||||||
- echo $(envsubst < k8s/deploy.yml) > k8s/deploy.yaml
|
- ls -lah
|
||||||
|
- envsubst < k8s/deploy.yaml > k8s/deploy.yaml
|
||||||
- cat k8s/deploy.yaml
|
- cat k8s/deploy.yaml
|
||||||
- kubectl apply -f k8s/
|
- ./kubectl apply -f k8s/
|
||||||
Reference in New Issue
Block a user