This page contains information related to upcoming products, features, and functionality. It is important to note that the information presented is for informational purposes only. Please do not rely on this information for purchasing or planning purposes. As with all projects, the items mentioned on this page are subject to change or delay. The development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.
StatusAuthorsCoachDRIsOwning StageCreated
proposed devops verify -

GitLab CIイベント提案2:rules キーワードの使用

現在のrules システムでできますか?

workflow:
  rules:
    - events: ["package/*"]

test_package_published:
  script: echo testing published package
  rules:
    - events: ["package/published"]

test_package_removed:
  script: echo testing removed package
  rules:
    - events: ["package/removed"]
  1. データベースに購読をアップサートすることはできません。
  2. GitLab で何かが起こったときに実行されるワーカーを一つ用意します。
  3. このワーカーは、正しいパラメータでパイプラインを作成しようとするだけです。
  4. rules サブシステムが実行するジョブを見つけると、パイプラインが実行されます。

課題

  1. 定義されたイベントが実行されるたびに、新しいパイプライン作成ワーカーをエンキューする必要があります。
  2. パイプラインを作成し、実行するビルドを選択するのは、比較的コストのかかるオペレーションです。
  3. GitLab.comのスケールでは動作しません。