execution-strategy:
combination-filter: |
DIST == AVAILABLE_DIST && ARCH == AVAILABLE_ARCH &&
- (ARCH == "x86_64" || (ARCH == "arm64" && ["bionic", "focal", "jammy", "centos9"].contains(DIST)))
+ (ARCH == "x86_64" || (ARCH == "arm64" && ["bionic", "focal", "jammy", "noble", "centos9"].contains(DIST)))
axes:
- axis:
type: label-expression
- bionic
- focal
- jammy
+ - noble
- centos7
- centos8
- centos9
regex: (reef|squid|tentacle)
label: '${{BRANCH}}'
- condition-kind: regex-match
- regex: (focal|jammy|centos9|buster|bullseye|bookworm)
+ regex: (focal|jammy|noble|centos9|buster|bullseye|bookworm)
label: '${{DIST}}'
on-evaluation-failure: dont-run
steps:
- bionic
- focal
- jammy
+ - noble
- centos7
- centos8
- centos9
FORCE=True
DISTROS=jammy focal centos9 windows
# build squid on:
- # default: jammy centos9 windows
+ # default: noble jammy centos9 windows
- conditional-step:
condition-kind: regex-match
regex: .*squid.*
predefined-parameters: |
BRANCH=${{GIT_BRANCH}}
FORCE=True
- DISTROS=jammy centos9 windows
+ DISTROS=noble jammy centos9 windows
# build tentacle on:
- # default: jammy centos9 windows
+ # default: noble jammy centos9 windows
# crimson: centos9
- conditional-step:
condition-kind: regex-match
predefined-parameters: |
BRANCH=${{GIT_BRANCH}}
FORCE=True
- DISTROS=jammy centos9 windows
+ DISTROS=noble jammy centos9 windows
- project: 'ceph-dev'
predefined-parameters: |
BRANCH=${{GIT_BRANCH}}
FLAVOR=crimson-debug
ARCHS=x86_64
# build main on:
- # default: jammy centos9 windows
+ # default: noble jammy centos9 windows
# crimson-debug: centos9
# crimson-release: centos9
- conditional-step:
predefined-parameters: |
BRANCH=${{GIT_BRANCH}}
FORCE=True
- DISTROS=jammy centos9 windows
+ DISTROS=noble jammy centos9 windows
- project: 'ceph-dev'
predefined-parameters: |
BRANCH=${{GIT_BRANCH}}
- bionic
- focal
- jammy
+ - noble
- jessie
- precise
- centos6
- project: 'ceph-dev-new'
# build squid on:
- # default: jammy centos9 windows
+ # default: noble jammy centos9 windows
- conditional-step:
condition-kind: regex-match
regex: .*squid.*
predefined-parameters: |
BRANCH=${{GIT_BRANCH}}
FORCE=True
- DISTROS=jammy centos9 windows
+ DISTROS=noble jammy centos9 windows
# build tentacle on:
- # default: jammy centos9 windows
+ # default: noble jammy centos9 windows
# crimson: centos9
- conditional-step:
condition-kind: regex-match
predefined-parameters: |
BRANCH=${{GIT_BRANCH}}
FORCE=True
- DISTROS=jammy centos9 windows
+ DISTROS=noble jammy centos9 windows
- project: 'ceph-dev-new'
predefined-parameters: |
BRANCH=${{GIT_BRANCH}}
predefined-parameters: |
BRANCH=${{GIT_BRANCH}}
FORCE=True
- DISTROS=jammy centos9 windows
+ DISTROS=noble jammy centos9 windows
- trigger-builds:
- project: 'ceph-dev-new'
predefined-parameters: |
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, centos8, centos7, centos6, jammy, focal, bionic, xenial, trusty, precise, wheezy, jessie, and windows"
- default: "jammy centos9 windows"
+ 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 centos9 windows"
- string:
name: ARCHS
- string:
name: DISTROS
description: "A list of distros to build for. Available options are: centos9, centos8, noble, jammy, focal, and windows"
- default: "centos9 jammy"
+ default: "centos9 noble jammy"
- string:
name: ARCHS
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, centos8, centos7, centos6, jammy, focal, bionic, xenial, trusty, precise, wheezy, jessie, and windows"
- default: "jammy focal bionic centos7 centos8 centos9"
+ 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"
- string:
name: ARCHS
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, centos8, centos7, centos6, jammy, focal, bionic, xenial, trusty, precise, wheezy, jessie, buster, bullseye, bookworm"
- default: "jammy focal centos8 centos9 bookworm"
+ 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"
- string:
name: ARCHS
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, jammy and focal"
- default: "centos9 focal jammy"
+ description: "A list of distros to build for. Available options are: centos9, noble, jammy and focal"
+ default: "centos9 focal jammy noble"
- string:
name: ARCHS
- centos9
- focal
- jammy
+ - noble
- axis:
type: dynamic
name: DIST
DIST=wheezy
DISTRO="debian"
;;
+ noble*)
+ DIST=noble
+ DISTRO="ubuntu"
+ ;;
jammy*)
DIST=jammy
DISTRO="ubuntu"
[ "$DIST" = "bionic" ] && os="ubuntu"
[ "$DIST" = "focal" ] && os="ubuntu"
[ "$DIST" = "jammy" ] && os="ubuntu"
+ [ "$DIST" = "noble" ] && os="ubuntu"
if [ $os = "debian" ]; then
# this mirror seems to have been decommissioned.
old=9;;
jammy)
old=11;;
+ noble)
+ old=13;;
esac
setup_gcc_hook $old > $hookdir/D10update-gcc-alternatives
chmod +x $hookdir/D10update-gcc-alternatives
[ "$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"
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/bookworm debian/bullseye ubuntu/bionic ubuntu/focal ubuntu/jammy; do
+ for combo in debian/bookworm debian/bullseye ubuntu/bionic ubuntu/focal 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)
if [ $combo_count -gt $current_highest_count ]; then
current_highest_count=$combo_count