forked from mtusi2026/mtusi2026lab2
Evidence для ЛР 2 на 3: smoke, persistence, миграции
This commit is contained in:
@@ -0,0 +1 @@
|
||||
api-1 | 2026-11-02 22:31:51,587 [INFO] [req_id=-] Applied migration 001_init.sql
|
||||
@@ -0,0 +1,3 @@
|
||||
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8080"
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,3 @@
|
||||
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
||||
mtusi-lab2-api-1 mtusi-messenger:lab2 "sh -c 'exec uvicorn…" api 38 minutes ago Up Less than a second (health: starting) 127.0.0.1:8080->8080/tcp
|
||||
mtusi-lab2-postgres-1 postgres:16.6-alpine "docker-entrypoint.s…" postgres 38 minutes ago Up 5 seconds (healthy) 5432/tcp
|
||||
@@ -0,0 +1,3 @@
|
||||
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
||||
mtusi-lab2-api-1 mtusi-messenger:lab2 "sh -c 'exec uvicorn…" api 38 minutes ago Up 39 seconds (healthy) 127.0.0.1:8080->8080/tcp
|
||||
mtusi-lab2-postgres-1 postgres:16.6-alpine "docker-entrypoint.s…" postgres 38 minutes ago Up 44 seconds (healthy) 5432/tcp
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
|
||||
Reference in New Issue
Block a user