Commit da608322 authored by Alessandro CERIONI's avatar Alessandro CERIONI
Browse files

Fixing legacy stuff in .gitlab-ci.yml

parent 753620b9
......@@ -32,8 +32,8 @@ build_release:
stage: build
only:
- tags
except:
- /^(?!master).+@/
#except:
#- /^(?!master).+@/
script:
- export TAG=$(echo $CI_COMMIT_TAG | sed 's/v//g')
- export CONTENT_INDEXER_BIND_PORT=4000
......@@ -51,7 +51,7 @@ deploy_development:
- envsubst < config.template.yaml > config.yaml
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker-compose pull
- docker-compose --project-name service-email-${TAG} up -d --force-recreate
- docker-compose --project-name content-indexer-${TAG} up -d --force-recreate
environment:
name: development
......@@ -66,8 +66,8 @@ deploy_staging:
- envsubst < config.template.yml > config.yml
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- TAG=dev docker-compose pull
- docker tag $CI_REGISTRY/refonte-data/service-email:dev $CI_REGISTRY/refonte-data/service-email:${TAG}
- docker push $CI_REGISTRY/refonte-data/service-email:${TAG}
- docker-compose --project-name service-email-${TAG} up -d --force-recreate
- docker tag $CI_REGISTRY/refonte-data/content-indexer:dev $CI_REGISTRY/refonte-data/content-indexer:${TAG}
- docker push $CI_REGISTRY/refonte-data/content-indexer:${TAG}
- docker-compose --project-name content-indexer-${TAG} up -d --force-recreate
environment:
name: staging
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