feat(ci): последовательный deploy IFT -> E2E -> stage -> E2E.
CI / test (push) Successful in 2m21s
CI / push-image (push) Successful in 4m7s
CI / ci-done (push) Successful in 0s

Stage деплоится только после полного UI-сьюта на IFT; после stage — E2E на stage (ift-ui/stage-ui + smoke).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-16 11:31:22 +03:00
parent e577c02eb3
commit 840f06e68e
7 changed files with 152 additions and 52 deletions
+3 -2
View File
@@ -29,7 +29,8 @@ Helper: `src/lib/testid.ts`.
| Команда | Назначение |
|---------|------------|
| `npm run test:e2e` | mock-suite (CI / PR), API через Playwright route |
| `npm run test:e2e:ift` | IFT smoke (живой API), см. ниже |
| `npm run test:e2e:ift` | IFT: полный UI-сьют на живом SPA + smoke API |
| `npm run test:e2e:stage` | stage: полный UI-сьют на живом SPA + smoke API |
### IFT / stage учётки
@@ -42,4 +43,4 @@ Helper: `src/lib/testid.ts`.
Локально: `set -a && source /path/to/ift/.env && set +a && npm run test:e2e:ift`.
Workflow `e2e-ift.yml` после Deploy IFT читает те же ключи по SSH с `/opt/eventhub-ift/.env` (нужны уже имеющиеся `IFT_SSH_*`). Опц. secret `E2E_IFT_BASE_URL`.
Workflow `e2e-ift.yml` / `e2e-stage.yml` читают те же ключи по SSH с `/opt/eventhub-{ift,stage}/.env`. Опц. secrets `E2E_IFT_BASE_URL`, `E2E_STAGE_BASE_URL`.