Studenten Net Twente Syscom information

GitLab Matrix bot

The GitLab Matrix bot (@gitlab:utwente.io) is a bot that can interact with the SNT GitLab.

Notifications

To enable notifications for a repository, do the following:

  1. Invite @gitlab:utwente.io to your room.
  2. Go to GitLab and open the integration settings of your project.
  3. The URL is: https://integrations.snt.utwente.nl/gitlab/webhooks?room=!your_room_id:domain.com
    The room ID can be found in Riot in the room settings (under advanced).
  4. The Secret Token is snt
  5. Configure the webhook to your liking!

Commands

It is also possible to interact with GitLab via the bot’s comands. To enable this, do the following:

  1. Log in to GitLab and go to user settingsaccess tokens
  2. Create an access token with the scopes: api, read_user
  3. Copy the created token.
  4. Open a private chat with @gitlab:utwente.io
  5. Register your account with !gitlab login <token> (where <token> is the token from GitLab.

Use !gitlab help to explore the functionality of the bot.