Skip to content

Commit 8ba418c

Browse files
viroelopenshift-merge-bot[bot]
authored andcommitted
Configure min and max microversion for watcher-tempest-plugin
A new upstream patch is adding microversion testing for watcher-tempest-plugin, and it will be mandatory to configure the min and max microversion to be tested in each job. To make the opendev job to work with new microversions, we can set max_microversion to 'latest' and for stable branches jobs we override with the latest microversion for each release. This PR also sets 1.4 as max microversion for Epoxy. It also renames the test configuration file to replaces the suffix master since this file is being used in all jobs. Depends-On: https://review.opendev.org/c/openstack/watcher-tempest-plugin/+/956306 Signed-off-by: Douglas Viroel <viroel@gmail.com>
1 parent 1720b37 commit 8ba418c

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.zuul.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/watcher-operator'].
2828
src_dir }}/ci/scenarios/edpm.yml"
2929
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/watcher-operator'].
30-
src_dir }}/ci/tests/watcher-master.yml"
30+
src_dir }}/ci/tests/watcher-tempest.yml"
3131

3232
- job:
3333
name: periodic-watcher-operator-validation-master
@@ -51,7 +51,7 @@
5151
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/watcher-operator'].
5252
src_dir }}/ci/scenarios/edpm.yml"
5353
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/watcher-operator'].
54-
src_dir }}/ci/tests/watcher-master.yml"
54+
src_dir }}/ci/tests/watcher-tempest.yml"
5555
fetch_dlrn_hash: false
5656
# Note(chandankumar): It tests cs10 master container current tag build from
5757
# DLRN current.
@@ -174,6 +174,8 @@
174174
cifmw_test_operator_tempest_registry: "{{ content_provider_os_registry_url | split('/') | first }}"
175175
cifmw_test_operator_tempest_namespace: "{{ content_provider_os_registry_url | split('/') | last }}"
176176
cifmw_test_operator_tempest_image_tag: watcher_latest
177+
# Max api microversion for epoxy release
178+
watcher_tempest_max_microversion: "1.4"
177179

178180
- job:
179181
name: watcher-operator-validation-epoxy-ocp4-16
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ cifmw_tempest_tempestconf_config:
1010
telemetry_services.metric_backends prometheus
1111
telemetry.disable_ssl_certificate_validation true
1212
telemetry.ceilometer_polling_interval 15
13+
optimize.min_microversion {{ watcher_tempest_min_microversion | default('1.0') }}
14+
optimize.max_microversion {{ watcher_tempest_max_microversion | default('latest') }}
1315
optimize.datasource prometheus
1416
optimize.openstack_type podified
1517
optimize.proxy_host_address {{ hostvars['controller']['ansible_host'] }}

0 commit comments

Comments
 (0)