diff --git a/scripts/dev/smoke-test.sh b/scripts/dev/smoke-test.sh index e10bf11..9c4ef83 100644 --- a/scripts/dev/smoke-test.sh +++ b/scripts/dev/smoke-test.sh @@ -119,10 +119,23 @@ if [ "$env" = "dev" ]; then if ! docker run --rm -v "$repo_root/data/dev:/test-data:ro" alpine:3.19 ls /test-data >/dev/null 2>&1; then echo "ERROR: Docker cannot access $repo_root/data/dev" echo "" - echo "This is a Docker Desktop file sharing issue. To fix:" - echo "1. Open Docker Desktop -> Settings -> Resources -> File sharing" - echo "2. Add or verify: $repo_root" - echo "3. Click 'Apply & Restart'" + if command -v colima >/dev/null 2>&1; then + echo "You are using Colima. To fix:" + echo "1. Stop Colima: colima stop" + echo "2. Start with host mounts enabled: colima start --mount-type=virtiofs" + echo " OR: colima start --mount-type=sshfs --mount-writable" + echo "3. Verify the mount: colima ssh -- ls $repo_root/data/dev" + echo "" + echo "If using Colima template, ensure your ~/.colima/default/colima.yaml has:" + echo " mounts:" + echo " - location: $repo_root" + echo " writable: true" + else + echo "This is a Docker Desktop file sharing issue. To fix:" + echo "1. Open Docker Desktop -> Settings -> Resources -> File sharing" + echo "2. Add or verify: $repo_root" + echo "3. Click 'Apply & Restart'" + fi echo "" echo "Alternatively, run: mkdir -p $repo_root/data/dev/{redis,minio,prometheus,grafana,loki,logs,experiments,active,workspaces}" exit 1