pilot-hardening-notifications-deploy #1

Merged
trevor merged 6 commits from pilot-hardening-notifications-deploy into main 2026-05-18 12:23:12 +00:00
24 changed files with 3053 additions and 37 deletions
Showing only changes of commit 59bc6ebd4f - Show all commits

View File

@@ -28,7 +28,7 @@ EXCLUDES=(
send_remote_report() {
local text="$1"
ssh "$REMOTE" "cd '$REMOTE_DIR' && CARPASS_REPORT_TEXT=\$(cat) $COMPOSE exec -T -e CARPASS_REPORT_TEXT api python scripts/send_telegram_report.py" <<<"$text" || true
ssh "$REMOTE" "cd '$REMOTE_DIR' && export CARPASS_REPORT_TEXT=\$(cat); if $COMPOSE exec -T api test -f scripts/send_telegram_report.py >/dev/null 2>&1; then $COMPOSE exec -T -e CARPASS_REPORT_TEXT api python scripts/send_telegram_report.py; else $COMPOSE run --rm --no-deps -e CARPASS_REPORT_TEXT api python scripts/send_telegram_report.py; fi" <<<"$text" || true
}
fail_report() {