Refactor handling of default buildroot modules (Ursa Prime)

This removes support for default_modules_url in the Platform XMD and
gets the list of default name:stream combinations to include in the buildroot
from https://pagure.io/releng/fedora-module-defaults.

Addresses #1402
This commit is contained in:
mprahl
2019-09-10 16:32:42 -04:00
parent 47809d530a
commit 00e78494d9
7 changed files with 271 additions and 94 deletions

View File

@@ -4,6 +4,7 @@ WORKDIR /build
RUN yum -y update
RUN yum -y install epel-release yum-utils
RUN yum-config-manager --add-repo https://kojipkgs.fedoraproject.org/repos-dist/epel7Server-infra/latest/x86_64/
# Replace the pinned libmodulemd RPMs with python2-libmodulemd2 after https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-e093131fa7
RUN yum -y install \
--nogpgcheck \
--setopt=deltarpm=0 \
@@ -29,7 +30,8 @@ RUN yum -y install \
python-futures \
python-koji \
python-ldap3 \
python2-libmodulemd \
https://kojipkgs.fedoraproject.org//packages/libmodulemd2/2.8.0/2.el7/x86_64/libmodulemd2-2.8.0-2.el7.x86_64.rpm \
https://kojipkgs.fedoraproject.org//packages/libmodulemd2/2.8.0/2.el7/x86_64/python2-libmodulemd2-2.8.0-2.el7.x86_64.rpm \
python-mock \
python-munch \
python-pip \