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
da318d35
Commit
da318d35
authored
Jan 30, 2019
by
Anton Borisov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
e9e1172c
Pipeline
#29
failed with stages
in 0 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
.gitlab-ci.yml
.gitlab-ci.yml
+5
-8
No files found.
.gitlab-ci.yml
View file @
da318d35
...
@@ -2,30 +2,27 @@ stages:
...
@@ -2,30 +2,27 @@ stages:
-
build
-
build
-
deploy2test
-
deploy2test
variables
:
DOCKER_HOST
:
tcp://docker:2375
DOCKER_DRIVER
:
overlay2
DOCKER_URL_CUSTOM
:
git.infra:4567
before_script
:
-
docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
build
:
build
:
stage
:
build
stage
:
build
image
:
docker:stable
image
:
docker:stable
services
:
services
:
-
docker:dind
-
docker:dind
script
:
script
:
-
docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
-
docker build -t ${CI_REGISTRY}/destream-public/destream-blockchain .
-
docker build -t ${CI_REGISTRY}/destream-public/destream-blockchain .
-
docker push ${CI_REGISTRY}/destream-public/destream-blockchain
-
docker push ${CI_REGISTRY}/destream-public/destream-blockchain
environment
:
environment
:
name
:
${CI_COMMIT_REF_NAME}
name
:
${CI_COMMIT_REF_NAME}
variables
:
DOCKER_HOST
:
tcp://docker:2375
DOCKER_DRIVER
:
overlay2
only
:
only
:
-
test
-
test
deploy2test
:
deploy2test
:
stage
:
deploy2test
stage
:
deploy2test
script
:
script
:
-
docker login -u "gitlab-ci-token" -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
-
docker-compose down
-
docker-compose down
-
docker-compose up -d
-
docker-compose up -d
-
docker ps
-
docker ps
...
...
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