Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 1. Configuring GitLab Webhooks to enable automated pipeline triggers


Set up webhooks in GitLab to automatically trigger pipeline runs in RHDH upon code updates.

Prerequisites

  • You must have integrated GitLab during the RHADS - SSC install process.
  • You have a source repository. To locate your application’s source code:

    1. On the RHDH platform, navigate to the Catalog, select an appropriate application where GitLab is configured as the repository host.
    2. Go to the Overview tab and select View Source to open the repository where your application’s source code is housed.
  • You have a Webhook URL and a Secret Token. You can find these credentials in your private.env file.

Procedure

  1. Navigate to your GitLab source repository.

    1. On the Red Hat Developer Hub platform, navigate to the Catalog, select an application where GitLab is configured as the repository host.
    2. Go to the Overview tab and select View Source to open the repository for your source code.
  2. Go to Settings > Webhooks.
  3. In the URL field, enter the webhook URL.
  4. In the Secret Token field, enter the secret token.
  5. In the Trigger section:

    1. Select Push events.
    2. Select Merge request events.
  6. Click Add Webhook.

Verification

  1. Commit any change to the source repository in GitLab.
  2. Navigate to the CI tab in RHDH.
  3. Verify that a pipeline run is triggered for your code push.
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2026 Red Hat
Retour au début