Install requirements via install script
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
Closes https://git.autonomic.zone/coop-cloud/abra/issues/196.
This commit is contained in:
15
makefile
15
makefile
@ -1,4 +1,4 @@
|
||||
.PHONY: test shellcheck docopt release-installer build push
|
||||
.PHONY: test shellcheck docopt release-installer build push deploy-docopt symlink
|
||||
|
||||
test:
|
||||
@sudo DOCKER_CONTEXT=default docker run \
|
||||
@ -21,8 +21,9 @@ shellcheck:
|
||||
--rm \
|
||||
-v $$(pwd):/workdir \
|
||||
koalaman/shellcheck-alpine \
|
||||
shellcheck /workdir/abra && \
|
||||
shellcheck /workdir/bin/*.sh
|
||||
sh -c "shellcheck /workdir/abra && \
|
||||
shellcheck /workdir/bin/*.sh && \
|
||||
shellcheck /workdir/deploy/install.abra.coopcloud.tech/installer"
|
||||
|
||||
docopt:
|
||||
@if [ ! -d ".venv" ]; then \
|
||||
@ -32,6 +33,14 @@ docopt:
|
||||
fi
|
||||
.venv/bin/docopt.sh abra
|
||||
|
||||
deploy-docopt:
|
||||
@if [ ! -d ".venv" ]; then \
|
||||
python3 -m venv .venv && \
|
||||
.venv/bin/pip install -U pip setuptools wheel && \
|
||||
.venv/bin/pip install docopt-sh; \
|
||||
fi
|
||||
.venv/bin/docopt.sh deploy/install.abra.coopcloud.tech/installer
|
||||
|
||||
release-installer:
|
||||
@DOCKER_CONTEXT=swarm.autonomic.zone \
|
||||
docker stack rm abra-installer-script && \
|
||||
|
Reference in New Issue
Block a user