Rough and ready upgrading
This commit is contained in:
parent
3d47cf97c0
commit
a065f5f2a6
5
abra
5
abra
@ -62,6 +62,7 @@ sub_help() {
|
|||||||
echo " run SERVICE CMD run a command in the specified service's container"
|
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 " 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 " 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 " ... (custom commands)"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Make sure \$STACK_NAME is set using direnv or -a"
|
echo "Make sure \$STACK_NAME is set using direnv or -a"
|
||||||
@ -237,6 +238,10 @@ sub_context_use() {
|
|||||||
docker context use "$1"
|
docker context use "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub_upgrade() {
|
||||||
|
curl -fsSL https://install.abra.autonomic.zone | bash
|
||||||
|
}
|
||||||
|
|
||||||
sub_context() {
|
sub_context() {
|
||||||
SUBCOMMAND2=$1
|
SUBCOMMAND2=$1
|
||||||
shift
|
shift
|
||||||
|
Reference in New Issue
Block a user