]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-new-trigger: use new feature, 7-day-old or newer branches 2325/head
authorDan Mick <dan.mick@redhat.com>
Sat, 15 Feb 2025 01:40:01 +0000 (17:40 -0800)
committerDan Mick <dan.mick@redhat.com>
Sat, 15 Feb 2025 01:40:01 +0000 (17:40 -0800)
Actually modify the trigger job to use choosing-strategy: ancestry and
maximum-age: 7, so that only branches newer than 7 days old get built.

Also set build-name to the branch being triggered, for clarity.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml

index 7a4a3c7a0155f06000c7aa45cb6956f78c6e834d..a0b13f1aa5ec8104a0e5b4d2982e3ddae865d3fb 100644 (file)
@@ -25,6 +25,8 @@
           skip-tag: true
           timeout: 20
           wipe-workspace: true
+          choosing-strategy: ancestry
+          maximum-age: 7
 
     builders:
       # build reef on:
             - shell: echo skipping
 
     wrappers:
+      - build-name:
+          name: "#${{BUILD_NUMBER}} ${{GIT_BRANCH}}"
       - inject-passwords:
           global: true
           mask-password-params: true