docs: ⛔ TESTING.md — NEVER run tests against PROD API

This commit is contained in:
“Naeel”
2026-06-30 18:42:24 +04:00
parent 3b6b5ba3c4
commit d99f70c7f4
2 changed files with 42 additions and 0 deletions
+3
View File
@@ -7,6 +7,9 @@
- **Токен работает, но не на этом endpoint** → токены привязаны к стендам (prod/test/dev)
- Правильный curl: `curl -H "User-Agent: Mozilla/5.0 ..." -H "Authorization: Bearer <JWT>" https://deck-api(-test|-dev).ngcloud.ru/api/v1/index.cfm/...`
## Тестирование
> **⛔ Тесты в PROD не прогонять!** Подробнее: [`docs/ops/TESTING.md`](TESTING.md)
## Registry Server не отвечает
1. `kubectl -n terraform-registry get pods -l app=registry-server`
2. `kubectl -n terraform-registry logs -l app=registry-server --tail=100`