HomeSoftware Heritage

jobs/tools: Add setup-gitlab-webhooks job

Description

jobs/tools: Add setup-gitlab-webhooks job

This job is responsible to setup the webhooks on swh GitLab repositories
enabling to trigger Jenkins builds when pushing changes or creating merge
requests.

It parses Jenkins jobs builder YAML configuration to get the name of the
repos with CI setup and set webhook URLs in GitLab projects through HTTP
requests to the GitLab REST API.

It is triggered at the end of the swh-jenkins-jobs-builder job after jobs
have been reconfigured.

Details

Provenance
anlambertAuthored on Dec 14 2022, 4:36 PM
anlambertPushed on Dec 23 2022, 6:36 PM
Parents
rCJSWHbd3e09c12d88: jobs/tools: Add jenkins-jobs-builder job
Branches
Unknown
Tags
Unknown