Добавить compose-стенд, секреты и restart hook

This commit is contained in:
Pavel Grigorev
2026-10-30 16:43:07 +03:00
parent 0e70320df3
commit 5610e2326f
6 changed files with 180 additions and 5 deletions
+4 -1
View File
@@ -4,7 +4,7 @@ CA_FILE ?=
ACTION_SCRIPT ?=
TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
.PHONY: help check validate test load test-persistence
.PHONY: help check validate test load test-persistence student-test
help:
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes"
@@ -18,6 +18,9 @@ validate:
test:
$(PYTHON) tests/smoke.py --base-url "$(BASE_URL)" $(TLS_ARGS)
student-test:
BASE_URL="$(BASE_URL)" $(PYTHON) -m unittest discover -s student-tests -v
load:
$(PYTHON) tests/load.py --base-url "$(BASE_URL)" $(TLS_ARGS)