From a065f5f2a69938b8cca269bf0af0dc14657e07a9 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 22 Sep 2020 14:17:12 +0200 Subject: [PATCH] Rough and ready upgrading --- abra | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/abra b/abra index ea1567e..7f02436 100755 --- a/abra +++ b/abra @@ -62,6 +62,7 @@ sub_help() { echo " run SERVICE CMD run a command in the specified service's container" echo " run_args SERVICE ARGS CMD run, passing extra args to docker exec" echo " secret_generate SECRET VERSION [CMD] generate a secret, store it in pass & as a Docker secret" + echo " upgrade upgrade to the latest version" echo " ... (custom commands)" echo "" echo "Make sure \$STACK_NAME is set using direnv or -a" @@ -237,6 +238,10 @@ sub_context_use() { docker context use "$1" } +sub_upgrade() { + curl -fsSL https://install.abra.autonomic.zone | bash +} + sub_context() { SUBCOMMAND2=$1 shift