Status: Alpha Documentation
Grit uses project or group access tokens to integrate with GitLab. For the simplest implementation, we recommend creating a group access token covering the group of repositories you want to use with Grit.
- On GitLab's top bar, select Main menu > Groups and find your group.
- On the left sidebar, select Settings > Access Tokens.
- Enter a name. We recommend
- Enter an expiry date for the token. We recommend one year.
- Select the "Developer" role.
- Select the "api", "read_repository" and "write_repository" scopes.
- Click "Create group access token".
- If your GitLab instance is self-hosted, we will also need your instance's host.
Once you have completed the above steps, contact firstname.lastname@example.org to finish setup.
Grit uses webhooks to ensure that our integration is always up-to-date with your GitLab repositories. We recommend enabling webhooks using the following steps:
- On the top bar, select Main menu > Groups and find your group.
- On the left sidebar, select Settings > Webhooks.
- Enter the webhook URL https://events.hookdeck.com/e/src_agqx3O6gYeT9
- Select at least push events, comments and merge request events.
- Check “enable SSL verification”.
- Select Add webhook.
Grit is hosted in Google Cloud. If you need to whitelist incoming connections, you can use
220.127.116.11 as Grit's IP address.