diff mbox series

[rdma-core,12/19] build/azp: Add Fedora 30 to the distro testing

Message ID 20190723190137.15370-13-jgg@ziepe.ca (mailing list archive)
State Not Applicable
Headers show
Series Complete the azure pipelines configuration | expand

Commit Message

Jason Gunthorpe July 23, 2019, 7:01 p.m. UTC
From: Jason Gunthorpe <jgg@mellanox.com>

Fedora represents the latest cutting edge upstream.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
---
 buildlib/azure-pipelines.yml | 7 +++++++
 buildlib/cbuild              | 1 +
 2 files changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/buildlib/azure-pipelines.yml b/buildlib/azure-pipelines.yml
index 1d4e1f317bbe0f..7df483e3329534 100644
--- a/buildlib/azure-pipelines.yml
+++ b/buildlib/azure-pipelines.yml
@@ -13,6 +13,9 @@  resources:
     - container: centos7
       image: ucfconsort.azurecr.io/rdma-core/centos7:25.0
       endpoint: ucfconsort_registry
+    - container: fedora
+      image: ucfconsort.azurecr.io/rdma-core/fc30:25.0
+      endpoint: ucfconsort_registry
     - container: leap
       image: ucfconsort.azurecr.io/rdma-core/opensuse-15.0:25.0
       endpoint: ucfconsort_registry
@@ -149,6 +152,10 @@  stages:
               CONTAINER: centos7
               SPEC: redhat/rdma-core.spec
               RPMBUILD_OPTS:
+            fedora30:
+              CONTAINER: fedora
+              SPEC: redhat/rdma-core.spec
+              RPMBUILD_OPTS:
             leap:
               CONTAINER: leap
               SPEC: suse/rdma-core.spec
diff --git a/buildlib/cbuild b/buildlib/cbuild
index 6e9a9cec9cd6cd..1441a91a8427fd 100755
--- a/buildlib/cbuild
+++ b/buildlib/cbuild
@@ -184,6 +184,7 @@  class fc30(Environment):
     ninja_cmd = "ninja-build";
     is_rpm = True;
     aliases = {"fedora"};
+    to_azp = True;
 
     def get_docker_file(self,tmpdir):
         res = DockerFile(self.docker_parent);