Fix epel repo rewrite, add to testing
It looks like epel-release switch from "mirrorlist" to "metalink" (around release 7-10 Jun 2017 according to [1]). Update our rewrite matching to handle this "metalink" as well. Add epel element to the centos7 (image-based) build for testing too [1] https://koji.fedoraproject.org/koji/buildinfo?buildID=978473 Add epel element so it's tested during the centos7 functional test. Change-Id: I2d6d4c2ec47bc69d2f16c96b5045b05c435a1af9
This commit is contained in:
parent
ec025ff03d
commit
dfd1e4fdaf
@ -1,2 +1,3 @@
|
|||||||
base
|
base
|
||||||
|
epel
|
||||||
openstack-ci-mirrors
|
openstack-ci-mirrors
|
||||||
|
@ -41,4 +41,5 @@ DIB_EPEL_MIRROR=${DIB_EPEL_MIRROR:-}
|
|||||||
[ -n "$DIB_EPEL_MIRROR" ] || exit 0
|
[ -n "$DIB_EPEL_MIRROR" ] || exit 0
|
||||||
|
|
||||||
# Set the EPEL mirror to use
|
# Set the EPEL mirror to use
|
||||||
sed -e "s|^#baseurl=http://download.fedoraproject.org/pub/epel|baseurl=$DIB_EPEL_MIRROR|;/^mirrorlist=/d" -i /etc/yum.repos.d/epel.repo
|
sed -e "s|^#baseurl=http://download.fedoraproject.org/pub/epel|baseurl=$DIB_EPEL_MIRROR|;/^mirrorlist=/d;/^metalink=/d" -i /etc/yum.repos.d/epel.repo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user