2019-11-16 06:21:48 +00:00
|
|
|
# gitlab
|
|
|
|
|
|
|
|
> Ruby wrapper and CLI for the GitLab API.
|
2021-09-13 09:21:21 +01:00
|
|
|
> Some subcommands such as `gitlab ctl` have their own usage documentation.
|
2019-11-16 06:21:48 +00:00
|
|
|
> More information: <https://narkoz.github.io/gitlab/>.
|
|
|
|
|
|
|
|
- Create a new project:
|
|
|
|
|
|
|
|
`gitlab create_project {{project_name}}`
|
|
|
|
|
|
|
|
- Get info about a specific commit:
|
|
|
|
|
|
|
|
`gitlab commit {{project_name}} {{commit_hash}}`
|
|
|
|
|
|
|
|
- Get info about jobs in a CI pipeline:
|
|
|
|
|
|
|
|
`gitlab pipeline_jobs {{project_name}} {{pipeline_id}}`
|
|
|
|
|
|
|
|
- Start a specific CI job:
|
|
|
|
|
|
|
|
`gitlab job_play {{project_name}} {{job_id}}`
|