ЛР 3 — БВТ2303 — Брезгунова — на 5

This commit is contained in:
2026-10-22 14:21:19 +03:00
parent 0ab3a341aa
commit 59adbebe68
124 changed files with 125809 additions and 54 deletions
+23
View File
@@ -6,6 +6,29 @@ TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
.PHONY: help check validate test load test-persistence test-failover
.PHONY: bootstrap up down restore rolling integration resilience research verify figures
bootstrap:
$(PYTHON) scripts/bootstrap.py
up: bootstrap
docker compose --env-file .env up -d --build --wait
down:
docker compose --env-file .env down
restore:
$(PYTHON) scripts/actions.py restore
rolling:
docker compose --env-file .env build api
$(PYTHON) scripts/actions.py rolling
integration:
$(PYTHON) student-tests/integration.py
resilience:
$(PYTHON) student-tests/resilience_load.py
research:
$(PYTHON) student-tests/research.py --duration 20 --repeats 3
verify:
$(PYTHON) student-tests/verify.py
figures:
$(PYTHON) student-tests/plot_results.py
help:
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes"