Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
blendb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
C3SL
blendb
Commits
b3310950
There was a problem fetching the pipeline summary.
Commit
b3310950
authored
7 years ago
by
Lucas Fernandes de Oliveira
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue/53' into 'master'
Issue
#53
: Fix error on deploy stage of pipeline See merge request
!51
parents
3f59b885
2c6075bc
No related branches found
No related tags found
1 merge request
!51
Issue #53: Fix error on deploy stage of pipeline
Pipeline
#
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-4
6 additions, 4 deletions
.gitlab-ci.yml
docker-compose.yml
+1
-1
1 addition, 1 deletion
docker-compose.yml
with
7 additions
and
5 deletions
.gitlab-ci.yml
+
6
−
4
View file @
b3310950
...
@@ -8,6 +8,7 @@ variables:
...
@@ -8,6 +8,7 @@ variables:
POSTGRES_USER
:
'
runner'
POSTGRES_USER
:
'
runner'
POSTGRES_PASSWORD
:
'
'
POSTGRES_PASSWORD
:
'
'
PKG_VERSION
:
'
latest'
PKG_VERSION
:
'
latest'
DOCKER_URL
:
'
marula.c3sl.ufpr.br:5000/c3sl/blendb:'
cache
:
cache
:
paths
:
paths
:
...
@@ -34,11 +35,11 @@ run_tests:
...
@@ -34,11 +35,11 @@ run_tests:
build
:
build
:
stage
:
build
stage
:
build
variables
:
variables
:
PKG_VERSION
:
'
latest
'
PKG_VERSION
:
'
'
script
:
script
:
-
PKG_VERSION=$(cat package.json | grep \"version\" | cut -f2 -d':'| sed -e 's/"\|,//g' | tr -d ' ')
-
PKG_VERSION=$(cat package.json | grep \"version\" | cut -f2 -d':'| sed -e 's/"\|,//g' | tr -d ' ')
-
echo ${PKG_VERSION}
-
echo ${PKG_VERSION}
-
docker build -t
marula.c3sl.ufpr.br:5000/c3sl/blendb:${PKG_VERSION}
.
-
docker build -t
${DOCKER_URL}${PKG_VERSION} -t ${DOCKER_URL}latest
.
tags
:
tags
:
-
docker
-
docker
-
build
-
build
...
@@ -46,10 +47,11 @@ build:
...
@@ -46,10 +47,11 @@ build:
deploy
:
deploy
:
stage
:
deploy
stage
:
deploy
variables
:
variables
:
PKG_VERSION
:
'
latest
'
PKG_VERSION
:
'
'
script
:
script
:
-
PKG_VERSION=$(cat package.json | grep \"version\" | cut -f2 -d':'| sed -e 's/"\|,//g' | tr -d ' ')
-
PKG_VERSION=$(cat package.json | grep \"version\" | cut -f2 -d':'| sed -e 's/"\|,//g' | tr -d ' ')
-
docker push marula.c3sl.ufpr.br:5000/c3sl/blendb:${PKG_VERSION} .
-
docker push ${DOCKER_URL}${PKG_VERSION}
-
docker push ${DOCKER_URL}latest
tags
:
tags
:
-
docker
-
docker
-
build
-
build
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
1
−
1
View file @
b3310950
...
@@ -2,7 +2,7 @@ version: '3.3'
...
@@ -2,7 +2,7 @@ version: '3.3'
services
:
services
:
blendb
:
blendb
:
image
:
marula.c3sl.ufpr.br:5000/c3sl/blendb:latest
image
:
marula.c3sl.ufpr.br:5000/c3sl/blendb:latest
build
:
/home/lfo14/c3sl/blendb
build
:
.
container_name
:
blendb
container_name
:
blendb
# depends_on:
# depends_on:
# - db
# - db
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment