forked from lei.chen/myxce
Add --build-config (parsed anywhere in the arg list) that rebuilds <data-dir>/cluster.bin from configs/ via the venv's xceadmin before deploying; a missing cluster.bin auto-builds the same way even without the flag. An existing cluster.bin with no flag passed is left byte-for-byte untouched, matching prior behavior. xceadmin and the configs source are resolved relative to the script's own location, not the caller's CWD. Verified live: missing-file auto-build, untouched-when-present (same mtime/SHA), and forced rebuild reproducing byte-identical output. |
||
|---|---|---|
| .. | ||
| appimage | ||
| deploy-ha.sh | ||
| go_build | ||
| test-commit-durability.sh | ||
| test-heartbeat-tolerance.sh | ||
| xce-build.sh | ||