fix: default linux binary in installer, add context
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
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" |
|
||||
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..."
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user