fix kubectl stuff
This commit is contained in:
@@ -32,7 +32,7 @@ deploy_to_prod:
|
|||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
script:
|
script:
|
||||||
- apt -qq update >> /dev/null && apt -qq install -y curl >> /dev/null
|
- apt -qq update >> /dev/null && apt -qq install -y curl >> /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
|
- curl -L -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
|
||||||
|
- chmod +x /usr/local/bin/kubectl
|
||||||
- curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
|
- curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
|
||||||
- chmod +x ./kubectl
|
|
||||||
- helm install --set tag=$CI_COMMIT_TAG $CI_PROJECT_NAME ./helm
|
- helm install --set tag=$CI_COMMIT_TAG $CI_PROJECT_NAME ./helm
|
||||||
Reference in New Issue
Block a user