Files
cc-ci/tests/discourse/recipe_meta.py
autonomic-bot ca7acf3d52 feat(2): Q4.6 discourse — recipe_meta + postgres P4 overlays + health (WIP, §4.3 create-topic next)
discourse (forum: postgres+redis+sidekiq). HEALTH_PATH=/srv/status (slow Rails boot, DEPLOY_TIMEOUT=1800).
P4 via postgres ci_marker (db service, pg_dump backupbot — matrix-synapse pattern). Health functional
test. §4.3 create-a-topic + PARITY.md to follow after smoke discovers the admin/API bootstrap path.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 20:38:25 +01:00

12 lines
594 B
Python

# Per-recipe harness config for discourse (Phase 2 Q4.6 — forum; postgres + redis + sidekiq).
#
# Discourse (bitnami/discourse) is a slow-booting Rails app: the recipe healthcheck polls
# /srv/status with a 5-minute start_period, and a cold first boot (DB migrate + asset precompile)
# regularly takes 8-15 min, so the deploy/HTTP timeouts are generous. /srv/status returns 200 only
# once the app is actually serving (the canonical "is discourse up" signal — NOT "/", which may
# redirect to setup).
HEALTH_PATH = "/srv/status"
HEALTH_OK = (200,)
DEPLOY_TIMEOUT = 1800
HTTP_TIMEOUT = 1200