Skip to content

Commit 6c7d652

Browse files
authored
[ci] Use pre_tests hooks for running FVTs (#272)
In some cases we were using post_deploy, and others pre_test for running the FVTs. These happen sequentially, but for updates jobs, the post_deploy hooks are not run. In order for the tests to be run in updates jobs, the pre_tests hook should be used. JIRA: OSPRH-17110
1 parent e855781 commit 6c7d652

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ci/vars-graphing-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
post_deploy_00_run_graphing_test:
2+
pre_tests_00_run_graphing_test:
33
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/run_graphing_test.yml"
44
config_file: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/ansible.cfg"
55
type: playbook
6-
post_deploy_01_copy_results:
6+
pre_tests_01_copy_results:
77
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/report_result.yml"
88
type: playbook
99
extra_vars:

ci/vars-logging-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
# pre_tests or post_tests are also options for when the FVT roles are run
3-
post_deploy_00_fvt_logging:
3+
pre_tests_00_fvt_logging:
44
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/logging_tests_all.yml"
55
config_file: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/ansible.cfg"
66
type: playbook
7-
post_deploy_01_copy_results:
7+
pre_tests_01_copy_results:
88
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/report_result.yml"
99
type: playbook
1010
extra_vars:

ci/vars-metric-verification-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
post_deploy_00_fvt_verify_metrics:
2+
pre_tests_00_fvt_verify_metrics:
33
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/run_verify_metrics_osp18.yml"
44
type: playbook
55
config_file: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/ansible.cfg"
6-
post_deploy_01_copy_results:
6+
pre_tests_01_copy_results:
77
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/report_result.yml"
88
type: playbook
99
extra_vars:

0 commit comments

Comments
 (0)