This results in the following release artifacts being combined:
* Ubuntu 18.04
* 13 DEBs → 1 tarball
* 10 debug DEBs → 1 tarball
* Ubuntu 20.04
* 13 DEBs → 1 tarball
* 10 debug DEBs → 1 tarball
* Ubuntu 20.04 debug
* 13 DEBs → 1 tarball
* 10 debug DEBs → 1 tarball
* Ubuntu 21.04
* 13 DEBs → 1 tarball
* 10 debug DEBs → 1 tarball
* Ubuntu 21.10
* 13 DEBs → 1 tarball
* 10 debug DEBs → 1 tarball
This drops the total number of Graphviz release artifacts from 168 to 63. This
is still not below the 50 artifact ceiling we need to hit, but this is
significant progress.
Related to #2147.
when: on_success
expire_in: 1 week
paths:
+ - 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)
- mv *.deb ${DIR}/os/
- mv *.ddeb ${DIR}/debug/
+ 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
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
- apt install ./${DIR}/os/libgraphviz4_${GV_VERSION}-1_amd64.deb
- apt install ./${DIR}/os/libgraphviz-dev_${GV_VERSION}-1_amd64.deb
- apt install ./${DIR}/os/graphviz_${GV_VERSION}-1_amd64.deb
+ tar xf ${DIR}/os/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
elif [ "${ID}" = "Darwin" ]; then
tar xf ${DIR}/os/graphviz-${GV_VERSION}-${ARCH}.tar.gz
cp -rp build/* /usr/local