Socket
Socket
Sign inDemoInstall

hubot-gitlab-connector

Package Overview
Dependencies
92
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hubot-gitlab-connector

A hubot script that communicates with Gitlab API


Version published
Weekly downloads
13
Maintainers
1
Install size
83.1 kB
Created
Weekly downloads
 

Readme

Source

hubot-gitlab-connector

Build Status Coverage Status npm (scoped)

A hubot script that communicates with Gitlab

See 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:

[
  "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

Keywords

FAQs

Last updated on 26 Mar 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc