GitLab
Send events to Squadcast from GitLab
Last updated
Send events to Squadcast from GitLab
Last updated
GitLab is a web-based DevOps lifecycle tool that provides a Git repository manager providing wiki, issue-tracking, and continuous integration and deployment pipeline features, using an open-source license, developed by GitLab Inc.
Route detailed events from GitLab to the right users in Squadcast.
Navigate to Services -> Service Overview -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click Add.
2. Select GitLab. Copy the displayed Webhook URL to configure it within GitLab. Finish by clicking Add Alert Source -> Done.
Important:
When an alert source turns Active, it’ll show up under Configured Alert Sources, you can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source. An Alert Source is active if there is a recorded incident via that Alert Source for the Service.
You can configure a Webhook for a group or a project.
(1) In your project or group, on the left sidebar, select Settings > Webhooks
(2) In the placeholder for URL, paste the previously copied Webhook from Squadcast
(3) In the Trigger section, select the below events to trigger the Webhook. Then, select Add webhook
Issues
Pushes
Merge Requests
Releases
Note:
This integration supports the below GitLab events:
Issues
(Supports auto-resolution)
Pushes
Merge Requests
(Supports auto-resolution)
Releases
That is it, you are good to go!
Everytime an Issue, Push, Merge Request or a Release event occurs in GitLab, an incident would be created for it in Squadcast. When an Issue or a Merge Request is closed/merged in GitLab, the corresponding incident in Squadcast will be automatically resolved. For Pushes and Releases, the associated incidents must be manually resolved in Squadcast.