LR6: monitoring and SLO

This commit is contained in:
R0flyan
2026-11-19 19:24:45 +03:00
parent 470d9d6f1e
commit 6a9c4175a4
75 changed files with 8734 additions and 42 deletions
+34
View File
@@ -0,0 +1,34 @@
name: Lab 6 smoke
on:
push:
pull_request:
permissions:
contents: read
jobs:
compose-smoke:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Build and start the Lab 6 stand
run: |
python3 scripts/bootstrap.py
docker compose --env-file .env config --quiet
docker compose --env-file .env up -d --build --wait --wait-timeout 180
- name: Check the contract and run the public smoke
run: |
make check
make test BASE_URL=http://127.0.0.1:8080
- name: Check rules and provisioned telemetry
run: |
docker compose exec -T prometheus promtool check config /etc/prometheus/prometheus.yml
python3 student-tests/observability.py correlation
- name: Show service state on failure
if: failure()
run: docker compose ps --all
- name: Stop containers
if: always()
run: docker compose down