summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-03-23 13:43:58 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-03-23 13:44:59 +0100
commit07be796a1d5ebf3864679b49d5219f946c65e10a (patch)
tree068040bd9f24d194cfd49e84ae45071a3a64fd8b
parent3b5bd364379fba7259455d16cb74ac5c394763bb (diff)
Set max microversion in all tempest confs
Else refstack_defcore fails due to the skipped test [1] [1] https://artifacts.opnfv.org/logs/functest/ericsson-virtual1/2019-03-22_22-18-26/refstack_defcore/tempest-report.html Change-Id: I33accdf06154d784042c7ddc8dac83f902433770 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rwxr-xr-xjjb/functest/functest-alpine.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh
index 796da8d6c..18fec99ad 100755
--- a/jjb/functest/functest-alpine.sh
+++ b/jjb/functest/functest-alpine.sh
@@ -227,6 +227,26 @@ volume-feature-enabled:
EOF
;;
esac
+case ${BRANCH} in
+master)
+ cat << EOF >> "${tempest_conf_yaml}"
+compute:
+ max_microversion: latest
+EOF
+ ;;
+stable/hunter)
+ cat << EOF >> "${tempest_conf_yaml}"
+compute:
+ max_microversion: 2.65
+EOF
+ ;;
+stable/gambia)
+ cat << EOF >> "${tempest_conf_yaml}"
+compute:
+ max_microversion: 2.60
+EOF
+ ;;
+esac
echo "tempest_conf.yaml:" && cat "${tempest_conf_yaml}"
volumes="${images_vol} ${results_vol} ${sshkey_vol} ${libvirt_vol} \