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

ci: add timezone in k8s deploy

parent ddd950d0
No related branches found
No related tags found
No related merge requests found
...@@ -44,11 +44,13 @@ deploy: ...@@ -44,11 +44,13 @@ deploy:
AWS_SECRET_ACCESS_KEY: $ELIFE_AWS_SECRET_ACCESS_KEY AWS_SECRET_ACCESS_KEY: $ELIFE_AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION: $ELIFE_AWS_DEFAULT_REGION AWS_DEFAULT_REGION: $ELIFE_AWS_DEFAULT_REGION
ELIFE_CLUSTER_NAME: eks-elife-kotahi ELIFE_CLUSTER_NAME: eks-elife-kotahi
TZ: Europe/Rome
# before_script: # before_script:
# - touch ~/.elife_k8s_config # - touch ~/.elife_k8s_config
# - echo "${ELIFE_K8S_CLUSTER_CONFIG}" >> ~/.elife_k8s_config # - echo "${ELIFE_K8S_CLUSTER_CONFIG}" >> ~/.elife_k8s_config
script: script:
- | - |
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
apt update apt update
apt install awscli curl wget -y apt 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 curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
......
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