]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-release-rpm: Update for EL8 compatibility 1528/head
authorDavid Galloway <dgallowa@redhat.com>
Mon, 16 Mar 2020 18:27:38 +0000 (14:27 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Mon, 16 Mar 2020 18:28:45 +0000 (14:28 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
ceph-release-rpm/build/build
ceph-release-rpm/config/definitions/ceph-release-rpm.yml

index c467787888d672a496c7d4f6d2e4d1a403a3e925..d8e579dce18dfcd9f4cde78f115e0a9ec5ec2e68 100644 (file)
@@ -31,6 +31,10 @@ if [ "$target" = "centos7" ] ; then
     target=el7
     chacra_baseurl="ceph-release/${chacra_ref}/HEAD/centos/7"
 fi
+if [ "$target" = "centos8" ] ; then
+    target=el8
+    chacra_baseurl="ceph-release/${chacra_ref}/HEAD/centos/8"
+fi
 if [ "$target" = "sles11sp2" ] ; then
     target=sles11
     chacra_baseurl="ceph-release/${chacra_ref}/HEAD/sles/11"
@@ -48,6 +52,9 @@ cat <<EOF > ${BUILDAREA}/SPECS/ceph-release.spec
 %if 0%{?centos} == 7
 %define dist .el7
 %endif
+%if 0%{?centos} == 8
+%define dist .el8
+%endif
 
 
 Name:           ceph-release
index ba42cb3ec51d3b8ac79d6d8b1b4ddc8694303a5e..32ca9745ed97cbbf5cba59b82f220528be48a3f5 100644 (file)
@@ -38,6 +38,7 @@ If this is checked, then the binaries will be built and pushed to chacra even if
           values:
             - centos6
             - centos7
+            - centos8
 
     builders:
       - shell: