Files
cheatsheet-tldr/gitlab
2024-02-21 11:19:49 +00:00

27 lines
597 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# gitlab
> Ruby wrapper for the GitLab API.
> Some subcommands such as `gitlab ctl` have their own usage documentation.
> 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}}`