ЛР 3: балансировка, идемпотентность и failover — на 3
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
name: Student application
|
||||
on: [push, pull_request]
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
application:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Generate local synthetic configuration
|
||||
shell: pwsh
|
||||
run: ./scripts/init-env.ps1
|
||||
- name: Build and start
|
||||
run: |
|
||||
docker compose config --quiet
|
||||
docker compose up -d --build
|
||||
- name: Verify both replicas and run the public smoke test
|
||||
run: |
|
||||
python3 student-tests/grade3.py ready
|
||||
make test PYTHON=python3
|
||||
- name: Stop the CI stack
|
||||
if: always()
|
||||
run: docker compose down
|
||||
Reference in New Issue
Block a user