Changed smoke-test to wait AI conversion
ci/woodpecker/manual/e2e-smoke-jetson Pipeline was canceled

This commit is contained in:
Roman Meshko
2026-04-26 23:42:09 +03:00
parent 73c9d57827
commit c7d5d11f6a
2 changed files with 39 additions and 2 deletions
+8 -1
View File
@@ -19,6 +19,13 @@ case "$PROFILE" in
esac
COMPOSE="docker compose -f docker-compose.test.yml --profile $PROFILE"
RUNNER_ENV_ARGS=(-e E2E_PROFILE="$PROFILE")
if [[ "$PROFILE" == "jetson" ]]; then
RUNNER_ENV_ARGS+=(
-e E2E_WAIT_FOR_ENGINE_ENABLED="${E2E_WAIT_FOR_ENGINE_ENABLED:-1}"
-e E2E_ENGINE_WAIT_TIMEOUT="${E2E_ENGINE_WAIT_TIMEOUT:-900}"
)
fi
usage() {
echo "Usage: $0 <test_path> [pytest_args...]"
@@ -54,7 +61,7 @@ done
echo "--- Running: pytest $* -v -x -s --csv=/results/report.csv"
set +e
$COMPOSE run --rm --build --no-deps e2e-runner pytest "$@" -v -x -s --csv=/results/report.csv
$COMPOSE run --rm --build --no-deps "${RUNNER_ENV_ARGS[@]}" e2e-runner pytest "$@" -v -x -s --csv=/results/report.csv
EXIT_CODE=$?
set -e