#883 docker: enable %check in package builds
Closed 4 years ago by msuchy. Opened 4 years ago by praiskup.

file modified
+2 -2
@@ -89,9 +89,9 @@

  

  # build packages from sources

  RUN cd /copr/backend && \

-     tito build --rpm --test --rpmbuild-options='--without=check' && \

+     tito build --rpm --test && \

      cd ../keygen && \

-     tito build --rpm --test --rpmbuild-options='--without=check'

+     tito build --rpm --test

  

  # upgrade the already pre-installed packages if possible

  RUN dnf -y upgrade /tmp/tito/noarch/copr-keygen*.noarch.rpm \

file modified
+1 -1
@@ -48,7 +48,7 @@

  

  RUN cd /copr/rpmbuild && \

      dnf builddep -y *spec && \

-     tito build --rpm --test --rpmbuild-options='--without=check' && \

+     tito build --rpm --test && \

      dnf -y install /tmp/tito/x86_64/copr-{rpmbuild,builder}*.x86_64.rpm --allowerasing && \

      dnf clean all

  

file modified
+1 -1
@@ -28,7 +28,7 @@

  # build and install copr-frontend

  RUN cd /copr/frontend && \

      dnf builddep -y *spec && \

-     tito build --rpm --test --rpmbuild-options='--without=check' && \

+     tito build --rpm --test && \

      ( dnf -y install /tmp/tito/noarch/copr-frontend*.noarch.rpm || true ) && \

      dnf clean all

  

Except for copr-dist-git, everything is now magically working.

Related: #872

Pull-Request has been closed by msuchy

4 years ago