ЛР 5: outbox, retry и versioned pipeline — Майорова БВТ2301

This commit is contained in:
2026-10-27 18:20:39 +03:00
parent 276dbdad8a
commit 55a41e17c9
64 changed files with 10106 additions and 45 deletions
+26
View File
@@ -0,0 +1,26 @@
name: Application
on: [push, pull_request]
permissions:
contents: read
jobs:
application:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
BASE_URL: http://127.0.0.1:18091
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: |
python scripts/bootstrap.py
docker compose build api
docker compose up -d --wait
python scripts/wait_ready.py
make check test test-student BASE_URL=$BASE_URL
make test-failover ACTION_SCRIPT=scripts/stop-one.sh BASE_URL=$BASE_URL
docker compose up -d --wait --no-deps api
make test-persistence ACTION_SCRIPT=scripts/restart.sh BASE_URL=$BASE_URL
- if: always()
run: docker compose down