Commit 4e4282a2 authored by Andrew's avatar Andrew

Update .gitlab-ci.yml

parent bca4f4d4
Pipeline #1473 passed with stages
in 4 minutes and 53 seconds
...@@ -5,7 +5,7 @@ stages: ...@@ -5,7 +5,7 @@ stages:
- deploy_to_test - deploy_to_test
- run_tests - run_tests
- deploy_node_to_prod - deploy_node_to_prod
- deploy_other_nodes_to_prod # - deploy_other_nodes_to_prod
variables: variables:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
...@@ -93,24 +93,24 @@ deploy_node_to_prod: ...@@ -93,24 +93,24 @@ deploy_node_to_prod:
tags: tags:
- buidl1-shell - buidl1-shell
deploy_other_nodes_to_prod: #deploy_other_nodes_to_prod:
stage: deploy_other_nodes_to_prod # stage: deploy_other_nodes_to_prod
image: docker:stable-git # image: docker:stable-git
# services: ## services:
# - docker:dind ## - docker:dind
script: # script:
- sed 's|_IMAGE_NAME_|'"${CI_REGISTRY_IMAGE}/prod"'|g; s|_VERSION_|'"${CI_PIPELINE_ID}"'|g' app-dst-client.tpl.yml > app-dst-client.yml; cat app-dst-client.yml # - sed 's|_IMAGE_NAME_|'"${CI_REGISTRY_IMAGE}/prod"'|g; s|_VERSION_|'"${CI_PIPELINE_ID}"'|g' app-dst-client.tpl.yml > app-dst-client.yml; cat app-dst-client.yml
- sed 's|_IMAGE_NAME_|'"${CI_REGISTRY_IMAGE}/prod"'|g; s|_VERSION_|'"${CI_PIPELINE_ID}"'|g' app-nako-scanner.tpl.yml > app-nako-scanner.yml; cat app-nako-scanner.yml # - sed 's|_IMAGE_NAME_|'"${CI_REGISTRY_IMAGE}/prod"'|g; s|_VERSION_|'"${CI_PIPELINE_ID}"'|g' app-nako-scanner.tpl.yml > app-nako-scanner.yml; cat app-nako-scanner.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 app-dst-client.yml # - ./kubeval app-dst-client.yml
- ./kubeval app-nako-scanner.yml # - ./kubeval app-nako-scanner.yml
- ./kubectl apply -f app-dst-client.yml # - ./kubectl apply -f app-dst-client.yml
- ./kubectl apply -f app-nako-scanner.yml # - ./kubectl apply -f app-nako-scanner.yml
environment: # environment:
name: ${CI_COMMIT_REF_NAME} # name: ${CI_COMMIT_REF_NAME}
url: https://xvideos.com # url: https://xvideos.com
only: # only:
- release # - release
tags: # tags:
- buidl1-dind # - buidl1-dind
\ No newline at end of file
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