瀏覽代碼

gitlab: add page (#3571)

Pierre Rudloff 5 年之前
父節點
當前提交
cee8410010
共有 1 個文件被更改,包括 20 次插入0 次删除
  1. 20 0
      pages/common/gitlab.md

+ 20 - 0
pages/common/gitlab.md

@@ -0,0 +1,20 @@
+# gitlab
+
+> Ruby wrapper and CLI for the GitLab API.
+> 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}}`