Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oltruong/hubot-gitlab-connector
https://github.com/oltruong/hubot-gitlab-connector
coffeescript coffeescript2 gitlab hubot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oltruong/hubot-gitlab-connector
- Owner: oltruong
- License: mit
- Archived: true
- Created: 2017-12-08T20:11:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-26T20:27:18.000Z (almost 7 years ago)
- Last Synced: 2024-09-06T10:42:37.576Z (4 months ago)
- Topics: coffeescript, coffeescript2, gitlab, hubot
- Language: CoffeeScript
- Homepage: https://www.npmjs.com/package/hubot-gitlab-connector
- Size: 62.5 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hubot-gitlab-connector
[![Build Status](https://travis-ci.org/oltruong/hubot-gitlab-connector.svg?branch=master)](https://travis-ci.org/oltruong/hubot-gitlab-connector)
[![Coverage Status](https://coveralls.io/repos/github/oltruong/hubot-gitlab-connector/badge.svg?branch=master)](https://coveralls.io/github/oltruong/hubot-gitlab-connector?branch=master)
[![npm (scoped)](https://img.shields.io/npm/v/hubot-gitlab-connector.svg)](https://www.npmjs.com/package/hubot-gitlab-connector)A hubot script that communicates with Gitlab
See [`src/gitlab-connector.coffee`](src/gitlab-connector.coffee) for full documentation.
## Features
- Show all projects
- Search projects by name
- Display branches of a given project
- Trigger a pipeline
- Show or accept merge requests
- Display version## Installation
In hubot project repo, run:
`yarn install hubot-gitlab-connector --save`
Then add **hubot-gitlab-connector** to your `external-scripts.json`:
```json
[
"hubot-gitlab-connector"
]
```Set 2 environment variables
```
HUBOT_GITLAB_URL: url of gitlab server
HUBOT_GITLAB_TOKEN: access token
```
See https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html for access tokens## Sample Interaction
```
user1>> hubot gitlab version
hubot>> @user1 gitlab version is 8.13.0-pre, revision 4e963fe
```For all features, type
```
hubot gitlab help
```## Contributing
Granted, the script does not do much for now. If you have any request, please create an issue, or better, propose a pull request.
:)## NPM Module
https://www.npmjs.com/package/hubot-gitlab-connector