Browse Source

Always use source installs for tempest on ubuntu

Ubuntu does not publish tempest plugin packages. They do
all their testing using the source-based installation of
tempest. As such, for all ubuntu distribution tests we
force the use of the source install for tempest.

Change-Id: Iabe4ac8e22b6ce8ef331ce559113fc55ce4046ec
Jesse Pretorius 4 months ago
parent
commit
67acc930e6
1 changed files with 8 additions and 2 deletions
  1. 8
    2
      test-distro_install-vars.yml

+ 8
- 2
test-distro_install-vars.yml View File

@@ -13,12 +13,19 @@
13 13
 # See the License for the specific language governing permissions and
14 14
 # limitations under the License.
15 15
 
16
+# Note(odyssey4me):
17
+# Ubuntu does not publish tempest plugin packages. They do
18
+# all their testing using the source-based installation of
19
+# tempest. As such, for all ubuntu distribution tests we
20
+# force the use of the source install for tempest.
21
+tempest_install_method: "{{ (ansible_distribution | lower == 'ubuntu') | ternary('source', 'distro') }}"
22
+
16 23
 #
17 24
 # Use $role_install_method=distro so we can test the combined
18 25
 # result. We add all the os_* roles here even though some of them
19 26
 # may not have been converted to support the dual installation method.
20 27
 # This is effectively the result of the following command
21
-# ./gen-projects-list.sh | grep -o 'os_.*' | cut -d "_" -f 2  | xargs -I {} echo {}_install_method: distro
28
+# ./gen-projects-list.sh | grep -o 'os_.*' | grep -v 'os_tempest' | cut -d "_" -f 2  | xargs -I {} echo {}_install_method: distro
22 29
 #
23 30
 almanach_install_method: distro
24 31
 aodh_install_method: distro
@@ -51,7 +58,6 @@ sahara_install_method: distro
51 58
 searchlight_install_method: distro
52 59
 swift_install_method: distro
53 60
 tacker_install_method: distro
54
-tempest_install_method: distro
55 61
 trove_install_method: distro
56 62
 watcher_install_method: distro
57 63
 zaqar_install_method: distro

Loading…
Cancel
Save