Skip to content

curl without silent flag hoping that errors are now nicely displayed in log

Michael Prilop requested to merge curl-without-silent-flag into main

We experienced our CI jobs failing for no given reason. This was due to our setup script which uses curl to download installer packages. These downloads failed and due to the curl silent flag no error output was shown in the log.

Even if we have a "bit" more noise on everyday runs it is a good idea to not hide error output (curl seems very special as usually a silent flag does not hide error).

without silent flag the output is still okay:

$ curl -L https://deb.nodesource.com/setup_16.x | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn bash - > /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15765  100 15765    0     0   301k      0 --:--:-- --:--:-- --:--:--  307k
Edited by Michael Prilop

Merge request reports