Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
destream-blockchain
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
destream-blockchain
Commits
4e4282a2
Commit
4e4282a2
authored
Mar 11, 2020
by
Andrew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
bca4f4d4
Pipeline
#1473
passed with stages
in 4 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
.gitlab-ci.yml
.gitlab-ci.yml
+22
-22
No files found.
.gitlab-ci.yml
View file @
4e4282a2
...
...
@@ -5,7 +5,7 @@ stages:
-
deploy_to_test
-
run_tests
-
deploy_node_to_prod
-
deploy_other_nodes_to_prod
#
- deploy_other_nodes_to_prod
variables
:
DOCKER_DRIVER
:
overlay2
...
...
@@ -93,24 +93,24 @@ deploy_node_to_prod:
tags
:
-
buidl1-shell
deploy_other_nodes_to_prod
:
stage
:
deploy_other_nodes_to_prod
image
:
docker:stable-git
# services:
# - docker:dind
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-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://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-nako-scanner.yml
-
./kubectl apply -f app-dst-client.yml
-
./kubectl apply -f app-nako-scanner.yml
environment
:
name
:
${CI_COMMIT_REF_NAME}
url
:
https://xvideos.com
only
:
-
release
tags
:
-
buidl1-dind
#
deploy_other_nodes_to_prod:
#
stage: deploy_other_nodes_to_prod
#
image: docker:stable-git
#
#
services:
#
#
- docker:dind
#
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-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://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-nako-scanner.yml
#
- ./kubectl apply -f app-dst-client.yml
#
- ./kubectl apply -f app-nako-scanner.yml
#
environment:
#
name: ${CI_COMMIT_REF_NAME}
#
url: https://xvideos.com
#
only:
#
- release
#
tags:
#
- buidl1-dind
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment