]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev: adds the ability to specify which distros to build for
authorAndrew Schoen <aschoen@redhat.com>
Wed, 3 Aug 2016 22:30:23 +0000 (17:30 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 4 Aug 2016 18:38:09 +0000 (13:38 -0500)
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>
ceph-dev-build/config/definitions/ceph-dev-build.yml
ceph-dev/config/definitions/ceph-dev.yml

index 2b7ca58424662b1e0a420c6eeff2f9d4a5d2f13e..2a1265be1eb0a2799699f2c658e3946a39c7e3ee 100644 (file)
@@ -9,7 +9,7 @@
       - 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: |
index c223958ff6600bbc80535cfc74f2af983d755f83..010dad91f51fb3e704902b1b4470279167d6d03a 100644 (file)
           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: "