Merge pull request 'fix(tradein/deploy): scraper+backend paths-filter — matching/dedup/scraper-kit trigger rebuilds (#2188)' (#2199) from fix/tradein-deploy-scraper-paths-filter into main
All checks were successful
Deploy Trade-In / changes (push) Successful in 8s
Deploy Trade-In / build-frontend (push) Successful in 30s
Deploy Trade-In / build-browser (push) Successful in 31s
Deploy Trade-In / test (push) Successful in 1m41s
Deploy Trade-In / build-backend (push) Successful in 34s
Deploy Trade-In / deploy (push) Successful in 59s
All checks were successful
Deploy Trade-In / changes (push) Successful in 8s
Deploy Trade-In / build-frontend (push) Successful in 30s
Deploy Trade-In / build-browser (push) Successful in 31s
Deploy Trade-In / test (push) Successful in 1m41s
Deploy Trade-In / build-backend (push) Successful in 34s
Deploy Trade-In / deploy (push) Successful in 59s
This commit is contained in:
commit
d8ea4f2fd7
1 changed files with 12 additions and 0 deletions
|
|
@ -103,6 +103,10 @@ jobs:
|
||||||
filters: |
|
filters: |
|
||||||
backend:
|
backend:
|
||||||
- 'tradein-mvp/backend/**'
|
- 'tradein-mvp/backend/**'
|
||||||
|
# scraper-kit вкомпилирован в backend-образ (build context tradein-mvp/,
|
||||||
|
# scheduler_main импортирует пакет) — kit-only изменение обязано
|
||||||
|
# пересобрать образ, иначе деплой рестартует контейнеры на старом.
|
||||||
|
- 'tradein-mvp/packages/scraper-kit/**'
|
||||||
frontend:
|
frontend:
|
||||||
- 'tradein-mvp/frontend/**'
|
- 'tradein-mvp/frontend/**'
|
||||||
browser:
|
browser:
|
||||||
|
|
@ -117,6 +121,14 @@ jobs:
|
||||||
- 'tradein-mvp/backend/app/services/scheduler.py'
|
- 'tradein-mvp/backend/app/services/scheduler.py'
|
||||||
- 'tradein-mvp/backend/app/scheduler_main.py'
|
- 'tradein-mvp/backend/app/scheduler_main.py'
|
||||||
- 'tradein-mvp/backend/app/tasks/**'
|
- 'tradein-mvp/backend/app/tasks/**'
|
||||||
|
# #2188: scheduler исполняет matching/dedup при каждом scrape-тике —
|
||||||
|
# без этих путей scraper-контейнер оставался на старом коде
|
||||||
|
# (2026-07-02: fias-dedup доехал до tradein-backend, но не до
|
||||||
|
# tradein-scraper). После USE_KIT_SCHEDULER=true kit-код и есть
|
||||||
|
# scheduler — его правки тоже обязаны пересоздавать контейнер.
|
||||||
|
- 'tradein-mvp/backend/app/services/matching/**'
|
||||||
|
- 'tradein-mvp/backend/app/services/house_dedup_merge.py'
|
||||||
|
- 'tradein-mvp/packages/scraper-kit/**'
|
||||||
|
|
||||||
# Quality gate: pytest MUST pass before any image is built/deployed (#666).
|
# Quality gate: pytest MUST pass before any image is built/deployed (#666).
|
||||||
# Runs the tradein-mvp/backend suite; a red test blocks build + deploy.
|
# Runs the tradein-mvp/backend suite; a red test blocks build + deploy.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue