aboutsummaryrefslogtreecommitdiffstats
path: root/test/security/k8s/tools
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-26 13:29:50 +0200
committerPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-26 13:47:46 +0200
commit34e5932d0db1d3aeeed962df176d3b635018e641 (patch)
tree17df8c6bee130b933e486d24063c1845f055e0cf /test/security/k8s/tools
parent2b0d4633f2ec61d313ea1ebfd89730eb01ab8179 (diff)
k8s: Silence download utilities
This patch intends to make virtual environment creation logs more readable. Parameters were chosen in a way errors will still be shown the operator. This patch might also prove itself useful in other virtual environment creation tools such as 'devtool' [1] (unless maintainers insist on having full logs). [1] https://git.onap.org/integration/devtool Issue-ID: SECCOM-235 Change-Id: I5e07b1b1ed37d36470c18ba0cfe653e40eff300b Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'test/security/k8s/tools')
-rw-r--r--test/security/k8s/tools/config/dot_curlrc8
-rw-r--r--test/security/k8s/tools/config/dot_wgetrc2
2 files changed, 10 insertions, 0 deletions
diff --git a/test/security/k8s/tools/config/dot_curlrc b/test/security/k8s/tools/config/dot_curlrc
new file mode 100644
index 000000000..ecf9792f5
--- /dev/null
+++ b/test/security/k8s/tools/config/dot_curlrc
@@ -0,0 +1,8 @@
+# Disable progress meter
+--silent
+# Show error messages
+--show-error
+# Fail silently on server errors
+--fail
+# Follow redirections
+--location
diff --git a/test/security/k8s/tools/config/dot_wgetrc b/test/security/k8s/tools/config/dot_wgetrc
new file mode 100644
index 000000000..ac472b77a
--- /dev/null
+++ b/test/security/k8s/tools/config/dot_wgetrc
@@ -0,0 +1,2 @@
+# Turn off output
+quiet = on