execution-strategy:
combination-filter: |
DIST == AVAILABLE_DIST && ARCH == AVAILABLE_ARCH &&
- (ARCH == "x86_64" || (ARCH == "arm64" && ["xenial", "bionic", "focal", "centos7", "centos8"].contains(DIST)))
+ (ARCH == "x86_64" || (ARCH == "arm64" && ["xenial", "bionic", "focal", "jammy", "centos7", "centos8"].contains(DIST)))
axes:
- axis:
type: label-expression
- xenial
- bionic
- focal
+ - jammy
- centos7
- centos8
- centos9
regex: (mimic|nautilus|octopus|pacific|quincy)
label: '${BRANCH}'
- condition-kind: regex-match
- regex: (xenial|bionic|focal|centos7|centos8|centos9|buster|bullseye)
+ regex: (xenial|bionic|focal|jammy|centos7|centos8|centos9|buster|bullseye)
label: '${DIST}'
on-evaluation-failure: dont-run
steps:
- xenial
- bionic
- focal
+ - jammy
- centos7
- centos8
- centos9
FLAVOR=crimson
ARCHS=x86_64
# build main on:
- # default: focal centos8 windows
+ # default: jammy focal centos8 windows
# crimson: centos8
- conditional-step:
condition-kind: regex-match
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
- DISTROS=focal centos8 windows
+ DISTROS=jammy focal centos8 windows
- project: 'ceph-dev'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
- xenial
- bionic
- focal
+ - jammy
- jessie
- precise
- centos6
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
- DISTROS=focal centos8 windows
+ DISTROS=jammy focal centos8 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, focal, bionic, xenial, trusty, precise, wheezy, jessie, and windows"
- default: "focal bionic centos7 centos8 windows"
+ 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 windows"
- string:
name: ARCHS
DISTROS=centos8
FLAVOR=crimson
# build main on:
- # default: focal centos8
+ # default: jammy focal centos8
# crimson: centos8
- conditional-step:
condition-kind: regex-match
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
- DISTROS=focal centos8
+ DISTROS=jammy focal centos8
- project: 'ceph-dev'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, centos8, centos7, centos6, focal, bionic, xenial, trusty, precise, wheezy, jessie, and windows"
- default: "focal bionic centos7 centos8"
+ 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"
- string:
name: ARCHS
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, centos8, centos7, centos6, focal, bionic, xenial, trusty, precise, wheezy, jessie, buster, bullseye"
- default: "focal bionic centos8 buster bullseye"
+ 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"
+ default: "jammy focal bionic centos8 buster bullseye"
- string:
name: ARCHS
- string:
name: DISTROS
- description: "A list of distros to build for. Available options are: centos9, centos8, focal, bionic, xenial, and trusty"
- default: "centos8 trusty xenial bionic focal"
+ description: "A list of distros to build for. Available options are: centos9, centos8, jammy, focal, bionic, xenial, and trusty"
+ default: "centos8 trusty xenial bionic focal jammy"
- string:
name: ARCHS
- xenial
- bionic
- focal
+ - jammy
- axis:
type: dynamic
name: DIST
DIST=wheezy
DISTRO="debian"
;;
+ jammy*)
+ DIST=jammy
+ DISTRO="ubuntu"
+ ;;
focal*)
DIST=focal
DISTRO="ubuntu"
[ "$DIST" = "xenial" ] && os="ubuntu"
[ "$DIST" = "bionic" ] && os="ubuntu"
[ "$DIST" = "focal" ] && os="ubuntu"
+ [ "$DIST" = "jammy" ] && os="ubuntu"
if [ $os = "debian" ]; then
mirror="http://www.gtlib.gatech.edu/pub/debian"
old=8;;
focal)
old=9;;
+ jammy)
+ old=11;;
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" = "jammy" ] && dver="$dist"
[ "$dist" = "focal" ] && dver="$dist"
[ "$dist" = "bionic" ] && dver="$dist"
[ "$dist" = "xenial" ] && dver="$dist"