release 1.10.4: strict suite auto-upgrade; bootstrap monpages ERROR; stage timer units
This commit is contained in:
parent
bc0d0a5485
commit
761e3d3c11
8 changed files with 143 additions and 25 deletions
|
|
@ -170,7 +170,17 @@ if [ -f "$AGENT_MON/taler-monitoring.sh" ]; then
|
|||
fi
|
||||
|
||||
# shellcheck source=update-suite.sh
|
||||
source "$AGENT_DIR/update-suite.sh"
|
||||
# Strict suite auto-upgrade (default): abort if Forgejo fetch/reset fails so
|
||||
# hosts never keep publishing old / bootstrap HTML indefinitely.
|
||||
if ! source "$AGENT_DIR/update-suite.sh"; then
|
||||
echo "ERROR: suite auto-update failed — refusing to run with stale tree" >&2
|
||||
echo " fix git/network or set SUITE_UPDATE_STRICT=0 only as emergency" >&2
|
||||
exit 1
|
||||
fi
|
||||
# Prefer host-agent scripts from the *updated* suite tree
|
||||
if [ -d "${SUITE_DIR:-}/host-agent" ]; then
|
||||
AGENT_DIR="${SUITE_DIR}/host-agent"
|
||||
fi
|
||||
|
||||
SUITE_MON="${SUITE_DIR}"
|
||||
ROOT="$SUITE_MON"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue