ops: restore canary_all and harden monitor summary script invocation
This commit is contained in:
@@ -10,7 +10,7 @@ TS_START="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
|
||||
mkdir -p "$STATUS_DIR"
|
||||
|
||||
set +e
|
||||
out="$(cd "$ROOT" && ./ops/canary_all.sh 2>&1)"
|
||||
out="$(cd "$ROOT" && bash ./ops/canary_all.sh 2>&1)"
|
||||
rc=$?
|
||||
set -e
|
||||
|
||||
@@ -38,7 +38,7 @@ PY
|
||||
|
||||
# Optional notify to SOFIIA (non-fatal for canary status)
|
||||
set +e
|
||||
notify_out="$("$ROOT/ops/monitor_notify_sofiia.sh" "$STATUS_JSON" 2>&1)"
|
||||
notify_out="$(bash "$ROOT/ops/monitor_notify_sofiia.sh" "$STATUS_JSON" 2>&1)"
|
||||
notify_rc=$?
|
||||
set -e
|
||||
printf '%s\n' "$notify_out" >> "$STATUS_LOG"
|
||||
|
||||
Reference in New Issue
Block a user