Merge "Actually disable EPEL, and epel-modular"

This commit is contained in:
Zuul 2020-03-01 17:23:33 +00:00 committed by Gerrit Code Review
commit fecd325c67
11 changed files with 38 additions and 4 deletions

View File

@ -359,7 +359,7 @@ RUN yum-config-manager --enable rhel-7-server-optional-rpms \
# Install base packages
{{ macros.install_packages( base_centos_packages | customizable("centos_packages") | customizable("centos_binary_packages") | customizable("centos_source_packages") ) }}
{{ macros.disable_extra_repos('epel') }}
{{ macros.disable_extra_repos(['epel', 'epel-modular']) }}
{# endif for base_package_type rpm #}
{% elif base_package_type == 'deb' %}

View File

@ -7,6 +7,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{{ macros.configure_user(name='bifrost') }}
{# NOTE(mgoddard): EPEL required for nginx #}
{{ macros.enable_extra_repos(['epel']) }}
{% if install_type == 'binary' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' && /bin/false

View File

@ -7,6 +7,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{{ macros.configure_user(name='freezer') }}
{# NOTE(mgoddard): EPEL required for trickle package. Not provided by EPEL8 #}
{% if distro_package_manager == 'yum' %}
{{ macros.enable_extra_repos(['epel']) }}
{% endif %}
{% if install_type == 'binary' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \

View File

@ -15,6 +15,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% endif %}
{% if install_type == 'binary' %}
{# NOTE(mgoddard): EPEL required for python3-boto3 package on CentOS 8 #}
{% if distro_package_manager == 'dnf' %}
{{ macros.enable_extra_repos(['epel']) }}
{% endif %}
{% if base_package_type == 'rpm' %}
{% set gnocchi_base_packages = [

View File

@ -5,7 +5,10 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %}
{{ macros.enable_extra_repos(['ceph']) }}
{# NOTE(mgoddard): EPEL required for shellinabox package. Not provided by EPEL8 #}
{% if distro_package_manager == 'yum' %}
{{ macros.enable_extra_repos(['epel']) }}
{% endif %}
{% if install_type == 'binary' %}
{% if base_package_type == 'rpm' %}

View File

@ -7,7 +7,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{{ macros.configure_user(name='mysql') }}
{{ macros.enable_extra_repos(['mariadb']) }}
{# NOTE(mgoddard): EPEL required for pv package #}
{{ macros.enable_extra_repos(['epel', 'mariadb']) }}
{% if base_package_type == 'rpm' %}
{% set mariadb_packages = [

View File

@ -7,6 +7,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{{ macros.configure_user(name='mongodb') }}
{# NOTE(mgoddard): EPEL required for mongodb packages. Not provided by EPEL8 #}
{% if distro_package_manager == 'yum' %}
{{ macros.enable_extra_repos(['epel']) }}
{% endif %}
{% if base_package_type == 'rpm' %}
{% set mongodb_packages = [
'mongodb',

View File

@ -5,6 +5,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %}
{# NOTE(mgoddard): EPEL required for spice-html5 package. Not provided by EPEL8 #}
{% if distro_package_manager == 'yum' %}
{{ macros.enable_extra_repos(['epel']) }}
{% endif %}
{% if install_type == 'binary' %}
{% if base_package_type == 'rpm' %}

View File

@ -76,7 +76,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'python3-paramiko',
'python3-paste-deploy',
'python3-pbr',
'python3-pika',
'python3-posix_ipc',
'python3-prettytable',
'python3-psycopg2',

View File

@ -7,6 +7,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{{ macros.configure_user(name='telegraf', homedir='/etc/telegraf') }}
{# NOTE(mgoddard): EPEL required for python2-pip package. python3-pip available in CentOS8 #}
{% if distro_package_manager == 'yum' %}
{{ macros.enable_extra_repos(['epel']) }}
{% endif %}
{{ macros.enable_extra_repos(['influxdb']) }}
{% set telegraf_packages = [

View File

@ -43,6 +43,8 @@ centos8:
ceph-noarch: "ceph-noarch"
ceph-el8: "ceph-el8"
ceph-lab-extras: "ceph-lab-extras"
epel: "epel"
epel-modular: "epel-modular"
grafana: "grafana"
influxdb: "influxdb"
rabbitmq: "rabbitmq_rabbitmq-server"