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イベント提案1:.gitlab-ci.yml ファイルを使用します。

現在、(POC) の2つの概念実証を実装しています:

どちらも似たようなアイデアを持っています;

  1. パイプラインイベントを定義する新しいCI Config構文を見つけましょう。

    例 1:

    workflow:
      events:
        - events/package/published
       
    # or
       
    workflow:
      on:
        - events/package/published
    

    例 2:

    spec:
      on:
        - events/package/published
        - events/package/removed
      # on:
      #   package: [published, removed]
    ---
    do_something:
      script: echo "Hello World"
    
  2. 新しい設定がプッシュされたときに、ワークフロー定義をデータベースにアップサートします。
  3. GitLab で何かが起こるたびに、サブスクリプションとパブリッシャーをマッチさせます。

ディスカッション

  1. サブスクリプションの変更を効率的に検出する方法は?
  2. 異なるブランチ上のワークフロー/イベント/サブスクリプションの違いをどのように処理しますか?
  3. プッシュするたびにサブスクリプションをアップサートする必要がありますか?