Commit 378b9f60 authored by Anton Borisov's avatar Anton Borisov

Update .gitlab-ci.yml

parent 5f3efa51
Pipeline #175 passed with stages
in 3 minutes and 38 seconds
...@@ -128,7 +128,7 @@ deploy_to_prod: ...@@ -128,7 +128,7 @@ deploy_to_prod:
- sed 's|_IMAGE_NAME_|'"${CI_REGISTRY_IMAGE}/prod"'|g; s|_VERSION_|'"${CI_PIPELINE_ID}"'|g' seed1.tpl.yml > seed1.yml; cat seed1.yml - sed 's|_IMAGE_NAME_|'"${CI_REGISTRY_IMAGE}/prod"'|g; s|_VERSION_|'"${CI_PIPELINE_ID}"'|g' seed1.tpl.yml > seed1.yml; cat seed1.yml
- wget https://storage.googleapis.com/kubernetes-release/release/v1.13.3/bin/linux/amd64/kubectl && chmod +x ./kubectl - wget https://storage.googleapis.com/kubernetes-release/release/v1.13.3/bin/linux/amd64/kubectl && chmod +x ./kubectl
- wget https://github.com/garethr/kubeval/releases/download/0.7.3/kubeval-linux-amd64.tar.gz && tar xvf kubeval-linux-amd64.tar.gz - wget https://github.com/garethr/kubeval/releases/download/0.7.3/kubeval-linux-amd64.tar.gz && tar xvf kubeval-linux-amd64.tar.gz
- ./kubeval node1.yml && ./kubeval node2.yml && ./kubeval node3.yml && ./kubeval seed1.yml - ./kubeval node1.yml && ./kubeval node2.yml && ./kubeval node3.yml && ./kubeval node4.yml && ./kubeval node5.yml && ./kubeval node6.yml && ./kubeval node7.yml && ./kubeval node8.yml && ./kubeval node9.yml && ./kubeval seed1.yml
- ./kubectl apply -f node1.yml - ./kubectl apply -f node1.yml
- ./kubectl apply -f node2.yml - ./kubectl apply -f node2.yml
- ./kubectl apply -f node3.yml - ./kubectl apply -f node3.yml
......
Markdown is supported
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