issues/27: autotesting deploy verification section
This commit is contained in:
@@ -69,6 +69,20 @@ flowchart LR
|
||||
1. **Pre-deploy** — в workflow каждого приложения (`build.yml`).
|
||||
2. **Post-deploy** — репозиторий `sova-e2e`, ожидание Argo CD (`scripts/wait-for-argocd.sh`), отчёт Playwright HTML в artifacts.
|
||||
|
||||
## Проверка деплоя на test (локальная ферма)
|
||||
|
||||
После `./scripts/release-tag.sh backend backend-v1.0.6-test test` (и аналоги для adminpanel, cabinet, docs):
|
||||
|
||||
| Проверка | Команда / URL |
|
||||
|----------|----------------|
|
||||
| Образы в кластере | `kubectl get deploy -n sova-test` → теги `*-v1.0.x-test` |
|
||||
| API smoke | `curl -H "Host: api.test.sova.local" http://192.168.252.6/news/list` |
|
||||
| admin login | `curl -H "Host: admin.test.sova.local" http://192.168.252.6/login` |
|
||||
| Docs | `curl -H "Host: docs.sova.local" http://192.168.252.6/` (или `docs.test.sova.local` после sync ingress) |
|
||||
| Playwright | `cd sova-e2e && npm run test:smoke` |
|
||||
|
||||
Gitea Actions: артефакты `backend-coverage-*`, `adminpanel-coverage-*` (14 дней).
|
||||
|
||||
## Покрытие (test contour)
|
||||
|
||||
При теге `backend-v1.0.x-test` / `adminpanel-v1.0.x-test` в Gitea Actions → **Artifacts**:
|
||||
|
||||
Reference in New Issue
Block a user