mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-19 04:59:28 +00:00
ops(ax): log the failing line and exit code of the bring-up
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EmM1j46qgKMh3zqD1QMwEo
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
6dfa5daa76
commit
a6998173c1
@@ -2,6 +2,8 @@
|
|||||||
# Bring up ax on this host: kind cluster + local registry, Agent Substrate, the ax control plane, one smoke
|
# Bring up ax on this host: kind cluster + local registry, Agent Substrate, the ax control plane, one smoke
|
||||||
# Task. Idempotent enough to rerun; `down.sh` removes everything. Requires docker, go, kubectl, kind, ko, ax.
|
# Task. Idempotent enough to rerun; `down.sh` removes everything. Requires docker, go, kubectl, kind, ko, ax.
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
trap 'rc=$?; echo "up.sh FAILED at line $LINENO (exit $rc)"' ERR
|
||||||
|
trap 'echo "up.sh exit $?"' EXIT
|
||||||
export PATH="$HOME/go/bin:$HOME/.local/bin:$PATH"
|
export PATH="$HOME/go/bin:$HOME/.local/bin:$PATH"
|
||||||
export GOTOOLCHAIN=auto
|
export GOTOOLCHAIN=auto
|
||||||
export KIND_CLUSTER_NAME="${KIND_CLUSTER_NAME:-ousast}"
|
export KIND_CLUSTER_NAME="${KIND_CLUSTER_NAME:-ousast}"
|
||||||
|
|||||||
Reference in New Issue
Block a user