Skip to content
Snippets Groups Projects
Commit 075ae5d8 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "import the gpg public key properly"

parents 4b2767ae b39c8e29
No related branches found
No related tags found
No related merge requests found
...@@ -48,8 +48,9 @@ COPY ceph.yum.repo /etc/yum.repos.d/ceph.repo ...@@ -48,8 +48,9 @@ COPY ceph.yum.repo /etc/yum.repos.d/ceph.repo
RUN yum -y install http://repo.percona.com/release/7/RPMS/x86_64/percona-release-0.1-3.noarch.rpm RUN yum -y install http://repo.percona.com/release/7/RPMS/x86_64/percona-release-0.1-3.noarch.rpm
RUN rpm --import https://yum.mariadb.org/RPM-GPG-KEY-MariaDB && \ RUN rpm --import https://yum.mariadb.org/RPM-GPG-KEY-MariaDB \
rpm --import https://raw.githubusercontent.com/ceph/ceph/master/keys/release.asc && rpm --import https://raw.githubusercontent.com/ceph/ceph/master/keys/release.asc \
&& rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Percona
{% if install_metatype in ['rdo', 'mixed'] %} {% if install_metatype in ['rdo', 'mixed'] %}
...@@ -70,7 +71,8 @@ RUN yum-config-manager --enable rhel-7-server-rpms \ ...@@ -70,7 +71,8 @@ RUN yum-config-manager --enable rhel-7-server-rpms \
{% if base_distro == 'centos' %} {% if base_distro == 'centos' %}
RUN yum install -y epel-release yum-plugin-priorities \ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 \
&& yum install -y epel-release yum-plugin-priorities \
&& rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 \ && rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 \
&& yum clean all && yum clean all
......
...@@ -5,12 +5,14 @@ MAINTAINER {{ maintainer }} ...@@ -5,12 +5,14 @@ MAINTAINER {{ maintainer }}
{% if base_distro in ['centos'] %} {% if base_distro in ['centos'] %}
RUN curl https://copr.fedoraproject.org/coprs/sdake/openstack-magnum/repo/epel-7/sdake-openstack-magnum-epel-7.repo -o /etc/yum.repos.d/sdake-openstack-magnum-epel-7.repo \ RUN curl https://copr.fedoraproject.org/coprs/sdake/openstack-magnum/repo/epel-7/sdake-openstack-magnum-epel-7.repo -o /etc/yum.repos.d/sdake-openstack-magnum-epel-7.repo \
&& rpm --import https://copr-be.cloud.fedoraproject.org/results/sdake/openstack-magnum/pubkey.gpg \
&& yum install -y openstack-magnum-common \ && yum install -y openstack-magnum-common \
&& yum clean all && yum clean all
{% elif base_distro in ['fedora'] %} {% elif base_distro in ['fedora'] %}
RUN curl https://copr.fedoraproject.org/coprs/sdake/openstack-magnum/repo/fedora-22/sdake-openstack-magnum-fedora-22.repo -o /etc/yum.repos.d/sdake-openstack-magnum-f22.repo | RUN curl https://copr.fedoraproject.org/coprs/sdake/openstack-magnum/repo/fedora-22/sdake-openstack-magnum-fedora-22.repo -o /etc/yum.repos.d/sdake-openstack-magnum-f22.repo \
&& rpm --import https://copr-be.cloud.fedoraproject.org/results/sdake/openstack-magnum/pubkey.gpg \
&& yum install -y openstack-magnum-common \ && yum install -y openstack-magnum-common \
&& yum clean all && yum clean all
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment