Commit 8c248d9c authored by Fabien FORESTIER's avatar 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
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment