fix(infra): make deploy tracking Bash 3.x compatible (macOS runner)

- Remove set -euo pipefail from sourced library (breaks caller error handling)
- Replace declare -A associative arrays with string-based lookups
- macOS ships Bash 3.2 which doesn't support declare -A

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-20 17:27:31 +01:00
parent 70b1c4429d
commit e124869f6e
2 changed files with 42 additions and 46 deletions

View file

@ -4,7 +4,8 @@
#
# Provides functions for timing, DB inserts, and Pushgateway pushes.
set -euo pipefail
# NOTE: No set -euo pipefail here — this file is sourced by CI steps
# that need to handle errors gracefully. The caller controls error handling.
DEPLOY_START_EPOCH=""
PUSHGATEWAY_URL="http://localhost:9091"