add level 4

This commit is contained in:
Матвей
2026-10-22 11:37:09 +03:00
parent e9ef559c34
commit 9017861707
24 changed files with 571 additions and 31 deletions
+17 -2
View File
@@ -29,9 +29,9 @@ test-failover:
@test -n "$(ACTION_SCRIPT)" || (echo "Set ACTION_SCRIPT to your implemented executable stop-one hook"; exit 2)
$(PYTHON) tests/resilience.py --mode failover --action-script "$(ACTION_SCRIPT)" --base-url "$(BASE_URL)" $(TLS_ARGS)
.PHONY: test-attachments test-private test-upload-failover test-s3-outage
.PHONY: test-attachments test-private test-upload-failover test-s3-outage reconcile reconcile-apply test-reconcile test-upload-memory test-s3-permissions
test-attachments:
$(PYTHON) student-tests/attachments.py --base-url "$(BASE_URL)"
uv run python student-tests/attachments.py --base-url "$(BASE_URL)"
test-private:
$(PYTHON) student-tests/attachment_resilience.py --mode private --base-url "$(BASE_URL)"
@@ -41,3 +41,18 @@ test-upload-failover:
test-s3-outage:
$(PYTHON) student-tests/attachment_resilience.py --mode s3-outage --base-url "$(BASE_URL)"
reconcile:
docker compose --profile maintenance run --rm --no-deps reconcile --grace-seconds 3600
reconcile-apply:
docker compose --profile maintenance run --rm --no-deps reconcile --apply --grace-seconds 3600
test-reconcile:
$(PYTHON) student-tests/reconcile.py --base-url "$(BASE_URL)"
test-upload-memory:
uv run python student-tests/upload_memory.py --base-url "$(BASE_URL)"
test-s3-permissions:
$(PYTHON) student-tests/s3_permissions.py --base-url "$(BASE_URL)"