Files
news-platform/deploy/systemd/writer-andebol.env.example
José AlvesandCursor bcb95f6a0e
Tests / writer-pipeline tests (push) Successful in 1m20s
Tests / bridge tests (push) Successful in 1m18s
Tests / frontend lib tests (push) Successful in 1m23s
Tests / writer-pipeline tests (pull_request) Successful in 1m27s
Tests / bridge tests (pull_request) Successful in 1m26s
Tests / frontend lib tests (pull_request) Successful in 1m25s
feat(writer-pipeline): report ingest failures to error hub (BIT-25125)
Wire run-cycle ingest and publish errors to errors.bitreport.pt using the
same reporter as bridge; document ERROR_REPORTING_* in writer env examples.

Paperclip-Agent: Artur Moreira (id ac1be104-8818-496a-80c5-fbc590a87855)
Paperclip-Issue: BIT-25125
Paperclip-Run: 06e3abea-e97b-481b-a1d5-70b286cf8983
Co-authored-by: Cursor <[email protected]>
2026-06-14 17:45:23 +00:00

29 lines
1.2 KiB
Bash

# Writer Pipeline — andebol.net environment
# Deploy to /etc/news-platform/writer-andebol.env on the LXC
# Secrets (WP app password) must be kept out of version control.
NODE_ENV=production
# WordPress REST API base for andebol.net (Docker compose service, port 8081)
ANDEBOL_WP_BASE=http://127.0.0.1:8081/wp-json
# WordPress application credentials — generate in WP Users → Application Passwords
ANDEBOL_WP_USER=writer-bot
ANDEBOL_WP_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx
# Optional — federation WebDAV photo library when article HTML has no og:image (BIT-22292).
# Secrets only in host env / vault — never commit real values.
# WRITER_WEBDAV_ENABLED=1
# WRITER_WEBDAV_BASE_URL=https://…/remote.php/dav/files/<user>/<folder>/
# WRITER_WEBDAV_USER=
# WRITER_WEBDAV_PASSWORD=
# WRITER_WEBDAV_DEFAULT_CREDIT=Foto: … (line used as WP media caption when filename has no Credit___pattern)
# Error hub ingest (errors.bitreport.pt) — token from vault only; never commit real values (BIT-25125)
# ERROR_REPORTING_ENDPOINT=https://errors.bitreport.pt
# ERROR_REPORTING_TOKEN=
ERROR_REPORTING_PROJECT_NAME=news-platform-writer-pipeline
ERROR_REPORTING_PROJECT_SLUG=news-platform
ERROR_REPORTING_GITEA_REPO=BitReport.pt/news-platform
# ERROR_REPORTING_DISABLED=1