tldr/pages/common/gitlab.md

504 B

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}}