Sandro Bonazzola has uploaded a new change for review.

Change subject: repo_closure: added EL7 support
......................................................................

repo_closure: added EL7 support

Added EL7 support for repository closure checking.
Also fixed URLs to Gluster repositories for EL6.

Change-Id: I77e7f654318589dcecc4e27c7285c98a74c1164d
Signed-off-by: Sandro Bonazzola <sbona...@redhat.com>
---
M jobs/packaging/repo_closure_check.sh
1 file changed, 46 insertions(+), 23 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/jenkins refs/changes/77/30777/1

diff --git a/jobs/packaging/repo_closure_check.sh 
b/jobs/packaging/repo_closure_check.sh
index 0fd83af..08cf619 100755
--- a/jobs/packaging/repo_closure_check.sh
+++ b/jobs/packaging/repo_closure_check.sh
@@ -117,29 +117,52 @@
     local distid="$DISTRIBUTION$DISTRIBUTION_VERSION"
     if [[ "${DISTRIBUTION}" == "el" ]] \
         || [[ "${DISTRIBUTION}" == "Centos" ]]; then
-        repoclosure \
-            --tempcache \
-            --repofrompath=check-custom-$distid,"${CUSTOM_URL}" ${STATIC_RP} \
-            
--repofrompath=check-base-$distid,"${CENTOS_MIRROR}/${DISTRIBUTION_VERSION}"/os/x86_64/
 \
-            
--repofrompath=check-base-i386-$distid,"${CENTOS_MIRROR}/${DISTRIBUTION_VERSION}"/os/i386/
 \
-            
--repofrompath=check-updates-$distid,"${CENTOS_MIRROR}/${DISTRIBUTION_VERSION}"/updates/x86_64/
 \
-            
--repofrompath=check-extras-$distid,"${CENTOS_MIRROR}/${DISTRIBUTION_VERSION}"/extras/x86_64/
 \
-            
--repofrompath=check-epel-$distid,"${EPEL_MIRROR}"/fedora-epel/"${DISTRIBUTION_VERSION}"/x86_64/
 \
-            
--repofrompath=check-glusterfs-epel-$distid,"${GLUSTER_MIRROR}"/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-6/x86_64/
 \
-            
--repofrompath=check-glusterfs-epel-noarch-$distid,"${GLUSTER_MIRROR}"/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-6.4/noarch
 \
-            
--repofrompath=check-jpackage-generic-$distid,"${JPACKAGE_MIRROR}"/JPackage/6.0/generic/free
 \
-            
--repofrompath=check-patternfly-$distid,"${COPR}/patternfly/patternfly1/epel-6-x86_64"
 \
-            --lookaside check-updates-$distid \
-            --lookaside check-extras-$distid \
-            --lookaside check-epel-$distid \
-            --lookaside check-glusterfs-epel-$distid \
-            --lookaside check-glusterfs-noarch-epel-$distid \
-            --lookaside check-base-$distid \
-            --lookaside check-base-i386-$ditsid \
-            --lookaside check-jpackage-rhel5-$distid \
-            --lookaside check-jpackage-generic-$distid \
-            --lookaside check-patternfly-$distid \
-            --repoid check-custom-$distid
+        if [[ "${DISTRIBUTION_VERSION}" == "7" ]]; then
+            repoclosure \
+                --tempcache \
+                --repofrompath=check-custom-$distid,"${CUSTOM_URL}" 
${STATIC_RP} \
+                
--repofrompath=check-base-$distid,"${CENTOS_MIRROR}/${DISTRIBUTION_VERSION}"/os/x86_64/
 \
+                
--repofrompath=check-base-i386-$distid,"${CENTOS_MIRROR}/${DISTRIBUTION_VERSION}"/os/i386/
 \
+                
--repofrompath=check-updates-$distid,"${CENTOS_MIRROR}/${DISTRIBUTION_VERSION}"/updates/x86_64/
 \
