forked from mtusi2026/mtusi2026lab4
feat: add minio
This commit is contained in:
@@ -5,7 +5,7 @@ ACTION_SCRIPT ?=
|
||||
COMPOSE = docker compose --project-name highload-lab4 --env-file .env -f compose.yml
|
||||
TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
|
||||
|
||||
.PHONY: help check validate test load test-persistence test-failover
|
||||
.PHONY: help check validate test load test-persistence test-failover test-grade3 test-grade3-failures
|
||||
.PHONY: app-init app-build app-up app-start app-stop app-down app-restart app-logs app-status test-backend test-baseline test-baseline-persistence
|
||||
|
||||
help:
|
||||
@@ -13,6 +13,7 @@ help:
|
||||
@echo "app-start: start without rebuilding; app-stop: stop and keep containers"
|
||||
@echo "app-down: remove containers and networks, keeping data volumes"
|
||||
@echo "app-restart: restart the stack; app-logs / app-status: inspect services"
|
||||
@echo "test-grade3 / test-grade3-failures: attachment checks; second target temporarily stops this stack services"
|
||||
@echo "test-backend: Go race tests; test-baseline: transferred API checks"
|
||||
@echo "test-baseline-persistence: transferred API checks across a restart"
|
||||
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes"
|
||||
@@ -54,6 +55,12 @@ test-baseline:
|
||||
test-baseline-persistence:
|
||||
$(PYTHON) scripts/check_baseline.py --base-url "$(BASE_URL)" --restart
|
||||
|
||||
test-grade3:
|
||||
$(PYTHON) scripts/check_grade3.py --base-url "$(BASE_URL)"
|
||||
|
||||
test-grade3-failures:
|
||||
$(PYTHON) scripts/check_grade3.py --base-url "$(BASE_URL)" --failures
|
||||
|
||||
check:
|
||||
$(PYTHON) scripts/check_contract.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user