From e4310928374ca125e4354e6bfb1d01930cd32ef6 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Nov 10 2012 16:51:37 +0000 Subject: Removed the qa_repo_config.sh : was only used for QA harness but not needed anymore --- diff --git a/tests/0_common/00_qa_repo_config.sh b/tests/0_common/00_qa_repo_config.sh deleted file mode 100755 index ba73b4d..0000000 --- a/tests/0_common/00_qa_repo_config.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/bash - -t_Log "Running $0 - modifying yum repositories for QA purposes." -if [ $SKIP_QA_HARNESS -eq 1 ]; then - echo 'Skip..' - exit 0 -fi - -# Disable the normal repositories and points to the QA repo -#mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.disabled -sed -i s#gpgcheck=1#gpgcheck=1\\nenabled=0#g /etc/yum.repos.d/CentOS-Base.repo - - - -cat << EOF > /etc/yum.repos.d/CentOS-QA.repo - -[QA-base] -name=CentOS-\$releasever - OS -baseurl=http://repo.centos.qa/srv/CentOS/\$releasever/os/\$basearch/ -gpgcheck=1 -enabled=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-\$releasever - -[QA-updates] -name=CentOS-\$releasever - Updates -baseurl=http://repo.centos.qa/srv/CentOS/\$releasever/updates/\$basearch/ -gpgcheck=1 -enabled=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-\$releasever - -[QA-extras] -name=CentOS-\$releasever - Extras -baseurl=http://repo.centos.qa/srv/CentOS/\$releasever/extras/\$basearch/ -gpgcheck=1 -enabled=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-\$releasever - -[qa-centosplus] -name=CentOS-\$releasever - CentOSPlus -baseurl=http://repo.centos.qa/srv/CentOS/\$releasever/centosplus/\$basearch/ -gpgcheck=1 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-\$releasever - -[qa-cr] -name=CentOS-\$releasever - CR -baseurl=http://repo.centos.qa/srv/CentOS/\$releasever/cr/\$basearch/ -gpgcheck=1 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-\$releasever - - -EOF - -rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-$(t_DistCheck) -yum clean all -yum repolist >/dev/null 2>&1 - - -t_CheckExitStatus $? -