Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/datasmith/harbor_adapter/template/tests/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ command -v snapshot-tool >/dev/null 2>&1 \
|| micromamba run -n "$ENV_NAME" bash -c 'command -v snapshot-tool >/dev/null 2>&1' \
|| { echo "[$(ts)] [setup] FATAL: snapshot-tool missing in '$ENV_NAME' — the correctness gate would be inert; rebuild the task image." >&2; exit 1; }

SETUP_PHASE="asv_machine"
# `asv run` without --machine looks up the hostname in ~/.asv-machine.json and stops if it is missing; results go to dockertest.
python -c 'import socket; from asv.machine import Machine, MachineCollection; MachineCollection.save(socket.gethostname(), {**Machine.get_defaults(), "machine": "dockertest"})' \
|| echo "[$(ts)] [setup] WARN: asv machine registration failed; agents must pass --machine." >&2

SETUP_PHASE="extra_setup_commands"
{{ extra_setup_commands }}

Expand Down
Loading