diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2022-12-14 18:31:59 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2022-12-14 18:31:59 +0100 |
commit | 5ec9777d5f756cf82987b2e47b15956f0e0d7ebd (patch) | |
tree | 8fd630b2551acc40361e512bf297bae2baefe57d | |
parent | ee49233d53af625a4601022ea60550c5a497caae (diff) |
Makes the job easy to reuse vs ubuntu 22.04
Change-Id: I540da190d0f8a3004b51eba0ed838ef8fb73fec4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r-- | jjb/nfvbench/nfvbench.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
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 |