Browse Source

Merge "Update url for sova query source"

changes/03/808603/1 1.4.0
Zuul 10 months ago committed by Gerrit Code Review
parent
commit
dcfaffbfbd
  1. 13
      roles/collect_logs/molecule/sova/verify.yml
  2. 2
      roles/collect_logs/tasks/sova.yml

13
roles/collect_logs/molecule/sova/verify.yml

@ -1,13 +1,24 @@
---
- hosts: all
tasks:
- name: Ls {{ ansible_user_dir }}/workspace/logs/ # remove before merge
command: ls -la {{ ansible_user_dir }}/workspace/logs/
changed_when: false
register: test_output
- name: debug test # remove before merge
debug: var=test_output
- name: Ensure all files exists
stat:
path: "{{ ansible_user_dir }}/workspace/logs/failures_file"
path: "{{ item }}"
register: failures_file
loop:
- "{{ ansible_user_dir }}/workspace/logs/failures_file"
- "{{ ansible_user_dir }}/workspace/logs/_No_valid_host_was_found.log"
loop_control:
label: '{{ item.split("/")[-1] }}'
- name: Ensure all files exists - test
assert:

2
roles/collect_logs/tasks/sova.yml

@ -1,7 +1,7 @@
---
- name: Load sova patterns from URL
uri:
url: https://opendev.org/openstack/tripleo-ci-health-queries/raw/branch/master/output/sova-patterns.json
url: https://opendev.org/openstack/tripleo-ci-health-queries/raw/branch/master/output/sova-pattern-generated.json
method: GET
return_content: true
status_code: 200

Loading…
Cancel
Save