I didn't bother with the jobs that I'm pretty sure need to be moved to the attic.
Signed-off-by: David Galloway <david.galloway@ibm.com>
# like project/ref/ubuntu/jessie/.
distro=""
case $DIST in
- bookworm|bullseye|buster|stretch|jessie|wheezy)
+ bookworm)
distro="debian"
;;
*)
execution-strategy:
combination-filter: |
DIST == AVAILABLE_DIST && ARCH == AVAILABLE_ARCH &&
- (ARCH == "x86_64" || (ARCH == "arm64" && ["bionic", "focal", "jammy", "noble", "centos9"].contains(DIST)))
+ (ARCH == "x86_64" || (ARCH == "arm64" && ["jammy", "noble", "centos9"].contains(DIST)))
axes:
- axis:
type: label-expression
type: label-expression
name: AVAILABLE_DIST
values:
- - trusty
- - xenial
- - bionic
- - focal
- jammy
- noble
- - centos7
- centos8
- centos9
- - jessie
- - stretch
- - buster
- - bullseye
- bookworm
- - precise
- - centos6
- axis:
type: dynamic
name: DIST
regex: (reef|squid|tentacle|umbrella)
label: '${{BRANCH}}'
- condition-kind: regex-match
- regex: (focal|jammy|noble|centos9|buster|bullseye|bookworm)
+ regex: (jammy|noble|centos9|bookworm)
label: '${{DIST}}'
on-evaluation-failure: dont-run
steps:
execution-strategy:
combination-filter: |
DIST == AVAILABLE_DIST && ARCH == AVAILABLE_ARCH &&
- (ARCH == "x86_64" || (ARCH == "arm64" && ["xenial", "bionic", "centos7", "centos8", "centos9"].contains(DIST)))
+ (ARCH == "x86_64" || (ARCH == "arm64" && ["jammy", "noble", "centos8", "centos9"].contains(DIST)))
axes:
- axis:
type: label-expression
type: label-expression
name: AVAILABLE_DIST
values:
- - trusty
- - xenial
- - bionic
- - focal
- jammy
- noble
- - centos7
- centos8
- centos9
- jessie
- precise
- - centos6
- leap15
- windows
- axis:
execution-strategy:
combination-filter: |
DIST == AVAILABLE_DIST && ARCH == AVAILABLE_ARCH &&
- (ARCH == "x86_64" || (ARCH == "arm64" && ["xenial", "bionic", "centos7", "centos8", "centos9"].contains(DIST)))
+ (ARCH == "x86_64" || (ARCH == "arm64" && ["jammy", "noble", "centos8", "centos9"].contains(DIST)))
axes:
- axis:
type: label-expression
type: label-expression
name: AVAILABLE_DIST
values:
- - trusty
- - xenial
- - bionic
- - focal
- jammy
- noble
- jessie
- precise
- - centos6
- - centos7
- centos8
- centos9
- leap15
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, centos8, centos7, centos6, noble, jammy, focal, bionic, xenial, trusty, precise, wheezy, jessie, and windows"
+ description: "A list of distros to build for. Available options are: centos9, centos8, noble, jammy, and windows"
default: "noble jammy centos9 windows"
- string:
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, centos8, noble, jammy, focal, and windows"
+ description: "A list of distros to build for. Available options are: centos9, centos8, noble, jammy, and windows"
default: "centos9 noble jammy"
- string:
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, centos8, centos7, centos6, noble, jammy, focal, bionic, xenial, trusty, precise, wheezy, jessie, and windows"
- default: "noble jammy focal bionic centos7 centos8 centos9"
+ description: "A list of distros to build for. Available options are: centos9, centos8, noble, jammy, and windows"
+ default: "noble jammy centos8 centos9"
- string:
name: ARCHS
name: ceph-iscsi-tox
description: Runs tox tests for ceph-iscsi on each GitHub PR
project-type: freestyle
- node: focal && x86_64
+ node: jammy && x86_64
block-downstream: false
block-upstream: false
defaults: global
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, noble, jammy, focal, bionic, xenial, trusty, precise, wheezy, jessie, buster, bullseye, bookworm, trixie"
+ description: "A list of distros to build for. Available options are: centos9, noble, jammy, bookworm, trixie"
default: "noble jammy centos8 centos9 bookworm trixie"
- string:
- job:
name: ceph-windows-image-build
description: 'Builds the Ceph Windows VM image used in the CI.'
- node: x86_64 && focal && libvirt
+ node: x86_64 && noble && libvirt
project-type: freestyle
defaults: global
concurrent: false
- job:
name: ceph-windows-installer-build
description: 'Builds the Ceph Windows MSI installer.'
- node: x86_64 && focal && libvirt
+ node: x86_64 && noble && libvirt
project-type: freestyle
defaults: global
concurrent: true
project-type: freestyle
defaults: global
concurrent: true
- node: x86_64 && focal && libvirt && windows && gigantic
+ node: x86_64 && noble && libvirt && windows && gigantic
display-name: 'ceph-windows: Pull Requests'
quiet-period: 5
block-downstream: false
- job:
name: ceph-windows-test
description: 'Runs the unit tests from a Windows build uploaded to Chacra.'
- node: x86_64&&focal&&libvirt
+ node: x86_64&&noble&&libvirt
project-type: freestyle
defaults: global
concurrent: true
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, centos8, centos7, centos6, noble, jammy, focal, bionic, xenial, trusty, precise, wheezy, jessie, buster, bullseye, bookworm"
- default: "noble jammy focal centos8 centos9 bookworm"
+ description: "A list of distros to build for. Available options are: centos9, centos8, noble, jammy, bullseye, bookworm"
+ default: "noble jammy centos8 centos9 bookworm"
- string:
name: ARCHS
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, noble, jammy and focal"
- default: "centos9 focal jammy noble"
+ description: "A list of distros to build for. Available options are: centos9, noble, and jammy"
+ default: "centos9 jammy noble"
- string:
name: ARCHS
name: AVAILABLE_DIST
values:
- centos9
- - focal
- jammy
- noble
- axis:
type: label-expression
name: AVAILABLE_DIST
values:
- - focal
+ - jammy
- axis:
type: dynamic
name: DIST
DIST=bookworm
DISTRO="debian"
;;
- bullseye*)
- DIST=bullseye
- DISTRO="debian"
- ;;
- buster*)
- DIST=buster
- DISTRO="debian"
- ;;
- stretch*)
- DIST=stretch
- DISTRO="debian"
- ;;
- jessie*)
- DIST=jessie
- DISTRO="debian"
- ;;
- wheezy*)
- DIST=wheezy
- DISTRO="debian"
- ;;
noble*)
DIST=noble
DISTRO="ubuntu"
DIST=jammy
DISTRO="ubuntu"
;;
- focal*)
- DIST=focal
- DISTRO="ubuntu"
- ;;
- bionic*)
- DIST=bionic
- DISTRO="ubuntu"
- ;;
- xenial*)
- DIST=xenial
- DISTRO="ubuntu"
- ;;
- precise*)
- DIST=precise
- DISTRO="ubuntu"
- ;;
- trusty*)
- DIST=trusty
- DISTRO="ubuntu"
- ;;
centos*)
source /etc/os-release
if [ $VERSION -ge 8 ]; then
# build.
os="debian"
- [ "$DIST" = "precise" ] && os="ubuntu"
- [ "$DIST" = "saucy" ] && os="ubuntu"
- [ "$DIST" = "trusty" ] && os="ubuntu"
- [ "$DIST" = "xenial" ] && os="ubuntu"
- [ "$DIST" = "bionic" ] && os="ubuntu"
- [ "$DIST" = "focal" ] && os="ubuntu"
[ "$DIST" = "jammy" ] && os="ubuntu"
[ "$DIST" = "noble" ] && os="ubuntu"
# point gcc,g++ to the ones shipped by distro
local hookdir=$1
case $DIST in
- trusty)
- old=4.8;;
- xenial)
- old=5;;
- bionic)
- old=8;;
focal)
old=9;;
jammy)
[ "$dist" = "sid" ] && dver=""
[ "$dist" = "trixie" ] && dver="~bpo13+1"
[ "$dist" = "bookworm" ] && dver="~bpo12+1"
- [ "$dist" = "bullseye" ] && dver="~bpo11+1"
- [ "$dist" = "buster" ] && dver="~bpo10+1"
- [ "$dist" = "stretch" ] && dver="~bpo90+1"
- [ "$dist" = "jessie" ] && dver="~bpo80+1"
- [ "$dist" = "wheezy" ] && dver="~bpo70+1"
- [ "$dist" = "squeeze" ] && dver="~bpo60+1"
- [ "$dist" = "lenny" ] && dver="~bpo50+1"
[ "$dist" = "noble" ] && dver="$dist"
[ "$dist" = "jammy" ] && dver="$dist"
[ "$dist" = "focal" ] && dver="$dist"
- [ "$dist" = "bionic" ] && dver="$dist"
- [ "$dist" = "xenial" ] && dver="$dist"
- [ "$dist" = "trusty" ] && dver="$dist"
- [ "$dist" = "saucy" ] && dver="$dist"
- [ "$dist" = "precise" ] && dver="$dist"
- [ "$dist" = "oneiric" ] && dver="$dist"
- [ "$dist" = "natty" ] && dver="$dist"
- [ "$dist" = "maverick" ] && dver="$dist"
- [ "$dist" = "lucid" ] && dver="$dist"
- [ "$dist" = "karmic" ] && dver="$dist"
echo $dver
}
if [[ "$project" == "ceph" ]] ; then
# This ugly loop checks all possible DEB combinations to see which repo has the most packages since that's likely the repo you want to sync.
current_highest_count=0
- for combo in debian/trixie debian/bookworm debian/bullseye ubuntu/bionic ubuntu/focal ubuntu/jammy ubuntu/noble; do
+ for combo in debian/trixie debian/bookworm ubuntu/jammy ubuntu/noble; do
combo_count=$(curl -fs https://chacra.ceph.com/r/$project/$release/$sha1/${combo}/flavors/default/pool/main/c/ceph/ | wc -l || /bin/true)
if [[ ${PIPESTATUS[0]} -eq 22 ]] ; then
echo "$combo packages not found, skipping"
- job:
name: wnbd-build
description: 'Builds the Windows Network Block Device (WNBD) project.'
- node: x86_64 && focal && libvirt
+ node: x86_64 && noble && libvirt
project-type: freestyle
defaults: global
concurrent: true