Provide DOCKER_CONTEXT for make release.. cmds

This commit is contained in:
3wc 2021-04-05 12:34:06 +02:00
parent 6abb5db6ee
commit 515bd7789d

View File

@ -46,11 +46,13 @@ codecov:
-s coverage -t $$(pass show hosts/swarm.autonomic.zone/drone/codecov/token) -s coverage -t $$(pass show hosts/swarm.autonomic.zone/drone/codecov/token)
release-installer: release-installer:
@docker stack rm abra-installer-script && \ @DOCKER_CONTEXT=swarm.autonomic.zone \
docker stack rm abra-installer-script && \
cd deploy/install.abra.autonomic.zone && \ cd deploy/install.abra.autonomic.zone && \
docker stack deploy -c compose.yml abra-installer-script DOCKER_CONTEXT=swarm.autonomic.zone docker stack deploy -c compose.yml abra-installer-script
release-abra-apps: release-abra-apps:
@docker stack rm abra-apps-json && \ @DOCKER_CONTEXT=swarm.autonomic.zone \
docker stack rm abra-apps-json && \
cd deploy/abra-apps.cloud.autonomic.zone && \ cd deploy/abra-apps.cloud.autonomic.zone && \
docker stack deploy -c compose.yml abra-apps-json DOCKER_CONTEXT=swarm.autonomic.zone docker stack deploy -c compose.yml abra-apps-json