feat: перенос core логиги

This commit is contained in:
Enterxx2
2026-11-24 00:49:06 +03:00
parent 20afc2c790
commit 4829fc7b4e
156 changed files with 11093 additions and 27 deletions
+12 -2
View File
@@ -4,10 +4,11 @@ CA_FILE ?=
ACTION_SCRIPT ?=
TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
.PHONY: help check validate test load test-persistence test-failover test-security
.PHONY: help check validate test load test-persistence test-failover test-security init up down
help:
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes"
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running HTTPS API; load: synthetic writes"
@echo "init: local settings and secrets; up/down: starting Compose stack"
check:
$(PYTHON) scripts/check_contract.py
@@ -31,3 +32,12 @@ test-failover:
test-security:
$(PYTHON) tests/security.py --base-url "$(BASE_URL)" $(TLS_ARGS)
init:
./scripts/init-secrets.sh
up:
docker compose up -d --build --wait
down:
docker compose --profile expiry down