From 4bb524e53dfad29633efdbbcf9ea091fc1b0666e Mon Sep 17 00:00:00 2001 From: Timofei Larkin Date: Wed, 23 Apr 2025 17:37:54 +0300 Subject: [PATCH] Suppress wget progress bar In our CI wget spams thousands of lines of the progress bar into the output, making it hard to read. Turns out, it doesn't have an option to just remove the progress bar, but explicitly directing wget's log to stdout and invoking --show-progress sends that to stderr which we redirect to dev/null. The downloaded size is still reported at regular intervals, but --progress=dot:giga shortens that to one line per 32M which is manageable. Signed-off-by: Timofei Larkin --- hack/e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/e2e.sh b/hack/e2e.sh index 9857a042..26401225 100755 --- a/hack/e2e.sh +++ b/hack/e2e.sh @@ -60,7 +60,7 @@ done # Prepare system drive if [ ! -f nocloud-amd64.raw ]; then - wget https://github.com/cozystack/cozystack/releases/latest/download/nocloud-amd64.raw.xz -O nocloud-amd64.raw.xz + wget https://github.com/cozystack/cozystack/releases/latest/download/nocloud-amd64.raw.xz -O nocloud-amd64.raw.xz --show-progress --output-file /dev/stdout --progress=dot:giga 2>/dev/null rm -f nocloud-amd64.raw xz --decompress nocloud-amd64.raw.xz fi