Taking the previous approach further, this results in the following release
artifacts being combined:
* Ubuntu 18.04
* 13 DEBs, 10 debug DEBs → 1 tarball
* Ubuntu 20.04
* 13 DEBs, 10 debug DEBs → 1 tarball
* Ubuntu 20.04 debug
* 13 DEBs, 10 debug DEBs → 1 tarball
* Ubuntu 21.04
* 13 DEBs, 10 debug DEBs → 1 tarball
* Ubuntu 21.10
* 13 DEBs, 10 debug DEBs → 1 tarball
This drops the total number of Graphviz release artifacts from 63 to 58. 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 DEB for these
platforms.
Related to #2147.
when: on_success
expire_in: 1 week
paths:
- - Packages/*/*/*/*.tar.xz
+ - Packages/*/*/*.tar.xz
- Packages/*/*/*/*deb
- Metadata/*/*/configure.log
- GRAPHVIZ_VERSION
if [ "${ID_LIKE:-}" = "debian" ]; then
tar xfz graphviz-${GV_VERSION}.tar.gz
(cd graphviz-${GV_VERSION}; fakeroot make -f debian/rules binary) | tee >(ci/extract-configure-log.sh >${META_DATA_DIR}/configure.log)
- tar cf - *.deb | xz -9 -c - >${DIR}/os/graphviz-${GV_VERSION}-debs.tar.xz
- tar cf - *.ddeb | xz -9 -c - >${DIR}/debug/graphviz-${GV_VERSION}-ddebs.tar.xz
+ tar cf - *.deb *.ddeb | xz -9 -c - >${DIR}/graphviz-${GV_VERSION}-debs.tar.xz
else
rm -rf ${HOME}/rpmbuild
rpmbuild -ta graphviz-${GV_VERSION}.tar.gz | tee >(ci/extract-configure-log.sh >${META_DATA_DIR}/configure.log)
fi
else
if [ "${ID_LIKE}" = "debian" ]; then
- tar xf ${DIR}/os/graphviz-${GV_VERSION}-debs.tar.xz
+ tar xf ${DIR}/graphviz-${GV_VERSION}-debs.tar.xz
apt install ./libgraphviz4_${GV_VERSION}-1_amd64.deb
apt install ./libgraphviz-dev_${GV_VERSION}-1_amd64.deb
apt install ./graphviz_${GV_VERSION}-1_amd64.deb