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
3b4b79d2
Commit
3b4b79d2
authored
Feb 11, 2020
by
FORESTIER Fabien
Browse files
Add missing variable in gitlab-ci
parent
1975be84
Pipeline
#3779
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
3b4b79d2
...
...
@@ -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
...
...
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