Matthias Pohl created FLINK-32910:
-------------------------------------
Summary: Silence curls in test code
Key: FLINK-32910
URL: https://issues.apache.org/jira/browse/FLINK-32910
Project: Flink
Issue Type: Improvement
Components: Test Infrastructure
Affects Versions: 1.17.1, 1.16.2, 1.18.0
Reporter: Matthias Pohl
We use {{curl}} in several locations to download artifacts. Usually, the a
progress bar is printed which spams the console output of the test execution.
This issue is about cleaning this up.
Parameters to consider (depending on the usecase):
* {{\-L}}/{{\-\-location}} redirects the curl command and retries if the
server reported that the artifact was moved
* {{\-O}}/{{\-\-remote-name}} writes output to file matching the remote name
(which was extracted from the URL) instead of stdout; alternative:
{{\-o}}/{{\-\-output}} writes output to a file with the given name instead of
stdout
* {{\-f}}/{{\-\-fail}} doesn't print error output
* {{\-s \-S}}/{{\-\-silent \-\-show-error}} doesn't print progress bar but
shows error
{{curl}} uses a default config file {{${user.home}/.curlrc}}. But one could
make it more explicit using {{\-K}}/{{\-\-config}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)