From e307f3a23583e6adf6a777da8fae74e43f4d78cb Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 9 Dec 2020 14:48:13 -0800 Subject: Ensure we can still install RHEL 7 GCC on RHEL 6 in testing These are the terrible things you get to do to support an EOL platform. Signed-off-by: Tim Smith --- kitchen-tests/kitchen.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kitchen-tests/kitchen.yml b/kitchen-tests/kitchen.yml index 4b56d70fe1..bc68607afe 100644 --- a/kitchen-tests/kitchen.yml +++ b/kitchen-tests/kitchen.yml @@ -69,7 +69,8 @@ platforms: pid_one_command: /sbin/init intermediate_instructions: - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers - - RUN yum install -y centos-release-scl + - RUN wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo + - RUN printf "[centos-sclo-rh]\nname=CentOS-6 - SCLo rh\nbaseurl=http://vault.centos.org/centos/6/sclo/x86_64/rh\ngpgcheck=1\nenabled=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo" > /etc/yum.repos.d/CentOS-SCLo-rh.repo - RUN yum install -y devtoolset-7 - RUN scl enable devtoolset-7 bash -- cgit v1.2.1