From 77648f1716c2d86220ea860f3c83292e5aa8d55e Mon Sep 17 00:00:00 2001 From: Timofei Larkin Date: Wed, 23 Apr 2025 19:02:12 +0400 Subject: [PATCH] Suppress wget progress bar (#865) 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. ## Summary by CodeRabbit - **Chores** - Improved file download process to display clearer progress updates during downloads. (cherry picked from commit 07d7fadb1aecb8fe12577af9df9d7b0711142660) Signed-off-by: Nick Volynkin --- 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