evOo-local/infra/sandboxes/computer/computer-image-tools.test.sh
Cursor Agent b7109bd6ba
fix(ci): run computer image tooling checks without login shell
Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
2026-10-07 21:41:56 +00:00

13 lines
441 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
IMAGE="${RAKAZO_COMPUTER_IMAGE:-rakazo/computer:local}"
for tool in git gh ssh curl; do
docker run --rm "$IMAGE" bash -c "command -v $tool >/dev/null"
done
docker run --rm "$IMAGE" bash -c 'git --version | grep -q "^git version "'
docker run --rm "$IMAGE" bash -c 'gh --version | grep -q "^gh version "'
docker run --rm "$IMAGE" bash -c 'test "$(command -v git)" = "/usr/local/lib/rakazo/bin/git"'