Add missing sudo 82/71982/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Thu, 11 Feb 2021 09:19:18 +0000 (10:19 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Thu, 11 Feb 2021 09:19:32 +0000 (10:19 +0100)
Change-Id: I891013d34da7b1fb3bea641bb7f582ee85c8db21
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
jjb/functest/xtesting.yaml

index f6041b2..c9b37a8 100644 (file)
     builders:
       - shell: |
           set +x
-          sudo apt-get update && apt-get install software-properties-common gpg -y
+          sudo apt-get update && sudo apt-get install software-properties-common gpg -y
           sudo add-apt-repository -y ppa:deadsnakes/ppa
-          sudo apt-get update && apt-get install python3.8 python3.8-dev \
+          sudo apt-get update && sudo apt-get install python3.8 python3.8-dev \
             python3.8-distutils \
             python3.7 python3.7-dev python3.6 python3.6-dev \
             python python-dev python3-pip enchant -y
     name: xtesting-trivy
     builders:
       - shell: |
-          apt-get update && apt-get install curl
+          sudo apt-get update && sudo apt-get install curl
           curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b .
           if [ "{repo}" = "_" ]; then
             image={container}:{tag}