mirror of
https://github.com/azaion/detections.git
synced 2026-06-23 09:51:08 +00:00
Changed smoke-test to wait AI conversion
ci/woodpecker/manual/e2e-smoke-jetson Pipeline was canceled
ci/woodpecker/manual/e2e-smoke-jetson Pipeline was canceled
This commit is contained in:
+8
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user