* add "crimson" as another flavor
* build "default", "notcmalloc" flavors for branches whose name
match jewel, kraken, luminous, mimic, nautilus
* build "default", "notcmalloc" and "crimson" flavors for branches whose name
does not match any of jewel, kraken, luminous, mimic, nautilus.
and build "crimson" on bionic only, because the "ubuntu-toolchain-r"
PPA offers GCC-9, which is the latest GCC release at the time of
writing. we want to target the mainstream hardware and toolchain
available at least 1 year later. by then, GCC-9 will be available
in most distros. and hopefully, it will be included by the
devtoolset-9.
Signed-off-by: Kefu Chai <kchai@redhat.com>
- conditional-step:
condition-kind: shell
condition-command: |
- echo "${GIT_BRANCH}" | grep -v '\(jewel\|kraken\|luminous\)'
+ echo "${GIT_BRANCH}" | grep -v '\(jewel\|kraken\|luminous\)' | grep '\(mimic\|nautilus\)'
on-evaluation-failure: dont-run
steps:
- shell:
FORCE=True
DISTROS=centos7
FLAVOR=notcmalloc
+ - conditional-step:
+ condition-kind: shell
+ condition-command: |
+ echo "${GIT_BRANCH}" | grep -v '\(jewel\|kraken\|luminous\|mimic\|nautilus\)'
+ 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=bionic xenial centos7
+ - project: 'ceph-dev-new'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=centos7
+ FLAVOR=notcmalloc
+ - project: 'ceph-dev-new'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=bionic
+ FLAVOR=crimson
wrappers:
- inject-passwords:
choices:
- default
- notcmalloc
+ - crimson
default: "default"
- description: "Type of Ceph build, choices are: notcmalloc, default (i.e. with tcmalloc). Defaults to: 'default'"
+ description: "Type of Ceph build, choices are: crimson, notcmalloc, default (i.e. with tcmalloc). Defaults to: 'default'"
builders:
- multijob: