By integrating Sifflet with GitLab, you'll be able to leverage the following capabilities:

  • Sifflet metadata and insights as part of your Continuous Integration (CI) workflows via our ready-to-use GitLab CI/CD Components.
  • Metadata from GitLab (like recent code changes) as part of the incident context in Sifflet. (Coming soon)

To integrate Sifflet with GitLab, these are the steps to follow:

  1. Generate a Sifflet API Access Token with the “Viewer” role. Once the token is generated, copy its value since it can only be viewed once.
  2. Add the token as a masked and hidden CI/CD variable to your GitLab repository. If you’re using an external secret manager with GitLab, you can use that instead.
  3. Generate a GitLab access token with the "Developer" role and the “api” scope.
  4. Add the GitLab token as a masked and hidden CI/CD variable to your GitLab repository. If you’re using an external secret manager with GitLab, you can use that instead.
  5. Add the Sifflet GitLab CI/CD component that you want to use to your repository's CI/CD pipeline. All of Sifflet's components are available via the GitLab CI/CD Catalog.

Once the component is added, it'll run whenever the trigger event occurs.