summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-08-09 03:08:00 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-08-09 03:08:00 +0200
commit75adc908843e3336ab70176c4ca360a116bdd137 (patch)
tree365486fad8e4a597bb733c9952e6b696a1110cfb /jjb/functest
parentabc271b823967f776a67f8132cdb8d07c8fbb567 (diff)
Precise tag regex
Change-Id: Ic1201c58bf9c85e2c5148da7d29b56e5fcbf7420 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/functest.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/jjb/functest/functest.yaml b/jjb/functest/functest.yaml
index 5b87c59c7..502d7d612 100644
--- a/jjb/functest/functest.yaml
+++ b/jjb/functest/functest.yaml
@@ -152,10 +152,11 @@
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
+ case "{tag}" in
+ arm*-hunter)
+ volumes=-v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static \
+ -v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static;;
+ esac
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 \