Skip to content

Disable the wget progress bar in CI

Problem:

The wget progress bar produces a lot of logs and they don't bring any information useful for CI.

For example, see lines 2093 to 8021 of the last job:

wget -O prefix/x86_64-unknown-redox/rust-install.tar.gz.partial "https://static.redox-os.org/toolchain/x86_64-unknown-redox/relibc-install.tar.gz"
--2023-11-05 15:37:23--  https://static.redox-os.org/toolchain/x86_64-unknown-redox/relibc-install.tar.gz
Resolving static.redox-os.org (static.redox-os.org)... 23.21.162.66
Connecting to static.redox-os.org (static.redox-os.org)|23.21.162.66|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 303008900 (289M) [application/x-gzip]
Saving to: 'prefix/x86_64-unknown-redox/rust-install.tar.gz.partial'

     0K .......... .......... .......... .......... ..........  0%  480K 10m16s
    50K .......... .......... .......... .......... ..........  0%  970K 7m41s
   100K .......... .......... .......... .......... ..........  0% 1.03M 6m40s
   150K .......... .......... .......... .......... ..........  0% 8.56M 5m8s
   200K .......... .......... .......... .......... ..........  0% 44.0M 4m8s
   250K .......... .......... .......... .......... ..........  0% 1.04M 4m13s
[...]
295650K .......... .......... .......... .......... .......... 99% 17.3M 0s
295700K .......... .......... .......... .......... .......... 99% 18.3M 0s
295750K .......... .......... .......... .......... .......... 99% 22.9M 0s
295800K .......... .......... .......... .......... .......... 99% 49.6M 0s
295850K .......... .......... .......... .......... .......... 99% 34.0M 0s
295900K .......                                               100% 75.3M=13s

2023-11-05 15:37:36 (22.7 MB/s) - 'prefix/x86_64-unknown-redox/rust-install.tar.gz.partial' saved [303008900/303008900]

Solution:

Disable the wget progress bar in CI.

Changes introduced by this pull request:

We create a default ~/.wgetrc wget config file in the gitlab CI before_script. It contains the --show-progress option set to off.

Merge request reports