-
Notifications
You must be signed in to change notification settings - Fork 3
Web app: Configuration
The web app's template folder is set to root (repo root) instead of the usual templates/
folder. The web app loads Kubernetes configuration automatically if it loads inside a Kubernetes context but otherwise skips loading it (this is done to make tests pass). It also requires a secrets.yaml
file at root (system root) containing a random credential (in our case, it's an uuid generated on a different host with sufficient entropy).
webhook_secret: <credential>
If no webhook_secret
is loaded, the app simply ignores signature validation and redeploys on every valid POST request (this is not recommended, and the option exists to make tests pass outside of production contexts).
Copyright (C) 2020 QEDK Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
- Home
- Building dependencies
- goodbot
- ircbot
- parsebot
- Web app
- Running
- Toolforge
- Style guidelines
- GNU Free Documentation License