Commit 5cc6455e authored by Simon McVittie's avatar Simon McVittie

Use pigz to compress artifacts

This is faster than gzip, and apparently more rsyncable.
Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
parent 5ab183a1
......@@ -16,6 +16,7 @@ On a Debian 10 'buster' machine:
flatpak \
flatpak-builder \
ostree \
pigz \
python3 \
python3-debian \
python3-gi \
......
......@@ -269,9 +269,10 @@ actions:
command: >
set -e;
echo;
tar -zcf "$ARTIFACTDIR/{{ $ostree_tarball }}"
tar -cf "$ARTIFACTDIR/{{ $ostree_tarball }}"
--numeric-owner
--sort=name
--use-compress-program="pigz -n --rsyncable"
-C "$ROOTDIR"
files metadata
......@@ -282,10 +283,11 @@ actions:
command: >
set -e;
echo;
tar -zcf "$ARTIFACTDIR/{{ $sources_tarball }}"
tar -cf "$ARTIFACTDIR/{{ $sources_tarball }}"
--numeric-owner
--sort=name
--transform="s,^./,,"
--use-compress-program="pigz -n --rsyncable"
-C "$ROOTDIR/src"
.
......@@ -295,10 +297,11 @@ actions:
command: >
set -e;
echo;
tar -zcf "$ARTIFACTDIR/{{ $debug_tarball }}"
tar -cf "$ARTIFACTDIR/{{ $debug_tarball }}"
--numeric-owner
--sort=name
--transform="s,^./,,"
--use-compress-program="pigz -n --rsyncable"
-C "$ROOTDIR/debug"
.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment