deploy(M00-E): 完善菜单式部署骨架
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
# shellcheck source=lib.sh
|
||||
. "${SCRIPT_DIR}/lib.sh"
|
||||
|
||||
qipai_restore() {
|
||||
qipai_warn "restore is not automatic in M00 baseline"
|
||||
qipai_info "Required manual inputs: backup path, MySQL dump, uploads archive, EMQX export"
|
||||
qipai_info "No production data was changed."
|
||||
}
|
||||
|
||||
if [ "${1:-}" = "--run" ]; then
|
||||
qipai_restore
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user