ЛР 5: очередь и асинхронная обработка изображений
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user