]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-rook-e2e: Fix ghprb
authorDavid Galloway <david.galloway@ibm.com>
Thu, 26 Mar 2026 16:52:44 +0000 (12:52 -0400)
committerDavid Galloway <david.galloway@ibm.com>
Thu, 26 Mar 2026 16:54:04 +0000 (12:54 -0400)
It wasn't possible to run this manually.  These changes allow putting just a PR # in the parameter for hte job.

Signed-off-by: David Galloway <david.galloway@ibm.com>
ceph-rook-e2e/config/definitions/ceph-orchestrator-rook-e2e.yml

index 1a77e77d6ddd0c58085eb0815440467e386134b9..518068f828f3e6f3d04f3a15483d1b278beb0254 100644 (file)
@@ -24,8 +24,8 @@
             TERM=xterm
     parameters:
       - string:
-          name: sha1
-          description: "commit id or a refname, like 'origin/pr/72/head'"
+          name: ghprbPullId
+          description: "the GitHub pull id, like '72' in 'ceph/pull/72'"
 
     triggers:
       - github-pull-request:
           branches:
             - origin/pr/${{ghprbPullId}}/merge
           refspec: +refs/pull/${{ghprbPullId}}/*:refs/remotes/origin/pr/${{ghprbPullId}}/*
-          browser: auto
-          timeout: 20
           skip-tag: true
           shallow-clone: true
+          honor-refspec: true
+          timeout: 20
           wipe-workspace: true
 
       - git:
@@ -75,6 +75,7 @@
     builders:
       - shell:
           !include-raw-verbatim:
+             - ../../../scripts/setup_container_runtime.sh
              - ../../../scripts/rook-orch/install-rook-e2e-deps.sh
       - shell: |
           export COMMIT_INFO_MESSAGE="$ghprbPullTitle"