+                
--repofrompath=check-extras-$distid,"${CENTOS_MIRROR}/${DISTRIBUTION_VERSION}"/extras/x86_64/
 \
+                
--repofrompath=check-epel-$distid,"${EPEL_MIRROR}"/fedora-epel/beta/"${DISTRIBUTION_VERSION}"/x86_64/
 \
+                
--repofrompath=check-glusterfs-epel-$distid,"${GLUSTER_MIRROR}"/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-"${DISTRIBUTION_VERSION}"/x86_64/
 \
+                
--repofrompath=check-glusterfs-epel-noarch-$distid,"${GLUSTER_MIRROR}"/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-"${DISTRIBUTION_VERSION}"/noarch
 \
+                
--repofrompath=check-patternfly-$distid,"${COPR}/patternfly/patternfly1/epel-${DISTRIBUTION_VERSION}-x86_64"
 \
+                --lookaside check-updates-$distid \
+                --lookaside check-extras-$distid \
+                --lookaside check-epel-$distid \
+                --lookaside check-glusterfs-epel-$distid \
+                --lookaside check-glusterfs-noarch-epel-$distid \
+                --lookaside check-base-$distid \
+                --lookaside check-base-i386-$ditsid \
+                --lookaside check-patternfly-$distid \
+                --repoid check-custom-$distid
+        else
+            repoclosure \
+                --tempcache \
+                --repofrompath=check-custom-$distid,"${CUSTOM_URL}" 
${STATIC_RP} \
+                
--repofrompath=check-base-$distid,"${CENTOS_MIRROR}/${DISTRIBUTION_VERSION}"/os/x86_64/
 \
+                
--repofrompath=check-base-i386-$distid,"${CENTOS_MIRROR}/${DISTRIBUTION_VERSION}"/os/i386/
 \
+                
--repofrompath=check-updates-$distid,"${CENTOS_MIRROR}/${DISTRIBUTION_VERSION}"/updates/x86_64/
 \
+                
--repofrompath=check-extras-$distid,"${CENTOS_MIRROR}/${DISTRIBUTION_VERSION}"/extras/x86_64/
 \
+                
--repofrompath=check-epel-$distid,"${EPEL_MIRROR}"/fedora-epel/"${DISTRIBUTION_VERSION}"/x86_64/
 \
+                
--repofrompath=check-glusterfs-epel-$distid,"${GLUSTER_MIRROR}"/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-"${DISTRIBUTION_VERSION}"/x86_64/
 \
+                
--repofrompath=check-glusterfs-epel-noarch-$distid,"${GLUSTER_MIRROR}"/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-"${DISTRIBUTION_VERSION}"/noarch
 \
+                
--repofrompath=check-jpackage-generic-$distid,"${JPACKAGE_MIRROR}"/JPackage/6.0/generic/free
 \
+                
--repofrompath=check-patternfly-$distid,"${COPR}/patternfly/patternfly1/epel-6-x86_64"
 \
+                --lookaside check-updates-$distid \
+                --lookaside check-extras-$distid \
+                --lookaside check-epel-$distid \
+                --lookaside check-glusterfs-epel-$distid \
+                --lookaside check-glusterfs-noarch-epel-$distid \
+                --lookaside check-base-$distid \
+                --lookaside check-base-i386-$ditsid \
+                --lookaside check-jpackage-rhel5-$distid \
+                --lookaside check-jpackage-generic-$distid \
+                --lookaside check-patternfly-$distid \
+                --repoid check-custom-$distid
+        fi
     elif [ "${DISTRIBUTION}" == "fc" ] \
         || [ "${DISTRIBUTION}" == "Fedora" ]; then
         repoclosure \


-- 
To view, visit http://gerrit.ovirt.org/30777
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I77e7f654318589dcecc4e27c7285c98a74c1164d
Gerrit-PatchSet: 1
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to