summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-02-11 23:32:10 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-02-11 23:43:58 +0100
commit06cf542c6b85ad2512f35962cb32a6d36d12f03b (patch)
tree8d785ea1a57b58631e2656b9208fc45b74db0cd6 /jjb/functest
parent20cb2c4f270cbfacffacc56de1642d8762a00cf7 (diff)
-y when install curl
Change-Id: I5e8fe62f622167dad41c754fa8b9de266a1a3d09 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/functest-kubernetes.yaml2
-rw-r--r--jjb/functest/functest.yaml2
-rw-r--r--jjb/functest/xtesting.yaml2
3 files changed, 3 insertions, 3 deletions
diff --git a/jjb/functest/functest-kubernetes.yaml b/jjb/functest/functest-kubernetes.yaml
index a8f319306..f22587545 100644
--- a/jjb/functest/functest-kubernetes.yaml
+++ b/jjb/functest/functest-kubernetes.yaml
@@ -925,7 +925,7 @@
name: functest-kubernetes-trivy
builders:
- shell: |
- apt-get update && apt-get install curl
+ apt-get update && apt-get install curl -y
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b .
if [ "{repo}" = "_" ]; then
image={container}:{tag}
diff --git a/jjb/functest/functest.yaml b/jjb/functest/functest.yaml
index 6ff1f3044..710667007 100644
--- a/jjb/functest/functest.yaml
+++ b/jjb/functest/functest.yaml
@@ -1237,7 +1237,7 @@
name: functest-trivy
builders:
- shell: |
- sudo apt-get update && sudo apt-get install curl
+ sudo apt-get update && sudo apt-get install curl -y
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b .
if [ "{repo}" = "_" ]; then
image={container}:{tag}
diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml
index 9b907c8da..9face4eee 100644
--- a/jjb/functest/xtesting.yaml
+++ b/jjb/functest/xtesting.yaml
@@ -648,7 +648,7 @@
name: xtesting-trivy
builders:
- shell: |
- sudo apt-get update && sudo apt-get install curl
+ sudo apt-get update && sudo apt-get install curl -y
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b .
if [ "{repo}" = "_" ]; then
image={container}:{tag}