]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
tcmu-runner: enable centos9
authorCasey Bodley <cbodley@redhat.com>
Mon, 4 Dec 2023 17:12:54 +0000 (12:12 -0500)
committerCasey Bodley <cbodley@redhat.com>
Mon, 4 Dec 2023 17:12:54 +0000 (12:12 -0500)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
tcmu-runner/config/definitions/tcmu-runner.yml

index 2d8c6f46fb4310165170ae28f2a4387bf7db0fab..f1d45eefe980757a73d320d90b0147fa32b186cd 100644 (file)
@@ -24,8 +24,8 @@
 
       - string:
           name: DISTROS
-          description: "A list of distros to build for. Available options are: centos7, centos8"
-          default: "centos7 centos8"
+          description: "A list of distros to build for. Available options are: centos7, centos8, centos9"
+          default: "centos7 centos8 centos9"
 
       - string:
           name: ARCHS
@@ -47,7 +47,7 @@ If this is checked, then the binaries will be built and pushed to chacra even if
     execution-strategy:
        combination-filter: |
          DIST == AVAILABLE_DIST && ARCH == AVAILABLE_ARCH &&
-         (ARCH == "x86_64" || (ARCH == "arm64" && DIST == "centos8"))
+         (ARCH == "x86_64" || (ARCH == "arm64" && ["centos8", "centos9"].contains(DIST)))
     axes:
       - axis:
           type: label-expression
@@ -66,6 +66,7 @@ If this is checked, then the binaries will be built and pushed to chacra even if
           values:
             - centos7
             - centos8
+            - centos9
       - axis:
           type: dynamic
           name: DIST