]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Generating RPMs
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 16 Dec 2021 13:32:59 +0000 (14:32 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 16 Dec 2021 13:32:59 +0000 (14:32 +0100)
.gitlab-ci.yml

index 5260680c3d880f05faa79cac99d3db72c8546d58..6bd186e0ec89aca592bb5b59c811745c85ceb54e 100644 (file)
@@ -224,6 +224,14 @@ Linter:
       echo "%_signature gpg" >> "${HOME}/.rpmmacros"
       echo "Generated file:"
       cat "${HOME}/.rpmmacros"
+    - |
+      echo "Building RPM packages:"
+      rpmbuild -ba --nocheck --verbose --define "_topdir $(pwd)/rpmdir" --define "version ${PKG_VERSION}" pp-admintools.spec
+    - |
+      echo "Results:"
+      tree -aQpugs rpmdir/*RPMS || true
+      tree -aQpugs rpmdir/*RPMS || true
+      ls -lA rpmdir/RPMS/*/* rpmdir/SRPMS/*
 
 
 build CentOS 7 with Python 3.6: