Compare commits
No commits in common. "77b4f7e64c0a02c81e0301540df6164a6093c045" and "b8fd7771b81f714aeaf7c16ba4323e6604c817aa" have entirely different histories.
77b4f7e64c
...
b8fd7771b8
2 changed files with 1 additions and 12 deletions
|
|
@ -276,13 +276,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
IMAGE_TAG: latest
|
IMAGE_TAG: latest
|
||||||
GHCR_PAT: ${{ secrets.GHCR_PAT }}
|
GHCR_PAT: ${{ secrets.GHCR_PAT }}
|
||||||
# Phase 0: generic infra edits (compose / workflow / deploy/**) must NOT
|
SCRAPER_CHANGED: ${{ needs.changes.outputs.scraper == 'true' || needs.changes.outputs.infra == 'true' || github.event_name == 'workflow_dispatch' }}
|
||||||
# recreate the scraper and SIGKILL a running multi-hour job. Only genuine
|
|
||||||
# scraper-code paths (the `scraper` paths-filter already covers
|
|
||||||
# app/services/scrapers/**, scrape_pipeline.py, scheduler.py,
|
|
||||||
# scheduler_main.py, app/tasks/**) — or a manual workflow_dispatch —
|
|
||||||
# should trigger a scraper recreate. (infra term intentionally dropped.)
|
|
||||||
SCRAPER_CHANGED: ${{ needs.changes.outputs.scraper == 'true' || github.event_name == 'workflow_dispatch' }}
|
|
||||||
GITHUB_SHA: ${{ github.sha }}
|
GITHUB_SHA: ${{ github.sha }}
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.DEPLOY_HOST }}
|
host: ${{ secrets.DEPLOY_HOST }}
|
||||||
|
|
|
||||||
|
|
@ -129,11 +129,6 @@ services:
|
||||||
browser:
|
browser:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# Phase 1: give the in-flight scrape unit (browser card ~15-27s) time to finish
|
|
||||||
# + checkpoint on SIGTERM before Docker SIGKILLs. Default grace is only 10s, which
|
|
||||||
# SIGKILLs a running card mid-flight. (Cooperative-drain handler lands in a later phase.)
|
|
||||||
stop_grace_period: 120s
|
|
||||||
stop_signal: SIGTERM
|
|
||||||
networks:
|
networks:
|
||||||
- tradein-net
|
- tradein-net
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue