diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2019-08-19 13:18:37 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2019-08-28 12:16:52 +0300 |
commit | 57876b0a7af40ad67caa489a2c55f9c98fd0df31 (patch) | |
tree | 6065c845e812a1c99847d7b764306b38e9a23acb | |
parent | 3fd2ad4ee136be222a242a50dc2658a6f9b4b3c9 (diff) | |
download | rpm-57876b0a7af40ad67caa489a2c55f9c98fd0df31.tar.gz |
Add a dummy line to CI setup to allow controlling dnf gpgcheck per build
This doesn't do anything at all in itself because all the repositories
have gpgcheck=1 by default. However adding this line allows disabling
the gpgcheck for individual builds via Semaphore build settings, which
allows us work around signatures on rawhide breaking semi-regularly,
blocking our CI for no fault of our own.
(cherry picked from commit f50e26f1f3d520b9b5955f278822cdb35ea668d4)
-rw-r--r-- | ci/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/Dockerfile b/ci/Dockerfile index 511659106..d1a45d434 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -6,6 +6,8 @@ COPY . . RUN echo -e "deltarpm=0\ninstall_weak_deps=0\ntsflags=nodocs" >> /etc/dnf/dnf.conf RUN rm -f /etc/yum.repos.d/*modular.repo +# dummy for controlling per-repo gpgcheck via Semaphore setup +RUN sed -i -e "s:^gpgcheck=.$:gpgcheck=1:g" /etc/yum.repos.d/*.repo RUN dnf -y update RUN dnf -y install \ autoconf \ |