lita-gitlab
lita-gitlab is a Lita that will display GitLab messages in the channel.
Installation
Add lita-gitlab to your Lita instance's Gemfile:
gem "lita-gitlab"Configuration
Required attributes
-
default_room(String) - A channel idenitifier. ie:#general. -
url(String) - The Gitlab repository location. ie:http://gitlab.mycompany.com/. -
group_name(String) - Your group identifier. ie:my_team.
Example
Lita.configure do |config|
config.handlers.gitlab.default_room = '#general'
config.handlers.gitlab.url = 'http://example.gitlab/'
config.handlers.gitlab.group = 'group_name'
endUsage
-
targetsChannel(s) separated by commas. -
projectThe name of the specific project (only needed for webhooks).
You will need to add a GitLab Webhook url that points to: http://address.of./lita/gitlab?targets=<targets>&project=<project>