Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 638 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 638 Bytes

Drush + Gitlab

This is proof-of-concept code trying out the gitlab api for possible usage from a web server.

Currently the drush commands can:

  1. List projects.
  2. Create a new project.
  3. Add a deploy key.
  4. List and create users.
  5. List and add user keys.

Installation

  1. Clone this repo.
  2. Copy or link the gitlab.drush.inc file into your .drush directory.
  3. Add token (from {sitename}/profile/account) and url variables to your .drush/drushrc.php file like this example:
$GLOBALS['gitlab_token'] = 'GiTdrUpal8+usEdrusH';
$GLOBALS['gitlab_url'] = 'http://example.com';