Code development platform for open source projects from the European Union institutions

Skip to content

👷 Add pipeline to generate WAF configuration and export it

David Jose DELASSUS requested to merge qol-waf-config-ci into main

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 from start-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

Merge request reports

Loading