From 52ed63aa03df7b3e99503d2b2393ed7101c9cc6f Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Thu, 31 Oct 2019 18:33:26 +0200 Subject: [PATCH] Add zun service to tempest Add zun tempest plugin installation for source installs to be able to provide integrated tests. Change-Id: I920478f705e8821c8bdf18716d873a3618bcfb1d --- defaults/main.yml | 1 + templates/tempest.conf.j2 | 1 + vars/main.yml | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 827c76e1..4080f245 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -192,6 +192,7 @@ tempest_service_available_octavia: "{{ groups['octavia_all'] is defined and grou tempest_service_available_sahara: "{{ groups['sahara_all'] is defined and groups['sahara_all'] | length > 0 }}" tempest_service_available_swift: "{{ (groups['swift_all'] is defined and groups['swift_all'] | length > 0) or (groups['ceph-rgw'] is defined and groups['ceph-rgw'] | length > 0) or (ceph_rgws is defined and ceph_rgws | length > 0) }}" tempest_service_available_zaqar: "{{ groups['zaqar_all'] is defined and groups['zaqar_all'] | length > 0 }}" +tempest_service_available_zun: "{{ groups['zun_all'] is defined and groups['zun_all'] | length > 0 }}" tempest_image_api_v1_enabled: False tempest_image_api_v2_enabled: True diff --git a/templates/tempest.conf.j2 b/templates/tempest.conf.j2 index e50de505..4832d20f 100644 --- a/templates/tempest.conf.j2 +++ b/templates/tempest.conf.j2 @@ -153,6 +153,7 @@ sahara = {{ tempest_service_available_sahara }} zaqar = {{ tempest_service_available_zaqar }} manila = {{ tempest_service_available_manila }} murano = {{ tempest_service_available_murano }} +zun = {{ tempest_service_available_zun }} [telemetry] endpoint_type = internalURL diff --git a/vars/main.yml b/vars/main.yml index 991d580d..c03baff1 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -156,3 +156,8 @@ _tempest_plugins: repo: https://opendev.org/openstack/zaqar-tempest-plugin branch: master install: "{{ tempest_service_available_zaqar | bool }}" + zun: + - name: zun-tempest-plugin + repo: https://opendev.org/openstack/zun-tempest-plugin + branch: master + install: "{{ tempest_service_available_zun | bool }}"