name: ceph-api-nightly
ceph_branch:
- main
+ - reef
- quincy
- pacific
- - octopus
- - nautilus
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)
+ regex: (mimic|nautilus|octopus|pacific|quincy|reef)
label: '${BRANCH}'
- condition-kind: regex-match
regex: (xenial|bionic|focal|jammy|centos7|centos8|centos9|buster|bullseye)
name: ceph-dashboard-cephadm-e2e-nightly
ceph_branch:
- main
+ - reef
- quincy
- pacific
- - octopus
jobs:
- '{name}-{ceph_branch}'
browser: auto
branches:
- origin/main
+ - origin/reef
- origin/quincy
- origin/pacific
- - origin/octopus
skip-tag: true
timeout: 20
wipe-workspace: true
builders:
- # build octopus on:
- # default: focal bionic centos7 centos8 leap15
+ # build pacific on:
+ # default: focal bionic centos8 leap15
+ # crimson: centos8
- conditional-step:
condition-kind: regex-match
- regex: .*octopus.*
+ regex: .*pacific.*
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
+ DISTROS=focal bionic centos8 leap15
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=centos8
+ FLAVOR=crimson
+ ARCHS=x86_64
+ # 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
+ DISTROS=focal centos8 centos9 leap15
- project: 'ceph-dev'
predefined-parameters: |
BRANCH=${GIT_BRANCH}
DISTROS=centos8
FLAVOR=crimson
ARCHS=x86_64
- # build quincy on:
- # default: focal centos8 centos9 leap15
+ # build reef on:
+ # default: jammy focal centos8 centos9 windows
# crimson: centos8
- 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}
DISTROS=centos8
FLAVOR=crimson
ARCHS=x86_64
+ # build reef on:
+ # default: jammy focal centos8 centos9 windows
+ # crimson: centos8
+ - conditional-step:
+ condition-kind: regex-match
+ regex: .*reef.*
+ 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
+ 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\|centos9-only\|crimson-only\|jaeger\)'
+ echo "${GIT_BRANCH}" | grep -v '\(luminous\|mimic\|nautilus\|octopus\|pacific\|quincy\|reef\|centos9-only\|crimson-only\|jaeger\)'
on-evaluation-failure: dont-run
steps:
- shell:
- 'origin/octopus'
- 'origin/pacific'
- 'origin/quincy'
+ - 'origin/reef'
skip-tag: true
timeout: 20
wipe-workspace: true
FORCE=True
DISTROS=centos8
FLAVOR=crimson
+ # build reef on:
+ # default: jammy focal centos8 centos9
+ # crimson: centos8
+ - conditional-step:
+ condition-kind: regex-match
+ regex: .*main.*
+ 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=jammy focal centos8 centos9
+ - project: 'ceph-dev'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=centos8
+ FLAVOR=crimson
# build main on:
# default: jammy focal centos8 centos9
# crimson: centos8
- 'doc/releases'
builders:
- shell: |
- RELEASES="quincy pacific octopus"
+ RELEASES="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
- ceph
white-list-target-branches:
- main
+ - reef
- quincy
- pacific
- octopus
CEPH_ANSIBLE_BRANCH="stable-6.0"
elif [[ "$ghprbTargetBranch" == "quincy" ]]; then
CEPH_ANSIBLE_BRANCH="stable-7.0"
+elif [[ "$ghprbTargetBranch" == "reef" ]]; then
+ CEPH_ANSIBLE_BRANCH="stable-8.0"
else
CEPH_ANSIBLE_BRANCH="main"
fi
CEPH_ANSIBLE_BRANCH="stable-6.0"
elif [[ "$CEPH_BRANCH" == "quincy" ]]; then
CEPH_ANSIBLE_BRANCH="stable-7.0"
+elif [[ "$CEPH_BRANCH" == "reef" ]]; then
+ CEPH_ANSIBLE_BRANCH="stable-8.0"
else
CEPH_ANSIBLE_BRANCH="main"
fi
- lvm
ceph_branch:
- main
+ - reef
- quincy
- pacific
- batch
ceph_branch:
- main
+ - reef
- quincy
- pacific
- batch
ceph_branch:
- main
+ - reef
- quincy
- pacific
default: "https://github.com/ceph/ceph.git"
builders:
- # centos8 based jobs for octopus & pacific & quincy & main
+ # centos8 based jobs for pacific & quincy & reef & main
- conditional-step:
condition-kind: shell
condition-command: |
#!/bin/bash
set -x
- if [[ ! "$CEPH_BRANCH" =~ main|octopus|pacific|quincy ]]; then
+ if [[ ! "$CEPH_BRANCH" =~ main|pacific|quincy|reef ]]; then
exit 1
fi
on-evaluation-failure: dont-run
- ceph
white-list-target-branches:
- main
+ - reef
- quincy
trigger-phrase: 'jenkins test windows'
skip-build-phrase: '^jenkins do not test.*'
# dev runs will need to be set to the release
# that matches what the current ceph main
# branch is at
- local release="quincy"
+ local release="reef"
fi
TOX_RUN_ENV=("timeout 3h")
if [ -n "$ceph_docker_image_tag" ]; then
if [ $# -eq 0 ]; then
# Default releases if no arguments passed
- releases=( mimic nautilus octopus pacific quincy )
+ releases=( pacific quincy reef )
else
releases=( "$@" )
fi
# Since the binaries are created with a different repository layout, this
# script maps directories like "centos/6" to "rpm-$release/el6"
-releases=${*:-"nautilus octopus pacific quincy"}
+releases=${*:-"pacific quincy reef"}
ceph_sync() {
release=$1