Control your GitlabCI workflow from your terminal
gitlabci-cli help [COMMAND] # Describe available commands or one specific command
gitlabci-cli list -i, --id=ID -t, --token=TOKEN -u, --url=URL # List the 20 last pipelines for a project
gitlabci-cli get -i, --id=ID -p, --pipeline=PIPELINE -t, --token=TOKEN -u, --url=URL # Get a pipeline status
gitlabci-cli run -i, --id=ID -t, --token=TOKEN -u, --url=URL # Run a pipeline for a project
gitlabci-cli retry -i, --id=ID -p, --pipeline=PIPELINE -t, --token=TOKEN -u, --url=URL # Retry a failed pipeline status
gitlabci-cli cancel -i, --id=ID -p, --pipeline=PIPELINE -t, --token=TOKEN -u, --url=URL # Cancel a running pipeline status
Getting started on gitlab 8.X
Getting started on gitlab 9.X
- Install the dependencies.
For CentOS
yum install gcc-c++ ruby-devel
For Ubuntu
apt install g++ make ruby-dev
- Install the application dependencies.
bundle install
- Run the project.
bundle exec gitlabci-cli help
Bug reports and pull requests are welcome on GitHub at https://github.com/wdhif/gitlabci-cli.