summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2019-08-19 13:18:37 +0300
committerPanu Matilainen <pmatilai@redhat.com>2019-08-19 14:08:08 +0300
commitf50e26f1f3d520b9b5955f278822cdb35ea668d4 (patch)
treece768605923291e977e844b8a80ade097ece89f1 /ci
parent99b9ded5dd7d1118aea528600fcf20ba89dbab9b (diff)
downloadrpm-f50e26f1f3d520b9b5955f278822cdb35ea668d4.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.
Diffstat (limited to 'ci')
-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 \