summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-06-03 20:07:01 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-06-03 20:07:01 +0200
commita78697d4c2304ee4dcc56f3d8580a02d27dc00e1 (patch)
treee0a85ec33cfa3bd250a68be9a3f126d5cc2cf2b0
parent7a5fddd061b4573d7e96ad7d6c49f456bb17e988 (diff)
Override the right rally blacklists
Latest containers now leverage on python3.6. Change-Id: Ib3b3c02497b85dd210713baed345c4a64a0add5b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--jjb/functest/functest.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/jjb/functest/functest.yaml b/jjb/functest/functest.yaml
index 4a60c6484..c92e70d94 100644
--- a/jjb/functest/functest.yaml
+++ b/jjb/functest/functest.yaml
@@ -99,13 +99,18 @@
else
image={repo}:{port}/{container}:{tag}
fi
+ if [ "{tag}" = "latest" ]; then
+ py=3.6
+ else
+ py=2.7
+ fi
sudo docker run --rm \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
-e DEBUG=True \
-e EXTERNAL_NETWORK=public \
-v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
-v /home/opnfv/functest/images:/home/opnfv/functest/images \
- -v /home/opnfv/functest/blacklist.yaml:/usr/lib/python2.7/\
+ -v /home/opnfv/functest/blacklist.yaml:/usr/lib/python$py/\
site-packages/functest/opnfv_tests/openstack/rally/blacklist.yaml \
$image run_tests -t {test}
res=$?