Provide DOCKER_CONTEXT for make release..
cmds
This commit is contained in:
parent
6abb5db6ee
commit
515bd7789d
10
makefile
10
makefile
@ -46,11 +46,13 @@ codecov:
|
||||
-s coverage -t $$(pass show hosts/swarm.autonomic.zone/drone/codecov/token)
|
||||
|
||||
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 && \
|
||||
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:
|
||||
@docker stack rm abra-apps-json && \
|
||||
@DOCKER_CONTEXT=swarm.autonomic.zone \
|
||||
docker stack rm abra-apps-json && \
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user