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
csv-catalog-downloader
Commits
a2deeab6
Commit
a2deeab6
authored
Apr 02, 2019
by
Alessandro CERIONI
Browse files
Replacing relative paths with absolute ones.
parent
713107d8
Pipeline
#3208
failed with stage
in 4 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a2deeab6
...
...
@@ -9,8 +9,8 @@ build_development:
script
:
-
export TAG=dev
-
export CSV_CATALOG_DOWNLOAD_SERVICE_BIND_PORT=4000
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CACHE_VOLUME=
.
/catalog-cache-${TAG}
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CONFIG_FILE_PATH=
.
/config.yaml
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CACHE_VOLUME=
${PWD}
/catalog-cache-${TAG}
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CONFIG_FILE_PATH=
${PWD}
/config.yaml
-
docker-compose build
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker-compose push
...
...
@@ -24,8 +24,8 @@ build_release:
script
:
-
export TAG=$(echo $CI_COMMIT_TAG | sed 's/v//g')
-
export CSV_CATALOG_DOWNLOAD_SERVICE_BIND_PORT=4040
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CACHE_VOLUME=
.
/catalog-cache-${TAG}
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CONFIG_FILE_PATH=
.
/config.yaml
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CACHE_VOLUME=
${PWD}
/catalog-cache-${TAG}
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CONFIG_FILE_PATH=
${PWD}
/config.yaml
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker-compose push
...
...
@@ -36,8 +36,8 @@ deploy_development:
script
:
-
export TAG=dev
-
export CSV_CATALOG_DOWNLOAD_SERVICE_BIND_PORT=4040
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CACHE_VOLUME=
.
/catalog-cache-${TAG}
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CONFIG_FILE_PATH=
.
/config.yaml
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CACHE_VOLUME=
${PWD}
/catalog-cache-${TAG}
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CONFIG_FILE_PATH=
${PWD}
/config.yaml
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker-compose pull
-
docker-compose --project-name csv-catalog-download-service-${TAG} up -d --force-recreate
...
...
@@ -52,8 +52,8 @@ deploy_staging:
script
:
-
export TAG=staging
-
export CSV_CATALOG_DOWNLOAD_SERVICE_BIND_PORT=4140
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CACHE_VOLUME=
.
/catalog-cache-${TAG}
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CONFIG_FILE_PATH=
.
/config.yaml
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CACHE_VOLUME=
${PWD}
/catalog-cache-${TAG}
-
export CSV_CATALOG_DOWNLOAD_SERVICE_CONFIG_FILE_PATH=
${PWD}
/config.yaml
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
TAG=dev docker-compose pull
-
docker tag $CI_REGISTRY/refonte-data/service-catalog:dev $CI_REGISTRY/refonte-data/service-catalog:${TAG}
...
...
docker-compose.yml
View file @
a2deeab6
...
...
@@ -7,5 +7,5 @@ services:
ports
:
-
${CSV_CATALOG_DOWNLOAD_SERVICE_BIND_PORT}:8000
volumes
:
-
${CSV_CATALOG_DOWNLOAD_SERVICE_CONFIG_FILE_PATH}:/app/config.yaml
-
${CSV_CATALOG_DOWNLOAD_SERVICE_CONFIG_FILE_PATH}:/app/config.yaml
:ro
-
${CSV_CATALOG_DOWNLOAD_SERVICE_CACHE_VOLUME}:/app/cache
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