This commit is contained in:
ducoterra
2020-04-22 14:30:54 -04:00
parent 400d88f7b6
commit 5db9541ad5

View File

@@ -30,10 +30,11 @@ pods:
name: ubuntu:18.04
entrypoint: [""]
script:
- 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
- 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
- ./kubectl apply -f k8s/
- echo $CI_REGISTRY_IMAGE
# - 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
# - 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
# - ./kubectl apply -f k8s/