Skip to content

GregSong/gcr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gcr

A node gitlab-ci-runner

Install

$ npm install -g gcr

Usage

The first time you run gcr, just run gcr without a token. It will prompt your for your registration token and will then generate your CI token.

$ gcr --help

gcr

   Usage:

     gcr [command] [options]

   Options:

     -h, --help                  Show help and usage
     -l, --loglevel <level>      Set log level
     -v, --version               Show version
     -u, --url <url>             Set CI Server URL
     -t, --token <token>         Set Registration Token
     -T, --timeout <number>      Set the timeout in milliseconds
     -b, --buildDir <dir>        Set the builds directory
     -s, --strictSSL             Strict SSL

Why?

I wanted something that was really easy to install (npm install -g gcr)

License

MIT

Thanks

Thanks to the GitLab team for all of their effort on GitLab/GitLab CI.

Notes

On launch, if a rsa key does not exist (named gcr.pub), then one will automatically be created. gcr will then ask for your GitLab CI Coordinator URL as well as your Registration Token. The directory in which projects are built defaults to /tmp/builds. If you would like to change that, then simply run gcr --buildDir <dir> and that will be saved.

About

A node gitlab-ci-runner

Resources

Stars

Watchers

Forks

Packages

No packages published