File tree Expand file tree Collapse file tree 5 files changed +63
-3
lines changed Expand file tree Collapse file tree 5 files changed +63
-3
lines changed Original file line number Diff line number Diff line change 12
12
- " @{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-autoscaling.yml"
13
13
- " @{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-power-monitoring.yml"
14
14
- " @{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-autoscaling-tempest.yml"
15
- - " @{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/vars-functional-test .yml"
15
+ - " @{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/vars-fvt-tests .yml"
16
16
- " @{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/vars-use-master-containers.yml"
17
17
roles :
18
18
- zuul : github.com/openstack-k8s-operators/ci-framework
102
102
- " @{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-power-monitoring.yml"
103
103
# Use the tempest config we have for autoscaling tests
104
104
- " @{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-autoscaling-tempest.yml"
105
- # Currently, this runs tempest smoketests after the dashboards have been disabled again
106
- - " @{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/vars-graphing-test.yml"
105
+ - " @{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/vars-fvt-tests.yml"
107
106
roles :
108
107
- zuul : github.com/openstack-k8s-operators/ci-framework
109
108
required-projects : *required_projects
Original file line number Diff line number Diff line change 8
8
vars_files :
9
9
- vars/common.yml
10
10
- vars/osp18_env.yml
11
+ pre_tasks :
12
+ - name : " Get OpenStackControlPlane autoscaling status"
13
+ ansible.builtin.command : >
14
+ oc get oscp -n openstack -o jsonpath='{.items[0].spec.telemetry.template.autoscaling.enabled}'
15
+ register : autoscaling_status
16
+ changed_when : false
17
+
18
+ - name : " Set fact if autoscaling is enabled"
19
+ ansible.builtin.set_fact :
20
+ autoscaling_enabled : " {{ autoscaling_status.stdout | trim | lower == 'true' }}"
21
+
22
+ - name : " Notify if autoscaling test is skipped"
23
+ ansible.builtin.debug :
24
+ msg : " Skipping the autoscaling test because OpenStackControlPlane telemetry autoscaling is disabled."
25
+ when : not autoscaling_enabled | bool
26
+
27
+ - name : " Skip autoscaling test if the autoscaling is disabled"
28
+ ansible.builtin.meta : end_play
29
+ when : not autoscaling_enabled | bool
11
30
tasks :
12
31
- block :
13
32
- name : Include vars from the extra_vars files
Original file line number Diff line number Diff line change
1
+ - name : Run Autoscaling test
2
+ ansible.builtin.import_playbook : run_cloudops_tests_osp18.yml
3
+
4
+ - name : Run Graphing Console UI test
5
+ ansible.builtin.import_playbook : run_graphing_test.yml
Original file line number Diff line number Diff line change 7
7
PATH : " {{ cifmw_path }}"
8
8
vars_files :
9
9
- vars/common.yml
10
+ pre_tasks :
11
+ - name : " Get OpenStackControlPlane telemetry dashboardsEnabled status"
12
+ ansible.builtin.command : >
13
+ oc get oscp -n openstack -o jsonpath='{.items[0].spec.telemetry.template.metricStorage.dashboardsEnabled}'
14
+ register : dashboard_status
15
+ changed_when : false
16
+
17
+ - name : " Set fact if dashboards are enabled"
18
+ ansible.builtin.set_fact :
19
+ dashboards_enabled : " {{ dashboard_status.stdout | trim | lower == 'true' }}"
20
+
21
+ - name : " Notify if graphing test is skipped"
22
+ ansible.builtin.debug :
23
+ msg : " Skipping the graphing test because OpenStackControlPlane telemetry dashboards are disabled."
24
+ when : not dashboards_enabled | bool
25
+
26
+ - name : " Skip graphing test if the dashboards is disabled"
27
+ ansible.builtin.meta : end_play
28
+ when : not dashboards_enabled | bool
10
29
tasks :
11
30
- block :
12
31
- name : " Run Graphing Console UI tests"
Original file line number Diff line number Diff line change
1
+ ---
2
+ post_deploy_00_run_fvt_tests :
3
+ source : " {{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/run_fvt_tests.yml"
4
+ config_file : " {{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/ansible.cfg"
5
+ type : playbook
6
+ post_deploy_01_copy_results :
7
+ source : " {{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/report_result.yml"
8
+ type : playbook
9
+ extra_vars :
10
+ check_failures : false
11
+
12
+ cifmw_run_tests : true
13
+ # run only smoke tests
14
+ cifmw_test_operator_tempest_include_list : |
15
+ ^tempest.*\[.*\bsmoke\b.*\]
16
+ post_tests_99_collect_results :
17
+ source : " {{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/report_result.yml"
18
+ type : playbook
You can’t perform that action at this time.
0 commit comments