Skip to content
Snippets Groups Projects
Commit 9afd04f9 authored by Ilia Eriomenco's avatar Ilia Eriomenco
Browse files

ci: change image in k8s deploy

parent a3471e0a
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,8 @@ stages:
deploy:
stage: deploy
image: jshimko/kube-tools-aws:latest
#image: jshimko/kube-tools-aws:latest
image: ubuntu:18.04
variables:
AWS_ACCESS_KEY_ID: $ELIFE_AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $ELIFE_AWS_SECRET_ACCESS_KEY
......@@ -48,11 +49,14 @@ deploy:
# - echo "${ELIFE_K8S_CLUSTER_CONFIG}" >> ~/.elife_k8s_config
script:
- |
sudo apt-get update
sudo apt-get install awscli curl wget -y
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 && sudo mv ./kubectl /usr/local/bin/kubectl
aws --version
kubectl version
#helm version
aws --region=$AWS_DEFAULT_REGION eks update-kubeconfig --name $ELIFE_CLUSTER_NAME
kubectl cluster-info
#aws --region=$AWS_DEFAULT_REGION eks update-kubeconfig --name $ELIFE_CLUSTER_NAME
#kubectl cluster-info
# helm repo add kotahi https://charts.bitnami.com/bitnami
# helm dependency build helm/elife-kotahi
# helm upgrade -i elife-kotahi \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment