From 5ec9777d5f756cf82987b2e47b15956f0e0d7ebd Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 14 Dec 2022 18:31:59 +0100 Subject: Makes the job easy to reuse vs ubuntu 22.04 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I540da190d0f8a3004b51eba0ed838ef8fb73fec4 Signed-off-by: Cédric Ollivier --- jjb/nfvbench/nfvbench.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'jjb/nfvbench') diff --git a/jjb/nfvbench/nfvbench.yaml b/jjb/nfvbench/nfvbench.yaml index 6bd04b13c..3a357acc4 100644 --- a/jjb/nfvbench/nfvbench.yaml +++ b/jjb/nfvbench/nfvbench.yaml @@ -107,6 +107,18 @@ builders: - shell: | + sudo apt-get -o DPkg::Lock::Timeout=300 update && \ + sudo DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 dist-upgrade -y + sudo DEBIAN_FRONTEND=noninteractive \ + apt-get -o DPkg::Lock::Timeout=300 install software-properties-common gpg -y + sudo add-apt-repository -y ppa:deadsnakes/ppa + sudo apt-get -o DPkg::Lock::Timeout=300 update && \ + sudo DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 install \ + libxml2-dev libxslt-dev libffi-dev libjpeg-dev \ + python3.8 python3.8-dev python3.8-distutils \ + python3-pip -y sudo pip install tox-pip-version cd $WORKSPACE && tox cd $WORKSPACE/nfvbenchvm/dib -- cgit 1.2.3-korg