summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2019-06-03 12:30:07 +0300
committerPanu Matilainen <pmatilai@redhat.com>2020-03-26 11:57:58 +0200
commitbe4bd1f8828ab5a5bdb9e6d3c040ca2f7b5ae7c4 (patch)
treede6c9d9b49c7fbd4b526e8e71d1ffd4fa81f0690
parent08a10f461eb53fd361a4086feb281f30eb877782 (diff)
downloadrpm-be4bd1f8828ab5a5bdb9e6d3c040ca2f7b5ae7c4.tar.gz
Run full distcheck as the CI test for wider coverage
Unlike plain "check", this will catch regressions to out-of-tree builds, source files present in git but missing in tarballs, etc so they are found when introduced instead of pre-release heat. To make this work we need to move the working dir inside docker away from /opt, the combination of root user and distcheck blows the our whole directory away at some point and things dont work so well after that. In addition, rpmtests.log is no more in a nice and easy location because it's failing somewhere inside the nested build thingie, so try to find it... We also need a few more packages installed now: git for the changelog and doxygen for api docs. And ima-evm-utils-devel to build the plugin, not the utils. (cherry picked from commit 595c4f274084e1afff74c3211b0bee3bf6a9b3cd)
-rw-r--r--ci/Dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/ci/Dockerfile b/ci/Dockerfile
index 17b6f7b28..af10cc104 100644
--- a/ci/Dockerfile
+++ b/ci/Dockerfile
@@ -1,7 +1,7 @@
FROM fedora:31
MAINTAINER rpm-maint@lists.rpm.org
-WORKDIR /opt/rpm
+WORKDIR /srv/rpm
RUN echo -e "deltarpm=0\ninstall_weak_deps=0\ntsflags=nodocs" >> /etc/dnf/dnf.conf
RUN dnf -y update
@@ -10,8 +10,10 @@ RUN dnf -y install \
automake \
libtool \
gettext-devel \
+ doxygen \
make \
gcc \
+ git-core \
zlib-devel \
bzip2-devel \
xz-devel \
@@ -25,7 +27,7 @@ RUN dnf -y install \
libdb-devel \
lmdb-devel \
libselinux-devel \
- ima-evm-utils \
+ ima-evm-utils-devel \
libcap-devel \
libacl-devel \
lua-devel readline-devel \
@@ -54,4 +56,4 @@ RUN ./configure \
RUN make -j
-CMD make check; rc=$?; cat tests/rpmtests.log; exit $rc
+CMD make -j distcheck; rc=$?; find . -name rpmtests.log|xargs cat; exit $rc