Raygun And GitLab Make Deployment Easier

| 2 min. (366 words)

Raygun now integrates with GitLab – the free, self-hostable solution for storing your source code and related issues.

Raygun and Gitlab logos together

Here’s how Raygun and GitLab work together for faster and smoother deployments.

Raygun detects the Error

Deployment isn’t always a smooth process. During deployment, it makes life easier if you have something to allow you to fix errors before they affect users.

This is where Raygun helps. Pull detailed diagnostic information right down to the line of code.

However, when you want a deep level of context around an error, GitLab is the tool you need.

GitLab allows detailed deployment tracking

Say you made 5 commits and it’s ready to go. You run your deployment scripts, and GitLab will figure out whats changed since the last deployment – which helps you to see which errors exactly this deployment has caused.

When you commit a bug fix to the issue being raised into your source control you can create proper milestones errors and assign then to team members.

  1. You’ll need a Raygun account (free 14 day trial here)
  2.  A GitLab account (here)

Follow the steps below to get started:

1. In the Raygun dashboard, head to the ‘Integrations’ tab

Head to the dashboard so Raygun and Gitlab can integrate

2. Inside the ‘Integrations’ tab, select ‘GitLab’ in the bottom right:

Raygun and Gitlab integrate easily and add to a plethora inside Raygun

3. Head to the Setup tab to start to integrate Raygun and GitLab

Head to the integration tab to integrate Raygun and Gitlab

4. Head to your GitLab account, head to profile settings, then account tab you’ll see a token

Gitlabs dashboard is functional - just like the Raygun and Gitlab integration

5. Copy and paste into API token field inside Raygun

Head to the token field inside Raygun and Gitlab

6. After you hit save changes, the setup field will appear: Choose your repository and hit save.

Once you choose the repository you'll be closer to using Raygun and Github

You’ll be up and running now!

Once an error is detected inside the ‘error groups’ tab inside Raygun, you can associate the error with an issue inside GitLab:

Errors appearing with Raygun and Github and their integration

Any new errors that come into Raygun can be associated to an issue in GitLab or can be pushed to GitLab:

Raygun and Gitlab integration looking smooth inside the dashboard

error summary inside Raygun and Gitlab

Here’s what the error looks like inside GitLab:

Here's what an error looks like inside Raygun and Github

You can also use deployment tracking with GitLab to help figure out exactly which deploys cause issues! Jump to our documentation to learn how to set it up.

Happy zapping!