... with the exception of ceph-volume jobs.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
- squid
- reef
- quincy
- - pacific
test_suite:
- backend:
test_suite_script: run-backend-api-tests.sh
- condition-kind: and
condition-operands:
- condition-kind: regex-match
- regex: (mimic|nautilus|octopus|pacific|quincy|reef)
+ regex: (mimic|nautilus|octopus|pacific|quincy|reef|squid)
label: '${BRANCH}'
- condition-kind: regex-match
regex: (xenial|bionic|focal|jammy|centos7|centos8|centos9|buster|bullseye|bookworm)
- squid
- reef
- quincy
- - pacific
jobs:
- '{name}-{ceph_branch}'
browser: auto
branches:
- origin/main
+ - origin/squid
- origin/reef
- origin/quincy
- - origin/pacific
skip-tag: true
timeout: 20
wipe-workspace: true
builders:
- # build pacific on:
- # default: focal bionic centos8 leap15
+ # build quincy on:
+ # default: focal centos8 centos9 leap15
+ # crimson: centos8
- conditional-step:
condition-kind: regex-match
- regex: .*pacific.*
+ regex: .*quincy.*
label: '${GIT_BRANCH}'
on-evaluation-failure: dont-run
steps:
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
- DISTROS=focal bionic centos8 leap15
- # build quincy on:
- # default: focal centos8 centos9 leap15
- # crimson: centos8
+ DISTROS=focal centos8 centos9 leap15
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=centos8
+ FLAVOR=crimson
+ ARCHS=x86_64
+ # build reef on:
+ # default: jammy focal centos8 centos9 windows
+ # crimson: centos8 centos9
- conditional-step:
condition-kind: regex-match
- regex: .*quincy.*
+ regex: .*reef.*
label: '${GIT_BRANCH}'
on-evaluation-failure: dont-run
steps:
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
- DISTROS=focal centos8 centos9 leap15
+ DISTROS=jammy focal centos8 centos9 windows
- project: 'ceph-dev'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
- DISTROS=centos8
+ DISTROS=centos8 centos9
FLAVOR=crimson
ARCHS=x86_64
- # build reef on:
+ # build squid on:
# default: jammy focal centos8 centos9 windows
# crimson: centos8 centos9
- conditional-step:
condition-kind: regex-match
- regex: .*reef.*
+ regex: .*squid.*
label: '${GIT_BRANCH}'
on-evaluation-failure: dont-run
steps:
DISTROS=centos8 centos9
FLAVOR=crimson
ARCHS=x86_64
+ # build squid on:
+ # default: jammy focal centos8 centos9 windows
+ # crimson: centos8 centos9
+ - conditional-step:
+ condition-kind: regex-match
+ regex: .*squid.*
+ label: '${GIT_BRANCH}'
+ on-evaluation-failure: dont-run
+ steps:
+ - shell:
+ !include-raw:
+ - ../../../scripts/build_utils.sh
+ - ../../build/notify
+ - trigger-builds:
+ - project: 'ceph-dev-new'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=jammy focal centos8 centos9 windows
+ - project: 'ceph-dev-new'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=centos8 centos9
+ FLAVOR=crimson
+ ARCHS=x86_64
# If no release name is found in branch, build on all possible distro/flavor combos (except xenial and bionic).
# regex matching and 'on-evaluation-failure: run' doesn't work here so triple negative it is.
- conditional-step:
condition-kind: shell
condition-command: |
- echo "${GIT_BRANCH}" | grep -v '\(luminous\|mimic\|nautilus\|octopus\|pacific\|quincy\|reef\|centos9-only\|crimson-only\|jaeger\)'
+ echo "${GIT_BRANCH}" | grep -v '\(luminous\|mimic\|nautilus\|octopus\|pacific\|quincy\|reef\|squid\|centos9-only\|crimson-only\|jaeger\)'
on-evaluation-failure: dont-run
steps:
- shell:
browser: auto
branches:
- 'origin/main'
- - 'origin/jewel'
- - 'origin/kraken'
- - 'origin/hammer'
- - 'origin/luminous'
- - 'origin/mimic*'
- - 'origin/nautilus'
- - 'origin/octopus'
- - 'origin/pacific'
- 'origin/quincy'
- 'origin/reef'
+ - 'origin/squid'
skip-tag: true
timeout: 20
wipe-workspace: true
builders:
- # build nautilus on:
- # default: bionic xenial centos7 centos8
- - conditional-step:
- condition-kind: regex-match
- regex: .*nautilus.*
- label: '${GIT_BRANCH}'
- on-evaluation-failure: dont-run
- steps:
- - shell:
- !include-raw:
- - ../../../scripts/build_utils.sh
- - ../../build/notify
- - trigger-builds:
- - project: 'ceph-dev'
- predefined-parameters: |
- BRANCH=${GIT_BRANCH}
- FORCE=True
- DISTROS=bionic xenial centos7 centos8
- # build octopus on:
- # default: focal bionic centos7 centos8 leap15
+ # build quincy on:
+ # default: focal centos8 leap15
+ # crimson: centos8
- conditional-step:
condition-kind: regex-match
- regex: .*octopus.*
+ regex: .*quincy.*
label: '${GIT_BRANCH}'
on-evaluation-failure: dont-run
steps:
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
- DISTROS=focal bionic centos7 centos8 leap15
- # build pacific on:
- # default: focal bionic centos8 leap15
- - conditional-step:
- condition-kind: regex-match
- regex: .*pacific.*
- label: '${GIT_BRANCH}'
- on-evaluation-failure: dont-run
- steps:
- - shell:
- !include-raw:
- - ../../../scripts/build_utils.sh
- - ../../build/notify
- - trigger-builds:
+ DISTROS=focal centos8 leap15
- project: 'ceph-dev'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
- DISTROS=focal bionic centos8 leap15
- # build quincy on:
- # default: focal centos8 leap15
- # crimson: centos8
+ DISTROS=centos8
+ FLAVOR=crimson
+ # build reef on:
+ # default: jammy focal centos8 centos9
+ # crimson: centos8 centos9
- conditional-step:
condition-kind: regex-match
- regex: .*quincy.*
+ regex: .*reef.*
label: '${GIT_BRANCH}'
on-evaluation-failure: dont-run
steps:
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
- DISTROS=focal centos8 leap15
+ DISTROS=jammy focal centos8 centos9
- project: 'ceph-dev'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
FORCE=True
- DISTROS=centos8
+ DISTROS=centos8 centos9
FLAVOR=crimson
- # build reef on:
+ # build squid on:
# default: jammy focal centos8 centos9
# crimson: centos8 centos9
- conditional-step:
condition-kind: regex-match
- regex: .*reef.*
+ regex: .*squid.*
label: '${GIT_BRANCH}'
on-evaluation-failure: dont-run
steps:
- 'doc/releases'
builders:
- shell: |
- RELEASES="reef quincy pacific octopus"
+ RELEASES="squid reef quincy pacific octopus"
for release in $RELEASES; do
curl -X POST -H "Authorization: Token $READTHEDOCS_TOKEN" https://readthedocs.org/api/v3/projects/ceph/versions/$release/builds/
done
# dev runs will need to be set to the release
# that matches what the current ceph main
# branch is at
- local release="reef"
+ local release="squid"
fi
TOX_RUN_ENV=("timeout 3h")
if [ -n "$ceph_docker_image_tag" ]; then
if [ $# -eq 0 ]; then
# Default releases if no arguments passed
- releases=( pacific quincy reef )
+ releases=( quincy reef squid )
else
releases=( "$@" )
fi
# pull an in-progress release
prerelease_dir=/data/download.ceph.com/www/prerelease
-releases=${*:-"pacific quincy reef"}
+releases=${*:-"quincy reef squid"}
ceph_sync() {
release=$1