]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-deploy-build: build on bionic and centos8 for python3 package
authorKefu Chai <kchai@redhat.com>
Thu, 1 Oct 2020 07:23:11 +0000 (15:23 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 1 Oct 2020 11:00:54 +0000 (19:00 +0800)
* s/xenial/bionic/ for building python3 package
* add centos8

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-deploy-build/build/build
ceph-deploy-build/config/definitions/ceph-deploy-build.yml

index a4869655921034c4b3f56217c3a15f08cd69ac33..b3edfeef6d31c7c19c06f23aef6584f7520bbd7e 100644 (file)
@@ -17,8 +17,8 @@ echo "  SHA1=$GIT_COMMIT"
 
 # FIXME A very naive way to just list the RPM $DIST that we currently support.
 # We should be a bit more lenient to allow any rhel/centos/sles/suse
-rpm_dists="rhel centos6 centos7 centos"
-deb_dists="precise wheezy squeeze trusty jessie"
+rpm_dists="rhel el7 centos7 el8 centos8 centos"
+deb_dists="xenial bionic focal stretch buster"
 
 # A helper to match an item in a list of items, like python's `if item in list`
 listcontains() {
@@ -79,13 +79,13 @@ then
 
     REPO=debian-repo
     COMPONENT=main
-    DEB_DIST="sid wheezy squeeze jessie precise raring trusty"
+    DEB_DIST="sid xenial bionic focal stretch buster"
     DEB_BUILD=$(lsb_release -s -c)
     #XXX only releases until we fix this
     RELEASE=1
     DISTRO=""
     case $DIST in
-        jessie|wheezy)
+        jessie|buster)
             DISTRO="debian"
             ;;
         *)
index 913002f1e8f847086cc0f52583b331c6e61ddbdd..6ff60a69df5ed692863dfd639a6f74a75b6714e4 100644 (file)
@@ -30,8 +30,9 @@
           type: label-expression
           name: DIST
           values:
-            - xenial
+            - bionic
             - centos7
+            - centos8
 
     builders:
       - shell: