about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-12-30 19:34:57 +0100
committerGitHub <noreply@github.com>2024-12-30 19:34:57 +0100
commit05c0cd31e769840f286e2c3b10e3652f67aee258 (patch)
treeda82575568c5341af28a9dd55ad3aea75a592e6f
parentb31c9d503698a0f790e0d44681e6f3e5530097b0 (diff)
parentb4d14ceae7d33da6deb8cc4e96ca8e467db614a3 (diff)
downloadrust-05c0cd31e769840f286e2c3b10e3652f67aee258.tar.gz
rust-05c0cd31e769840f286e2c3b10e3652f67aee258.zip
Rollup merge of #134924 - ranger-ross:cleanup-ci-output, r=Kobzol
ci: Cleanup docker build logs in CI

Cleaning up the CI logs to make reviewing CI failures easier. This PR adds a `::group` around the docker tag hash input which is pretty large (250+ lines) and is probably not relevant for most people.

Related to #134910 , see this [comment](https://github.com/rust-lang/rust/issues/134910#issuecomment-2565612463)
-rwxr-xr-xsrc/ci/docker/run.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ci/docker/run.sh b/src/ci/docker/run.sh
index a0adf60b6b2..d1bc0519bc1 100755
--- a/src/ci/docker/run.sh
+++ b/src/ci/docker/run.sh
@@ -76,8 +76,9 @@ if [ -f "$docker_dir/$image/Dockerfile" ]; then
     # Include cache version. Can be used to manually bust the Docker cache.
     echo "2" >> $hash_key
 
-    echo "Image input"
+    echo "::group::Image checksum input"
     cat $hash_key
+    echo "::endgroup::"
 
     cksum=$(sha512sum $hash_key | \
     awk '{print $1}')