Commit 3b4b79d2 authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Add missing variable in gitlab-ci

parent 1975be84
Pipeline #3779 passed with stage
in 7 seconds
......@@ -4,6 +4,9 @@ stages:
variables:
SONAR_URL: https://sonarqube.forge.grandlyon.com
POSTGRES_EXPOSED_PORT: 5432
POSTGRES_PORT: 5432
ORGANIZATIONS_API_BIND_PORT: 3000
sonarqube:
stage: sonar-analysis
......@@ -32,8 +35,6 @@ build_development:
script:
- export TAG=$CI_COMMIT_SHORT_SHA
- echo ${TAG}
- export POSTGRES_PORT=5432
- export ORGANIZATIONS_SERVICE_BIND_PORT=3000
- docker-compose build
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose push
......@@ -48,8 +49,6 @@ build_release:
script:
- export TAG=$(echo $CI_COMMIT_TAG | sed 's/v//g')
- echo ${TAG}
- export POSTGRES_PORT=5432
- export ORGANIZATIONS_SERVICE_BIND_PORT=3000
- docker-compose build
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose push
......
Markdown is supported
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