about summary refs log tree commit diff
path: root/config.toml.example
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-31 00:23:13 +0000
committerbors <bors@rust-lang.org>2020-12-31 00:23:13 +0000
commitf0073a59cffebcf4f31e2bfa690a18f4f1dfd608 (patch)
treec4cb00158f45bda84f3baa0eece0df4c04086ac5 /config.toml.example
parent9775ffef2a4c3a36cadb58b72ea60cefb92c86ae (diff)
parent5526d902508178293b98b4d8b7b39802107dc395 (diff)
downloadrust-f0073a59cffebcf4f31e2bfa690a18f4f1dfd608.tar.gz
rust-f0073a59cffebcf4f31e2bfa690a18f4f1dfd608.zip
Auto merge of #80435 - pietroalbini:compression-formats, r=Mark-Simulacrum
Only produce .xz tarballs on CI

This PR adds a `./configure` option to choose which tarball compression formats to produce, and changes our CI configuration to only produce `.xz` tarballs. The release process will then recompress everything into `.gz` when producing a release.

This will drastically reduce our storage costs for CI artifacts, as we'd stop storing the same data twice. **Stable, beta and nightly releases will not be affected by this at all.**

Before landing this we'll need to increase the VM size of our release process, to recompress everything in a reasonable amount of time.
r? `@Mark-Simulacrum`
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example
index b1fb8904ca9..9e08ce9b27e 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -669,3 +669,7 @@ changelog-seen = 2
 
 # Whether to allow failures when building tools
 #missing-tools = false
+
+# List of compression formats to use when generating dist tarballs. The list of
+# formats is provided to rust-installer, which must support all of them.
+#compression-formats = ["gz", "xz"]