From 75adc908843e3336ab70176c4ca360a116bdd137 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 9 Aug 2020 03:08:00 +0200 Subject: Precise tag regex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic1201c58bf9c85e2c5148da7d29b56e5fcbf7420 Signed-off-by: Cédric Ollivier --- jjb/functest/functest.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'jjb/functest/functest.yaml') 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 \ -- cgit 1.2.3-korg