Implement lab4 private S3 attachments, safe reconciliation and defense guide

This commit is contained in:
2026-10-29 21:36:49 +03:00
parent ec540a1a72
commit 6039524214
61 changed files with 5029 additions and 23 deletions
+34
View File
@@ -0,0 +1,34 @@
name: solution
on: [push, pull_request]
permissions:
contents: read
jobs:
application:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Fresh stack, contract and public API
run: |
make up
make check
make test
- name: Real PostgreSQL and race detector
run: make test-race
- name: Student HTTP cases
run: python3 student-tests/attachments.py --base-url http://localhost:8084
- name: Persistence of existing session and data
run: make test-persistence ACTION_SCRIPT=scripts/restart.sh
- name: API failover through LB
run: make test-failover ACTION_SCRIPT=scripts/stop-one.sh
- name: Safe diagnostics
if: always()
run: docker compose logs --tail 100 > evidence/ci-containers.txt
- uses: actions/upload-artifact@v4
if: always()
with:
name: solution-evidence
path: evidence/
- name: Dispose this CI-only stack
if: always()
run: docker compose --profile verify down -v --remove-orphans