Set max microversion in all tempest confs 46/67346/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 23 Mar 2019 12:43:58 +0000 (13:43 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 23 Mar 2019 12:44:59 +0000 (13:44 +0100)
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>
jjb/functest/functest-alpine.sh

index 796da8d..18fec99 100755 (executable)
@@ -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} \