mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
fix(status-page): drop set -e — heredoc subshells trigger silent exits
This commit is contained in:
parent
6f975a5cbe
commit
3ac3a4bae4
1 changed files with 6 additions and 1 deletions
|
|
@ -10,7 +10,12 @@
|
|||
#
|
||||
# Ausgabe: /output/index.html + /output/status.json
|
||||
|
||||
set -eu
|
||||
# set -e dropped — too many false positives from expected non-zero exits
|
||||
# in subshells ($(render_rows ...) under heredoc expansion) and from
|
||||
# conditional tests inside the while-read tier_apps loop. The script is
|
||||
# long and best-effort; we accept partial failures over silent exits
|
||||
# before the jq that writes status.json.
|
||||
set -u
|
||||
|
||||
VM_URL="${VICTORIAMETRICS_URL:-http://victoriametrics:9090}"
|
||||
OUTPUT="${OUTPUT_FILE:-/output/index.html}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue