forked from mtusi2026/mtusi2026lab6
fix(lab6): preserve lab5 resilience and reproducible recovery
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: Application smoke
|
||||
on: [push, pull_request]
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
application:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
- name: Prepare isolated lab credentials
|
||||
run: |
|
||||
sh scripts/init-secrets.sh
|
||||
cp .env.example .env
|
||||
docker compose --env-file .env config --quiet
|
||||
- name: Build and wait for application
|
||||
run: docker compose --env-file .env up -d --build --wait --wait-timeout 120
|
||||
- name: Check contract and public scenario
|
||||
run: make check test PYTHON=python BASE_URL=http://127.0.0.1:8080
|
||||
- name: Stop disposable CI stack
|
||||
if: always()
|
||||
run: docker compose --env-file .env down
|
||||
Reference in New Issue
Block a user