tldr/pages/common/gitlab.md

22 lines
504 B
Markdown
Raw Normal View History

2019-11-16 06:21:48 +00:00
# gitlab
> Ruby wrapper for the GitLab API.
> 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}}`