ЛР 5: очередь и асинхронная обработка изображений

This commit is contained in:
2026-11-11 19:59:42 +03:00
parent 276dbdad8a
commit af485c93d4
54 changed files with 1966 additions and 34 deletions
+27
View File
@@ -0,0 +1,27 @@
name: Lab5 application
on: [push, pull_request]
permissions:
contents: read
jobs:
integration:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: sh scripts/setup.sh
- run: docker compose --env-file .env up -d --build --wait --wait-timeout 180
- run: make test PYTHON=python BASE_URL=http://localhost:8085
- run: python scripts/verify-lab5.py --base-url http://localhost:8085
- name: Diagnostics
if: failure()
run: docker compose logs --tail=60 api1 api2 worker dispatcher broker
- uses: actions/upload-artifact@v4
if: always()
with:
name: pipeline-evidence
path: evidence/pipeline.*
- if: always()
run: docker compose down