summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-02-10 19:13:29 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-02-10 19:13:29 +0100
commit51a1b794c8abfb4468ee23cefa54b7474c359aea (patch)
tree67c01804236d960de9271d5959b0a79bb119f74f /jjb/functest
parent07d9f791bc93fa036041519689faa7292f560d56 (diff)
Install dependencies before running tests
Functest Kubernetes leverages agents in docker. Change-Id: I8ee44387b5193a4ba75e283b1465730a05082c5e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/functest-kubernetes.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/jjb/functest/functest-kubernetes.yaml b/jjb/functest/functest-kubernetes.yaml
index 22d97f6f2..7fb4391b9 100644
--- a/jjb/functest/functest-kubernetes.yaml
+++ b/jjb/functest/functest-kubernetes.yaml
@@ -564,7 +564,14 @@
- builder:
name: functest-kubernetes-tox
builders:
- - shell: tox
+ - shell: |
+ set +x
+ add-apt-repository -y ppa:deadsnakes/ppa
+ apt-get update
+ apt-get install python3.8 python3.8-dev python3.8-distutils enchant \
+ python3.7 python3.7-dev python3.6 python3.6-dev \
+ python2 tox
+ tox
- job-template:
name: 'functest-kubernetes-{tag}-tox'