👷 Add pipeline to generate WAF configuration and export it
Decision record
We need to validate the compliancy of the WAF configuration before deploying it in production.
This PR introduces a new CI pipeline to facilitate this operation.
Every environment variable used by the Docker container to generate the configuration can be supplied as Gitlab CI variable for the export.
Example: https://code.europa.eu/digit-c4/rps/waf/-/jobs/860146/artifacts/browse/out/
Changes
-
♻️ 🐳 Extract WAF configuration generation fromstart-webserver.sh
into a new script callable from CI -
👷 Add pipeline to generate WAF configuration and export it, saves it as pipeline artifact
Edited by David Jose DELASSUS