mirror of
https://github.com/azaion/detections.git
synced 2026-04-25 23:06:31 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 242fb11bbe | |||
| e1cc76e616 | |||
| a7c055a373 | |||
| 7db192a967 | |||
| 9f073293cc |
@@ -0,0 +1,15 @@
|
|||||||
|
when:
|
||||||
|
event: [manual]
|
||||||
|
|
||||||
|
labels:
|
||||||
|
platform: arm64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: e2e-smoke-jetson
|
||||||
|
image: docker
|
||||||
|
commands:
|
||||||
|
- apk add --no-cache bash docker-cli-compose
|
||||||
|
- cd e2e
|
||||||
|
- E2E_PROFILE=jetson bash run_test.sh tests/test_health_engine.py
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
@@ -74,7 +74,6 @@ services:
|
|||||||
JWT_SECRET: test-secret-e2e-only
|
JWT_SECRET: test-secret-e2e-only
|
||||||
CLASSES_JSON_PATH: /app/classes.json
|
CLASSES_JSON_PATH: /app/classes.json
|
||||||
volumes:
|
volumes:
|
||||||
- ./fixtures/classes.json:/app/classes.json:ro
|
|
||||||
- ./fixtures:/media:ro
|
- ./fixtures:/media:ro
|
||||||
- ./logs:/app/Logs
|
- ./logs:/app/Logs
|
||||||
shm_size: 512m
|
shm_size: 512m
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
pytest
|
pytest
|
||||||
pytest-csv
|
pytest-csv
|
||||||
requests==2.32.4
|
requests==2.32.4
|
||||||
|
PyJWT==2.12.1
|
||||||
sseclient-py
|
sseclient-py
|
||||||
pytest-timeout
|
pytest-timeout
|
||||||
flask
|
flask
|
||||||
|
|||||||
+1
-1
@@ -54,7 +54,7 @@ done
|
|||||||
|
|
||||||
echo "--- Running: pytest $* -v -x -s --csv=/results/report.csv"
|
echo "--- Running: pytest $* -v -x -s --csv=/results/report.csv"
|
||||||
set +e
|
set +e
|
||||||
$COMPOSE run --rm --no-deps e2e-runner pytest "$@" -v -x -s --csv=/results/report.csv
|
$COMPOSE run --rm --build --no-deps e2e-runner pytest "$@" -v -x -s --csv=/results/report.csv
|
||||||
EXIT_CODE=$?
|
EXIT_CODE=$?
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user