This adds a DISTROS property that can be passed a space delimeted list
of labels that controls which distros will be included in the matrix.
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=="x86_64" || (ARCH == "arm64" && (DIST == "xenial" || DIST == "centos7")))
axes:
- axis:
type: label-expression
- arm64
- axis:
type: label-expression
- name: DIST
+ name: AVAILABLE_DIST
values:
- - jessie
- #- wheezy
- #- precise
- trusty
- xenial
- #- centos6
- centos7
+ - jessie
+ - axis:
+ type: dynamic
+ name: DIST
+ values:
+ - DISTROS
+
+
builders:
- shell: |
description: "The git branch (or tag) to build"
default: master
+ - string:
+ name: DISTROS
+ description: "A list of distros to build for"
+ default: "xenial centos7"
+
- bool:
name: THROWAWAY
description: "