fix: default linux binary in installer, add context
continuous-integration/drone/push Build is passing Details

Closes coop-cloud/organising#184
This commit is contained in:
3wc 2021-10-09 21:44:53 +02:00
parent c764243f3a
commit 1cb45113db
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ function install_abra_release {
release_url=$(curl -s "$ABRA_RELEASE_URL" |
python3 -c "import sys, json; \
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)")
echo "downloading $ABRA_VERSION x86_64 binary release for abra..."

View File

@ -3,5 +3,5 @@ STACK := abra_installer_script
default: deploy
deploy:
@docker stack rm $(STACK) && \
docker stack deploy -c compose.yml $(STACK)
@DOCKER_CONTEXT=swarm.autonomic.zone docker stack rm $(STACK) && \
DOCKER_CONTEXT=swarm.autonomic.zone docker stack deploy -c compose.yml $(STACK)