Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
form-creator-api
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
simmctic
form-creator
form-creator-api
Commits
13457ba9
Commit
13457ba9
authored
Apr 09, 2019
by
Lucas Fernandes de Oliveira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '14-atualizar-gitlab-ci' into 'develop'
Resolve "Atualizar gitlab-ci" Closes
#14
See merge request
!8
parents
7adf76a4
c99f7764
Pipeline
#19964
passed with stages
in 1 minute and 27 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
.gitlab-ci.yml
.gitlab-ci.yml
+8
-2
No files found.
.gitlab-ci.yml
View file @
13457ba9
...
...
@@ -10,6 +10,9 @@ variables:
POSTGRES_USER
:
'
runner'
POSTGRES_PASSWORD
:
'
123mudar'
POSTGRES_PORT
:
5432
image_version
:
'
'
DOCKER_URL
:
'
dockerregistry.c3sl.ufpr.br:5000/c3sl/simmctic-form-creator-api'
cache
:
paths
:
-
node_modules
...
...
@@ -45,7 +48,8 @@ run_test:
build
:
stage
:
build
script
:
-
docker build -t marula.c3sl.ufpr.br:5000/c3sl/simmctic-form-creator-api:v0.0.1 .
-
image_version=$(grep \"version\" ./package.json | cut -f2 -d':'| sed -e 's/"\|,//g' | tr -d ' ')
-
docker build -t ${DOCKER_URL}:${image_version} -t ${DOCKER_URL}:latest .
tags
:
-
docker
-
build
...
...
@@ -53,7 +57,9 @@ build:
deploy
:
stage
:
deploy
script
:
-
docker push marula.c3sl.ufpr.br:5000/c3sl/simmctic-form-creator-api:v0.0.1
-
image_version=$(grep \"version\" ./package.json | cut -f2 -d':'| sed -e 's/"\|,//g' | tr -d ' ')
-
docker push ${DOCKER_URL}:${image_version}
-
docker push ${DOCKER_URL}:latest
tags
:
-
docker
-
build
...
...
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