Rough and ready upgrading

This commit is contained in:
Luke Murphy 2020-09-22 14:17:12 +02:00
parent 3d47cf97c0
commit a065f5f2a6
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

5
abra
View File

@ -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