We will now be able to define with distros and archs we
wish to build for.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
- github:
url: https://github.com/ceph/ceph
execution-strategy:
- combination-filter: ARCH=="x86_64" || (ARCH == "arm64" && (DIST == "xenial" || DIST == "centos7"))
+ combination-filter: DIST==AVAILABLE_DIST && ARCH==AVAILABLE_ARCH && (ARCH=="x86_64" || (ARCH == "arm64" && (DIST == "xenial" || DIST == "centos7")))
axes:
- axis:
type: label-expression
- huge
- axis:
type: label-expression
- name: ARCH
+ name: AVAILABLE_ARCH
values:
- x86_64
- arm64
- axis:
type: label-expression
- name: DIST
+ name: AVAILABLE_DIST
values:
- - jessie
- #- wheezy
- #- precise
- trusty
- xenial
- #- centos6
- centos7
+ - jessie
+ - precise
+ - centos6
+ - wheezy
+ - axis:
+ type: dynamic
+ name: DIST
+ values:
+ - DISTROS
+ - axis:
+ type: dynamic
+ name: ARCH
+ values:
+ - ARCHS
builders:
- shell: |
description: "Base parent path for virtualenv locations, set to avoid issues with extremely long paths that are incompatible with tools like pip. Defaults to '/tmp/' (note the trailing slash, which is required)."
default: "/tmp/"
+ - string:
+ name: DISTROS
+ description: "A list of distros to build for. Available options are: xenial, centos7, centos6, trusty, precise, wheezy, and jessie"
+ default: "xenial centos7"
+
+ - string:
+ name: ARCHS
+ description: "A list of architectures to build for. Available options are: x86_64, and arm64"
+ default: "x86_64"
+
builders:
- multijob:
name: 'ceph tag phase'