fix: default linux binary in installer, add context
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Closes coop-cloud/organising#184
This commit is contained in:
parent
c764243f3a
commit
1cb45113db
|
@ -38,7 +38,7 @@ function install_abra_release {
|
||||||
release_url=$(curl -s "$ABRA_RELEASE_URL" |
|
release_url=$(curl -s "$ABRA_RELEASE_URL" |
|
||||||
python3 -c "import sys, json; \
|
python3 -c "import sys, json; \
|
||||||
payload = json.load(sys.stdin); \
|
payload = json.load(sys.stdin); \
|
||||||
url = [a['browser_download_url'] for a in payload['assets'] if 'x86_64' in a['name']][0]; \
|
url = [a['browser_download_url'] for a in payload['assets'] if 'linux_x86_64' in a['name']][0]; \
|
||||||
print(url)")
|
print(url)")
|
||||||
|
|
||||||
echo "downloading $ABRA_VERSION x86_64 binary release for abra..."
|
echo "downloading $ABRA_VERSION x86_64 binary release for abra..."
|
||||||
|
|
|
@ -3,5 +3,5 @@ STACK := abra_installer_script
|
||||||
default: deploy
|
default: deploy
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
@docker stack rm $(STACK) && \
|
@DOCKER_CONTEXT=swarm.autonomic.zone docker stack rm $(STACK) && \
|
||||||
docker stack deploy -c compose.yml $(STACK)
|
DOCKER_CONTEXT=swarm.autonomic.zone docker stack deploy -c compose.yml $(STACK)
|
||||||
|
|
Loading…
Reference in New Issue