Commit e7ae7290 authored by Tommy Svendsen's avatar Tommy Svendsen
Browse files

DEICH-3487 remove DEPLOY_VARIANT

parent 2178df38
......@@ -409,7 +409,6 @@
SSH_SERVERS: "${PRODUCTION_SERVERS}"
SSH_KEY: $DEPLOY_KEY
SSH_VOTING_SERVER: ${PRODUCTION_VOTING_SERVER}
DEPLOY_VARIANT: ""
deploy-production:
extends:
......
......@@ -121,7 +121,7 @@ remote-deploy: | check-ssh_user check-ssh_servers check-TAG
do\
ssh $(ssh_user)@$$server "mkdir -p ./deployments/$(TAG)/deichman && rm -rf ./deployments/$(TAG)/config && cp -rf \$$DEPLOYMENT_CONFIG_LOCATION/ ./deployments/$(TAG)/config"; \
scp docker-compose.yml $(ssh_user)@$$server:deployments/$(TAG)/ ; \
ssh $(ssh_user)@$$server "cd deployments/$(TAG)/deichman && TAG=$(TAG) DEPLOYMENT_CONFIG_LOCATION=./config docker-compose --env-file=../config/.env -f ../docker-compose.yml -f ../config/docker-compose$(DEPLOY_VARIANT).yml config > docker-compose.yml && docker-compose pull && docker-compose up -d $(CONTAINER)"; \
ssh $(ssh_user)@$$server "cd deployments/$(TAG)/deichman && TAG=$(TAG) DEPLOYMENT_CONFIG_LOCATION=./config docker-compose --env-file=../config/.env -f ../docker-compose.yml -f ../config/docker-compose.yml config > docker-compose.yml && docker-compose pull && docker-compose up -d $(CONTAINER)"; \
done
remote-deploy-voting: | check-ssh_user check-TAG
......
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