ЛР 3 — БВТ-2302 — Сабитов — на 3

This commit is contained in:
2026-12-01 18:09:13 +03:00
parent 0ab3a341aa
commit d79bf5c481
36 changed files with 1944 additions and 36 deletions
+28
View File
@@ -0,0 +1,28 @@
name: Lab 3 application
on: [push, pull_request]
permissions:
contents: read
jobs:
compose:
runs-on: ubuntu-24.04
timeout-minutes: 15
env:
COMPOSE_PROJECT_NAME: mtusi-lab3-ci
PYTHONUTF8: '1'
steps:
- uses: actions/checkout@v4
- name: Create local synthetic credentials
run: python3 scripts/init_env.py
- name: Smoke, persistence and both replica failures
shell: bash
run: |
set -o pipefail
sh scripts/verify-linux.sh 2>&1 | tee evidence/results-ci.txt
- name: Stop the test stack and retain data volume
if: always()
run: docker compose --env-file .env stop
- uses: actions/upload-artifact@v4
if: always()
with:
name: lab3-verification
path: evidence/results-ci.txt