]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-devstack: Update default repo and trigger 2601/head
authorZack Cerza <zack@cerza.org>
Fri, 29 May 2026 20:13:02 +0000 (14:13 -0600)
committerZack Cerza <zack@cerza.org>
Thu, 16 Jul 2026 17:02:50 +0000 (11:02 -0600)
Signed-off-by: Zack Cerza <zack@cerza.org>
ceph-devstack/config/definitions/ceph-devstack.yml

index 2f828c941a487d5bd97898fb81d3218c20ff0951..299135cc48be89b85143cc4fd61653353d10bb26 100644 (file)
@@ -6,7 +6,7 @@
     pipeline-scm:
       scm:
         - git:
-            url: https://github.com/zmc/ceph-devstack
+            url: https://github.com/ceph/ceph-devstack
             branches:
               - origin/${{CEPH_DEVSTACK_BRANCH}}
     parameters:
           default: "https://github.com/ceph/ceph.git"
 
     triggers:
-      - github-pull-request:
-          admin-list:
-            - zmc
-            - dmick
-            - kamoltat
-            - amathuria
-          org-list:
-            - ceph
-          trigger-phrase: 'jenkins test.*|jenkins retest.*'
-          only-trigger-phrase: false
-          github-hooks: true
-          permit-all: false
-          auto-close-on-fail: false
+      - generic-webhook-trigger:
+          token-credential-id: ceph-devstack-trigger-token
+          print-contrib-var: true
+          header-params:
+            - key: X-GitHub-Event
+            - key: X-GitHub-Hook-ID
+            - key: X-GitHub-Delivery
+          post-content-params:
+            - type: JSONPath
+              key: head_commit_message
+              value: $.head_commit.message
+            - type: JSONPath
+              key: head_commit_id
+              value: $.head_commit.id
+            - type: JSONPath
+              key: ref
+              value: $.ref
+            - type: JSONPath
+              key: pusher
+              value: $.pusher.name
+            # github sends push events for branch deletion, and those events
+            # are missing commit-related fields, so we must special-case
+            # them to prevent failures
+            - type: JSONPath
+              key: is_delete
+              value: $.deleted
+          regex-filter-text: $is_delete $ref
+          regex-filter-expression: "(?i)false refs/heads/.*"
+          cause: "Push to $ref by $pusher"