Skip to content

svix/webhooks: Allow svix/webhooks to be initialized at startup through configuration

Antoine R. Dumont requested to merge make-next-version-independent into staging

(better reviewed one commit at a time)

The same way the other swh services are initialized, this allows to declare extra configuration to register:

  • the default event types
  • the endpoint origin.visit

It's off by default so no impact for production environments.

In an empty environment, this allows to automate and replace the manual steps required to happen in toolbox.

This activates the necessary configuration in the minikube environment so it can start out of the box.

This also adds the toolbox configuration so we can execute swh webhooks or svix-cli action in the svix backend. (The toolbox image got enhanced too to have the svix-cli available).

Refs. swh/infra/sysadm-environment#5344 (closed)

Edited by Antoine R. Dumont

Merge request reports

Loading