platform: modularize api/gui, add docs-tests-web foundation, and refresh root config

This commit is contained in:
beckline
2026-03-26 22:40:54 +03:00
parent 0e2d7f61ea
commit 6a56d734c2
562 changed files with 70151 additions and 16423 deletions

33
tests/run_all.sh Executable file
View File

@@ -0,0 +1,33 @@
#!/usr/bin/env bash
set -euo pipefail
API_URL="${API_URL:-http://127.0.0.1:8080}"
echo "[run_all] API_URL=${API_URL}"
run() {
local name="$1"
shift
echo "[run_all] >>> ${name}"
"$@"
echo "[run_all] <<< ${name}: OK"
}
run "api_sanity" env API_URL="${API_URL}" ./tests/api_sanity.sh
run "transport_packaging_smoke" ./tests/transport_packaging_smoke.sh
run "transport_packaging_auto_update" ./tests/transport_packaging_auto_update.sh
run "transport_packaging_policy_rollout" ./tests/transport_packaging_policy_rollout.sh
run "vpn_locations_swr" env API_URL="${API_URL}" ./tests/vpn_locations_swr.sh
run "trace_append" env API_URL="${API_URL}" ./tests/trace_append.sh
run "events_stream" env API_URL="${API_URL}" ./tests/events_stream.py
run "vpn_login_flow" env API_URL="${API_URL}" ./tests/vpn_login_flow.py
run "transport_flow" env API_URL="${API_URL}" ./tests/transport_flow_smoke.py
run "transport_platform_compatibility" env API_URL="${API_URL}" ./tests/transport_platform_compatibility_smoke.py
run "transport_runbook_cli" env API_URL="${API_URL}" ./tests/transport_runbook_cli_smoke.sh
run "transport_recovery_runbook" env API_URL="${API_URL}" ./tests/transport_recovery_runbook_smoke.sh
run "transport_systemd_real_e2e" env API_URL="${API_URL}" ./tests/transport_systemd_real_e2e.py
run "transport_production_like_e2e" env API_URL="${API_URL}" ./tests/transport_production_like_e2e.py
run "transport_singbox_e2e" env API_URL="${API_URL}" ./tests/transport_singbox_e2e.py
run "transport_dnstt_e2e" env API_URL="${API_URL}" ./tests/transport_dnstt_e2e.py
run "transport_phoenix_e2e" env API_URL="${API_URL}" ./tests/transport_phoenix_e2e.py
echo "[run_all] all smoke tests passed"