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 Jan 3 2023, 11:49 AM
Differential Revision
D8983: jobs/tools: Add setup-gitlab-webhooks job
Parents
rCJSWH6737a1e5303d: jobs/tools: Add jenkins-jobs-builder job
Branches
Unknown
Tags
Unknown