description |
---|
GitLab is a web-based Git repository that provides free open and private repositories, issue-following capabilities, and wikis. It is a complete DevOps platform that includes CI/CD. |
-
Go to Alert sources --> Alert sources and click on Create new alert source
-
Search for GitLab in the search field, click on the GitLab tile and click on Next.
-
Give your alert source a name, optionally assign teams and click Next.
-
Select an escalation policy by creating a new one or assigning an existing one.
-
Select you Alert grouping preference and click Continue setup. You may click Do not group alerts for now and change it later.
-
The next page show additional settings such as customer alert templates or notification prioritiy. Click on Finish setup for now.
-
On the final page, an API key and / or webhook URL will be generated that you will need later in this guide.
{% hint style="info" %} This setting is optional but we still recommend enabling it for a better user experience. {% endhint %}
- Now click on GitLab Settings to show the advanced settings
- You may now choose one of the given Hook types which this alert source should process. (Leaving the selection on 'Select' will result the alert source to process all incoming Hook types)
- Some Hook types do additionally have a selection for an Event type.
- Click on Save to proceed to the next step.
- On the next page a GitLab Integration URL is generated. You will need the URL for the webhook configuration
- From your Project Page, navigate to "Settings" -> "Webhooks"
- Select the events that should be send to ilert, in this case any Issues events or Confidential issues events activity will be send to ilert.
- Select "Add Webhooks"
- and if it is added successfully it will be shown at the bottom of the page.
- Your GitLab integration is set up.