forked from mtusi2026/mtusi2026lab3
ЛР 3 — БВТ2303 — Брезгунова — на 5
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user