Skip to content

Commit 4156382

Browse files
committed
Try to use new hooks to run test playbooks directly
1 parent 50011d0 commit 4156382

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

ci/logging_tests_computes.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222

2323
tasks:
2424
- name: "Run file and container tests"
25-
ansible.builtin.import_role:
25+
ansible.builtin.import_role:
2626
name: common
2727

2828

29-
- name: "Verify logging journalctl identifiers"
29+
- name: "Verify logging journalctl identifiers"
3030
hosts: computes
3131
gather_facts: no
3232
vars:
@@ -36,6 +36,6 @@
3636
- nova_compute
3737

3838
tasks:
39-
- name: "Verify journalctl logging identifiers"
39+
- name: "Verify journalctl logging identifiers"
4040
ansible.builtin.import_role:
4141
name: telemetry_logging

ci/run_playbooks_logging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@
5252
line: "{{ output2.stdout }}"
5353
path: "{{ logs_dir }}/ansible_run.log"
5454

55-
- name: Include report result
55+
- name: Include report result
5656
ansible.builtin.include_tasks:
5757
file: report_result.yml

ci/vars-logging-test.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
---
2-
# temp: skip os-net-setup
3-
post_deploy_run_logging_functional_test:
4-
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/run_playbooks_logging.yml"
2+
#post_deploy_run_logging_functional_test:
3+
# source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/run_playbooks_logging.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_fvt_logging_01_computes:
7+
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/logging_tests_computes.yml"
8+
config_file: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/ansible.cfg"
59
type: playbook
10+
11+
post_deploy_fvt_logging_00_local:
12+
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/logging_tests_local.yml"
13+
config_file: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/ansible.cfg"
14+
type: playbook
15+

0 commit comments

Comments
 (0)