From: Cédric Ollivier Date: Thu, 11 Feb 2021 22:32:10 +0000 (+0100) Subject: -y when install curl X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=06cf542c6b85ad2512f35962cb32a6d36d12f03b;p=releng.git -y when install curl Change-Id: I5e8fe62f622167dad41c754fa8b9de266a1a3d09 Signed-off-by: Cédric Ollivier --- 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}