]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
jenkins-job-builder,ceph-build-pull-requests: fetch and use jjb 6 2324/head
authorDan Mick <dan.mick@redhat.com>
Fri, 14 Feb 2025 03:28:46 +0000 (19:28 -0800)
committerDan Mick <dan.mick@redhat.com>
Fri, 14 Feb 2025 22:32:59 +0000 (14:32 -0800)
currently it's actually a custom version of jjb6, to add
new choosing-strategy: ancestry, to be able to use
maximum-age in days to choose a branch to build.  This will
change to 6.5 once that branch is released.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
sq

ceph-build-pull-requests/build/build
jenkins-job-builder/build/build

index e8fa10fed956024ccb1010d480b246df1cbb30c9..089942ddd6550bc97d0e7e9f6a69895805b855b0 100644 (file)
@@ -3,7 +3,7 @@
 set -e
 
 # the following two methods exist in scripts/build_utils.sh
-pkgs=( "ansible" "ansible-core" "jenkins-job-builder>=3.5.0,<6.0.0" "urllib3==1.26.1" "pyopenssl" "ndg-httpsclient" "pyasn1" )
+pkgs=( "ansible" "ansible-core" "git+https://opendev.org/jjb/jenkins-job-builder@60f0316389" "urllib3==1.26.1" "pyopenssl" "ndg-httpsclient" "pyasn1" )
 TEMPVENV=$(create_venv_dir)
 VENV=${TEMPVENV}/bin
 install_python_packages $TEMPVENV "pkgs[@]"
index ed12e99db16ac4588e262cd5adb9df0d00d9cd2e..c58a0bef11fd38228609187ae1360d11b4c6dbfd 100644 (file)
@@ -8,8 +8,15 @@
 
 set -euxo pipefail
 
-# the following two methods exist in scripts/build_utils.sh
-pkgs=( "dataclasses" "jenkins-job-builder>=3.5.0,<6.0.0" )
+# the jjb version is an unreleased patch from dmick to add support for 'ancestry' build choosers
+# for ceph-dev-new-trigger, to allow it to be configured to only look at branches up to N days
+# old.  This is just arguably better, but also useful when jenkins (or that plugin) decides it
+# needs to build every branch.
+#
+# when jenkins-job-builder 6.5 or later is released, this requirement should change to
+# jenkins-job-builder>=6.5
+
+pkgs=( "dataclasses" "git+https://opendev.org/jjb/jenkins-job-builder@60f0316389" )
 TEMPVENV=$(create_venv_dir)
 VENV=${TEMPVENV}/bin
 install_python_packages $TEMPVENV "pkgs[@]" latest