Skip to content

Commit

Permalink
Try to use new hooks to run test playbooks directly
Browse files Browse the repository at this point in the history
  • Loading branch information
elfiesmelfie committed Aug 9, 2024
1 parent b302395 commit 0799ffd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
6 changes: 3 additions & 3 deletions ci/logging_tests_computes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@

tasks:
- name: "Run file and container tests"
ansible.builtin.import_role:
ansible.builtin.import_role:
name: common


- name: "Verify logging journalctl identifiers"
- name: "Verify logging journalctl identifiers"
hosts: computes
gather_facts: no
vars:
Expand All @@ -36,6 +36,6 @@
- nova_compute

tasks:
- name: "Verify journalctl logging identifiers"
- name: "Verify journalctl logging identifiers"
ansible.builtin.import_role:
name: telemetry_logging
2 changes: 1 addition & 1 deletion ci/run_playbooks_logging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
line: "{{ output2.stdout }}"
path: "{{ logs_dir }}/ansible_run.log"

- name: Include report result
- name: Include report result
ansible.builtin.include_tasks:
file: report_result.yml
16 changes: 13 additions & 3 deletions ci/vars-logging-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
---
# temp: skip os-net-setup
post_deploy_run_logging_functional_test:
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/run_playbooks_logging.yml"
#post_deploy_run_logging_functional_test:
# source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/run_playbooks_logging.yml"
# config_file: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/ansible.cfg"
# type: playbook
post_deploy_fvt_logging_01_computes:
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/logging_tests_computes.yml"
config_file: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/ansible.cfg"
type: playbook

post_deploy_fvt_logging_00_local:
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/logging_tests_local.yml"
config_file: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/ansible.cfg"
type: playbook

0 comments on commit 0799ffd

Please sign in to comment.