Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wdhif/gitlabci-cli
Control your GitlabCI workflow from your terminal
https://github.com/wdhif/gitlabci-cli
cli command-line-tool gitlab gitlabci hacktoberfest terminal
Last synced: 2 months ago
JSON representation
Control your GitlabCI workflow from your terminal
- Host: GitHub
- URL: https://github.com/wdhif/gitlabci-cli
- Owner: wdhif
- License: apache-2.0
- Created: 2017-04-13T09:55:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-05T10:32:09.000Z (over 1 year ago)
- Last Synced: 2023-05-05T11:28:57.526Z (over 1 year ago)
- Topics: cli, command-line-tool, gitlab, gitlabci, hacktoberfest, terminal
- Language: Ruby
- Homepage:
- Size: 49.8 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitlabci-cli
![](https://github.com/wdhif/gitlabci-cli/actions/workflows/main.yml/badge.svg)Control your GitlabCI workflow from your terminal
## Usage
```
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](https://github.com/wdhif/gitlabci-cli/blob/master/docs/getting-started-gitlab-8.md)
[Getting started on gitlab 9.X](https://github.com/wdhif/gitlabci-cli/blob/master/docs/getting-started-gitlab-9.md)## Development
1. Install the dependencies.
For CentOS
```
yum install gcc-c++ ruby-devel
```
For Ubuntu
```
apt install g++ make ruby-dev
```2. Install the application dependencies.
```
bundle install
```3. Run the project.
```
bundle exec gitlabci-cli help
```## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/wdhif/gitlabci-cli.