forked from mtusi2026/mtusi2026lab3
Give every level 4 check one make target
make limits, make lb-check (now 20 rounds of 8 parallel posts with one key), make detection, make failover-each and make rolling-update each write their file in evidence/ and fail on a violated check; make level4 runs them in order. RATE sets the k6 arrival rate (100 rps by default). make rolling-update builds the image before the load starts so the build does not skew the measurement; with FROM_REV=<commit> it first builds the image tag from git archive of that commit and recreates the replicas on it, so the update is a real change of version, and it writes to evidence/rolling-from-<commit>. Lint covers scripts/limits.py. CI acceptance runs make limits and make detection. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
3584501de8
commit
eb04fc10e3
@@ -49,6 +49,12 @@ jobs:
|
||||
- name: Отказы Valkey и PostgreSQL, гонка и rollback
|
||||
run: make test-faults
|
||||
|
||||
- name: Лимиты, порты, секреты, volumes и сети по политике
|
||||
run: make limits
|
||||
|
||||
- name: Время обнаружения отказа балансировщиком (SIGTERM, kill, pause, PostgreSQL)
|
||||
run: make detection
|
||||
|
||||
- name: Наружу опубликован только балансировщик
|
||||
run: |
|
||||
docker compose ps --format '{{.Service}} {{.Ports}}' | awk '$2 != "" && $1 != "lb" {print; bad=1} END {exit bad}'
|
||||
|
||||
Reference in New Issue
Block a user