]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph*build: Do not build containers on CentOS9 for now 2056/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 10 Aug 2022 17:29:01 +0000 (13:29 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 10 Aug 2022 17:29:01 +0000 (13:29 -0400)
ceph-container isn't ready yet.  There is work being done in https://github.com/ceph/ceph-container/pull/2038 but our build scripts still need a lot of adjustments.

Signed-off-by: David Galloway <dgallowa@redhat.com>
ceph-dev-build/build/build_rpm
ceph-dev-new-build/build/build_rpm

index 269ee13e3935123f6898f2f6dd1f2c3ca1d1e80a..b32efadc182fb8be7165aa5556da7e5e49bbe68a 100644 (file)
@@ -84,7 +84,7 @@ fi
 
 # XXX perhaps use job parameters instead of literals; then
 # later stages can also use them to compare etc.
-if [[ "$CI_CONTAINER" == true && $DISTRO == "centos" ]] ; then
+if [[ "$CI_CONTAINER" == true && $DISTRO == "centos" && $RELEASE == "8" ]] ; then
     loop=0
     ready=false
     while ((loop < 15)); do
index cd9febafe2d205f050c8f7acc506c58872038f60..091f2bddfaf88fa825be024b9d182cefc70d7567 100644 (file)
@@ -84,7 +84,7 @@ fi
 # XXX perhaps use job parameters instead of literals; then
 # later stages can also use them to compare etc.
 # build container image that supports building crimson-osd
-if [[ $CI_CONTAINER == "true" && $DISTRO == "centos" ]] ; then
+if [[ $CI_CONTAINER == "true" && $DISTRO == "centos" && $RELEASE == "8" ]] ; then
     loop=0
     ready=false
     while ((loop < 15)); do