summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-08-09 02:32:29 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-08-09 02:32:29 +0200
commite66323f1e715f62820b8d8ad1f917bebacf7c896 (patch)
treeb9073c055c2276ee5714e4b988fc65b2ecd147c7 /jjb/functest
parent29084cf1b55fc46f7dbd311baebb1307584c9d62 (diff)
Bind qemu static files if Hunter
Hunter pod forces this binds as the kernel is 4.4.0. Change-Id: I216a333dfcd3890a126f0ba753e67cab66c96ec7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest')
-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 2d01c2e86..19752cc25 100644
--- a/jjb/functest/functest.yaml
+++ b/jjb/functest/functest.yaml
@@ -151,6 +151,11 @@
else
image={repo}:{port}/{container}:{tag}
fi
+ volumes=""
+ if [ "{tag}" = "hunter" ]; then
+ volumes=-v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static \
+ -v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static
+ fi
sudo docker run --rm \
-e S3_ENDPOINT_URL=https://storage.googleapis.com \
-e S3_DST_URL=s3://artifacts.opnfv.org/functest/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
@@ -167,7 +172,7 @@
-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/.boto:/root/.boto \
- $image run_tests -t {test} -r -p
+ $volumes $image run_tests -t {test} -r -p
- builder:
name: functest-remove-images