Files
detections/.woodpecker/e2e-smoke-jetson.yml
T
Roman Meshko a2276db598
ci/woodpecker/push/02-build-push Pipeline was successful
ci/woodpecker/manual/02-build-push Pipeline was successful
ci/woodpecker/manual/01-test Pipeline failed
ci/woodpecker/manual/e2e-convert-jetson Pipeline was successful
Fixed tests
2026-05-06 19:12:03 +03:00

39 lines
1.1 KiB
YAML

when:
- event: [manual]
evaluate: 'E2E_SMOKE_TEST == "1"'
labels:
platform: arm64
steps:
- name: e2e-smoke-jetson
image: docker
environment:
COMPOSE_PROJECT_NAME: detections-e2e-smoke-jetson
REGISTRY_HOST:
from_secret: registry_host
REGISTRY_USER:
from_secret: registry_user
REGISTRY_TOKEN:
from_secret: registry_token
commands:
- apk add --no-cache bash docker-cli-compose
- echo "$REGISTRY_TOKEN" | docker login "$REGISTRY_HOST" -u "$REGISTRY_USER" --password-stdin
- |
cd e2e
cleanup() {
docker compose -f docker-compose.test.yml --profile jetson down -v --remove-orphans || true
}
trap cleanup EXIT
if [ ! -f fixtures/image_small.jpg ]; then
echo "ERROR: fixtures/image_small.jpg is missing; cannot warm up Jetson engine"
exit 1
fi
ls -lh fixtures/image_small.jpg
bash scripts/pull_jetson_engine.sh
E2E_PROFILE=jetson bash run_test.sh tests/test_health_engine.py::TestHealthEngineStep03Warmed -rs
volumes:
- /var/run/docker.sock:/var/run/docker.sock