Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gitlab
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
maubot
gitlab
Commits
50d12957
Unverified
Commit
50d12957
authored
6 years ago
by
Tulir Asokan
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update README
Fixes #16
parent
871a9728
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+11
-2
11 additions, 2 deletions
README.md
with
11 additions
and
2 deletions
README.md
+
11
−
2
View file @
50d12957
Maunium GitLab bot
==================
A Gitlab bot for Matrix. It uses
[
mautrix
](
https://github.com/tulir/mautrix
)
,
[
mautrix
](
https://github.com/tulir/mautrix
-go/tree/legacy
)
,
[
go-playground webhooks
](
https://github.com/go-playground/webhooks
)
and
[
go-gitlab
](
https://github.com/xanzy/go-gitlab
)
...
...
@@ -30,9 +30,18 @@ Matrix room: [#maulabbot:maunium.net](https://matrix.to/#/#maulabbot:maunium.net
*
[ ] Shorter commands
## Usage
Configure the
server
by copying
`example-config.json`
to
`config.json`
and
Configure the
bot
by copying
`example-config.json`
to
`config.json`
and
filling out the fields.
### Docker
0.
Create a directory for the bot and cd into it.
1.
Pull the docker image with
`docker pull docker.io/maubot/gitlab:latest`
.
2.
Make a config file as described above
3.
Run the bot:
```
docker run --restart unless-stopped -v `pwd`:/etc/maulabbot:z docker.io/maubot/gitlab:latest
```
### Webhooks
When adding a GitLab webhook, add the internal room ID as a query string in the
field
`room`
. For example, if the address + path is
`https://example.com/webhook`
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment