diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-08-12 14:58:07 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-08-12 14:58:31 +0200 |
commit | 30ce9c78e52dbc3e73bc483f37d791b5de9f0566 (patch) | |
tree | 7be94a3ce155abb836cf671aef760fb3a982ea3c /jjb/functest/functest-kubernetes.yaml | |
parent | aae7c22f7d912b34257e73f4dd16441655985e72 (diff) |
Enforce DEBIAN_FRONTEND=noninteractive
https://build.opnfv.org/ci/job/functest-kubernetes-latest-tox/86/console
Change-Id: Ib9ca2776c532a525f197e89b0e0f8653952e8e28
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest/functest-kubernetes.yaml')
-rw-r--r-- | jjb/functest/functest-kubernetes.yaml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/jjb/functest/functest-kubernetes.yaml b/jjb/functest/functest-kubernetes.yaml index d090ab91b..44690adc9 100644 --- a/jjb/functest/functest-kubernetes.yaml +++ b/jjb/functest/functest-kubernetes.yaml @@ -737,10 +737,11 @@ builders: - shell: | set +x - apt-get update && apt-get install \ - software-properties-common gpg -y + apt-get update && DEBIAN_FRONTEND=noninteractive \ + apt-get install software-properties-common gpg -y add-apt-repository -y ppa:deadsnakes/ppa - apt-get update && apt-get install \ + apt-get update && DEBIAN_FRONTEND=noninteractive \ + apt-get install \ python3.9 python3.9-dev python3.9-distutils \ python3.8 python3.8-dev python3.8-distutils \ python3.7 python3.7-dev python3.6 python3.6-dev \ @@ -1180,7 +1181,8 @@ name: functest-kubernetes-trivy builders: - shell: | - apt-get update && apt-get install curl -y + apt-get update && DEBIAN_FRONTEND=noninteractive \ + apt-get install curl -y curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b . if [ "{repo}" = "_" ]; then |