]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-tag: Support specifying different ceph-build.git branch
authorDavid Galloway <david.galloway@ibm.com>
Wed, 20 Aug 2025 21:42:03 +0000 (17:42 -0400)
committerDavid Galloway <david.galloway@ibm.com>
Fri, 12 Sep 2025 20:50:04 +0000 (16:50 -0400)
Signed-off-by: David Galloway <david.galloway@ibm.com>
ceph-tag/config/definitions/ceph-tag.yml

index e9526b0ae5e31cd41e2fa9f9a22d5ed9310c1a9e..09df200730175480e8e8619aacc6e37165c88f67 100644 (file)
@@ -50,6 +50,12 @@ SECURITY: Builds from BRANCH-release branch in ceph-private.git (private repo)."
             - RELEASE_CANDIDATE
             - HOTFIX
             - SECURITY
+
+      - string:
+          name: CEPH_BUILD_BRANCH
+          description: "The ceph-build.git branch to use.  Useful for testing changes to the ceph-tag job"
+          default: main
+
     scm:
       - git:
           url: https://github.com/ceph/ceph-build.git
@@ -59,8 +65,7 @@ SECURITY: Builds from BRANCH-release branch in ceph-private.git (private repo)."
           wipe-workspace: true
           basedir: "ceph-build"
           branches:
-            - origin/main
-
+            - ${{CEPH_BUILD_BRANCH}}
 
     builders:
       - shell: