]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
Revert "ceph-*-build: skip unavailable repo when yum-builddep" 1228/head
authorKen Dreyer <kdreyer@redhat.com>
Wed, 16 Jan 2019 19:00:28 +0000 (12:00 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Wed, 16 Jan 2019 19:02:45 +0000 (12:02 -0700)
The CentOS infra admins resolved the repository issue at
https://bugs.centos.org/view.php?id=15606 .

Generally speaking, we want Yum to bail out early if there is a Yum repo
problem, rather than silently skipping over failures and possibly
introducing side effects to our builds.

This reverts commit 806f274710ebddb92541d6a1f82746beff530323.

ceph-build/build/setup_rpm
ceph-dev-build/build/setup_rpm
ceph-dev-new-build/build/setup_rpm

index 6727401ee0d29163c3faccafb505ee419b1444f1..d5e50fb6db3f5a155f11a78d780ea6879549bf91 100644 (file)
@@ -38,7 +38,7 @@ elif [ "$ARCH" = arm64 ]; then
     $SUDO yum-config-manager --enable centos-sclo-rh-testing
 fi
 sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec
-$SUDO yum-builddep -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec
+$SUDO yum-builddep -y $DIR/ceph.spec
 
 BRANCH=`branch_slash_filter $BRANCH`
 
index 1a4b49a7555d4c6503fd659210f6892c8d8e8911..ae0b5e3073b53543575c4cd44914cb031c68cc2a 100644 (file)
@@ -38,7 +38,7 @@ elif [ "$ARCH" = arm64 ]; then
     $SUDO yum-config-manager --enable centos-sclo-rh-testing
 fi
 sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec
-$SUDO yum-builddep -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec
+$SUDO yum-builddep -y $DIR/ceph.spec
 
 BRANCH=`branch_slash_filter $BRANCH`
 
index 1a4b49a7555d4c6503fd659210f6892c8d8e8911..ae0b5e3073b53543575c4cd44914cb031c68cc2a 100644 (file)
@@ -38,7 +38,7 @@ elif [ "$ARCH" = arm64 ]; then
     $SUDO yum-config-manager --enable centos-sclo-rh-testing
 fi
 sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec
-$SUDO yum-builddep -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec
+$SUDO yum-builddep -y $DIR/ceph.spec
 
 BRANCH=`branch_slash_filter $BRANCH`