ops: GOA vanilla landings stats wdGet + collect greening
This commit is contained in:
parent
0d881cd726
commit
337d253691
24 changed files with 1074 additions and 107 deletions
|
|
@ -3,6 +3,7 @@
|
|||
# Host: koopa (hernani, podman). No Freigabe-bypass — caller must have Freigabe.
|
||||
#
|
||||
# ./goa-live-backup-upgrade.sh dry-run
|
||||
# ./goa-live-backup-upgrade.sh backup # stamp only (no apt / no commit)
|
||||
# ./goa-live-backup-upgrade.sh apply # backup + apt + commit + smoke
|
||||
# ./goa-live-backup-upgrade.sh status
|
||||
#
|
||||
|
|
@ -312,6 +313,12 @@ cmd_status() {
|
|||
|
||||
case "$MODE" in
|
||||
dry-run|dry) cmd_dry_run ;;
|
||||
backup)
|
||||
set_status BACKUP_RUNNING
|
||||
cmd_backup
|
||||
set_status BACKUP_OK "STAMP=$STAMP" "CURRENT=$ROOT/current"
|
||||
log "BACKUP_OK"
|
||||
;;
|
||||
apply) cmd_apply ;;
|
||||
status) cmd_status ;;
|
||||
-h|--help|help)
|
||||
|
|
@ -319,7 +326,7 @@ case "$MODE" in
|
|||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 dry-run|apply|status" >&2
|
||||
echo "usage: $0 dry-run|backup|apply|status" >&2
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue