]> granicus.if.org Git - graphviz/commitdiff
further consolidate RPMs into a single tarball per OS
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 9 Nov 2021 15:25:09 +0000 (07:25 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 12 Nov 2021 01:22:49 +0000 (17:22 -0800)
Taking the previous approach further, this results in the following release
artifacts being combined:

  * CentOS 7
    * 1 source RPM, 2 tarballs → 1 tarball
  * CentOS 8
    * 1 source RPM, 2 tarballs → 1 tarball
  * Fedora 33
    * 1 source RPM, 2 tarballs → 1 tarball
  * Fedora 34
    * 1 source RPM, 2 tarballs → 1 tarball

This drops the total number of Graphviz release artifacts from 176 to 168. This
is still not below the 50 artifact ceiling we need to hit, but this is progress.

Note that this removes the `os`/`debug`/`source` hierarchy in the packaging
directories for these artifacts, now that all three of these are packaged into a
single tarball. The `os` hierarchy remains for the CMake-produced RPM for these
platforms.

Related to #2147.

.gitlab-ci.yml
ci/build.sh
ci/install-packages.sh

index 3a8f744e04f5598538c34735c87cba2c1fb654b0..2bf060eab6413ab96e38654601afe94266bca8b7 100644 (file)
@@ -46,7 +46,7 @@ portable-source:
         when: on_success
         expire_in: 1 week
         paths:
-            - Packages/*/*/*/*.tar.xz
+            - Packages/*/*/*.tar.xz
             - Packages/*/*/*/*.rpm
             - Metadata/*/*/configure.log
             - GRAPHVIZ_VERSION
index c061b1fe2708dbf22795c56365383c6bcacd3471..ffa273a4ec8720256055164985f953c99f144354 100755 (executable)
@@ -71,13 +71,9 @@ else
         else
             rm -rf ${HOME}/rpmbuild
             rpmbuild -ta graphviz-${GV_VERSION}.tar.gz | tee >(ci/extract-configure-log.sh >${META_DATA_DIR}/configure.log)
-            mv ${HOME}/rpmbuild/SRPMS/*.src.rpm ${DIR}/source/
             pushd ${HOME}/rpmbuild/RPMS
-            mv */*debuginfo*rpm ./
-            tar cf - *debuginfo*rpm | xz -9 -c - >${DIR}/debug/graphviz-${GV_VERSION}-debuginfo-rpms.tar.xz
-            find . -name "*debuginfo*rpm" -delete
             mv */*.rpm ./
-            tar cf - *.rpm | xz -9 -c - >${DIR}/os/graphviz-${GV_VERSION}-rpms.tar.xz
+            tar cf - *.rpm | xz -9 -c - >${DIR}/graphviz-${GV_VERSION}-rpms.tar.xz
             popd
         fi
     elif [[ "${OSTYPE}" =~ "darwin" ]]; then
index 8439ec783abed0212e04fd342a6b783edd73863a..062322ae60344ff23620e40d410fd36e14d2cc44 100755 (executable)
@@ -48,7 +48,7 @@ else
         tar xf ${DIR}/os/graphviz-${GV_VERSION}-${ARCH}.tar.gz
         cp -rp build/* /usr/local
     else
-        tar xvf ${DIR}/os/graphviz-${GV_VERSION}-rpms.tar.xz
+        tar xvf ${DIR}/graphviz-${GV_VERSION}-rpms.tar.xz
         rpm --install --force \
             graphviz-${GV_VERSION}*.rpm \
             graphviz-libs-${GV_VERSION}*.rpm \