apps(osint): 58f71f5b4520 — future-dated items dropped at ingest, hidden in /api/news
PR #52: the Scrapy pipeline drops items dated >2h ahead (event listings were pinning ORDER BY timestamp DESC), and /api/news excludes rows where timestamp > now() as a second guard. Rebuild app + scraper at the merge sha.
This commit is contained in:
parent
46aec23af7
commit
ff1dc24b93
4 changed files with 5 additions and 5 deletions
|
|
@ -24,7 +24,7 @@ spec:
|
|||
initContainers:
|
||||
# Wait for Postgres before alembic runs (the entrypoint migrates).
|
||||
- name: wait-for-db
|
||||
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-84ea0a17b1af
|
||||
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-58f71f5b4520
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- python
|
||||
|
|
@ -42,7 +42,7 @@ spec:
|
|||
sys.exit("postgres did not become reachable in 300s")
|
||||
containers:
|
||||
- name: app
|
||||
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-84ea0a17b1af
|
||||
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-58f71f5b4520
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ spec:
|
|||
kubernetes.io/hostname: siriussec
|
||||
containers:
|
||||
- name: camera-service
|
||||
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-84ea0a17b1af
|
||||
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-58f71f5b4520
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: ["python", "app/run_camera_service.py"]
|
||||
envFrom:
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ spec:
|
|||
kubernetes.io/hostname: siriussec
|
||||
containers:
|
||||
- name: ingester
|
||||
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-84ea0a17b1af
|
||||
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-58f71f5b4520
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: ["python", "app/run_ingester.py"]
|
||||
envFrom:
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ spec:
|
|||
kubernetes.io/hostname: siriussec
|
||||
containers:
|
||||
- name: news-scraper
|
||||
image: forgejo.siriusdevops.com/sirius/osint-news-scraper:amd64-c48788d4b614
|
||||
image: forgejo.siriusdevops.com/sirius/osint-news-scraper:amd64-58f71f5b4520
|
||||
imagePullPolicy: IfNotPresent
|
||||
# Image ENTRYPOINT is `scrapy`; the loop crawls, sleeps, crawls again.
|
||||
command: ["python", "run_news_scraper.py"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue