summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2019-08-19 13:18:37 +0300
committerPanu Matilainen <pmatilai@redhat.com>2019-08-28 12:16:52 +0300
commit57876b0a7af40ad67caa489a2c55f9c98fd0df31 (patch)
tree6065c845e812a1c99847d7b764306b38e9a23acb
parent3fd2ad4ee136be222a242a50dc2658a6f9b4b3c9 (diff)
downloadrpm-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/Dockerfile2
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 \