Fixed tests
ci/woodpecker/push/02-build-push Pipeline was successful
ci/woodpecker/manual/02-build-push Pipeline was successful
ci/woodpecker/manual/01-test Pipeline was successful
ci/woodpecker/manual/e2e-convert-jetson Pipeline failed

This commit is contained in:
Roman Meshko
2026-05-06 17:25:31 +03:00
parent cd6c2d5985
commit cb1d2ca19a
2 changed files with 25 additions and 11 deletions
+15 -8
View File
@@ -9,6 +9,7 @@ steps:
- name: e2e-convert-jetson
image: docker
environment:
COMPOSE_PROJECT_NAME: detections-e2e-convert-jetson
REGISTRY_HOST:
from_secret: registry_host
REGISTRY_USER:
@@ -18,13 +19,19 @@ steps:
commands:
- apk add --no-cache bash docker-cli-compose
- echo "$REGISTRY_TOKEN" | docker login "$REGISTRY_HOST" -u "$REGISTRY_USER" --password-stdin
- cd e2e
- >
E2E_PROFILE=jetson
E2E_WAIT_FOR_ENGINE_ENABLED=1
E2E_ENGINE_WAIT_TIMEOUT=3600
E2E_LOG_TAIL=300
bash run_test.sh tests/test_health_engine.py::TestHealthEngineStep03Warmed
- bash scripts/publish_jetson_engine.sh
- |
cd e2e
cleanup() {
docker compose -f docker-compose.test.yml --profile jetson down -v --remove-orphans || true
}
trap cleanup EXIT
E2E_PROFILE=jetson \
E2E_WAIT_FOR_ENGINE_ENABLED=1 \
E2E_ENGINE_WAIT_TIMEOUT=3600 \
E2E_LOG_TAIL=300 \
bash run_test.sh tests/test_health_engine.py::TestHealthEngineStep03Warmed
bash scripts/publish_jetson_engine.sh
volumes:
- /var/run/docker.sock:/var/run/docker.sock