Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
services
organizations
Commits
8c248d9c
Commit
8c248d9c
authored
Aug 25, 2020
by
Fabien FORESTIER
Browse files
Merge branch 'development' into 'master'
Add ing build tag on sonarqube job See merge request
!12
parents
0c5a956b
eaafd176
Pipeline
#6885
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
8c248d9c
...
...
@@ -10,6 +10,8 @@ variables:
sonarqube
:
stage
:
sonar-analysis
tags
:
-
build
only
:
-
master
before_script
:
...
...
@@ -35,10 +37,10 @@ build_development:
script
:
-
export TAG=$CI_COMMIT_SHORT_SHA
-
echo ${TAG}
-
docker-compose build
-
docker-compose build
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker-compose push
-
"
curl
-X
POST
-F
token=$CI_JOB_TOKEN
-F
ref=master
-F
variables[TAG]=${TAG}
https://forge.grandlyon.com/api/v4/projects/330/trigger/pipeline
"
-
'
curl
-X
POST
-F
token=$CI_JOB_TOKEN
-F
ref=master
-F
variables[TAG]=${TAG}
https://forge.grandlyon.com/api/v4/projects/330/trigger/pipeline
'
build_release
:
stage
:
build
...
...
@@ -52,4 +54,3 @@ build_release:
-
docker-compose build
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker-compose push
Write
Preview
Supports
Markdown
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