Browse Source

Merge "Fetch all Validations, json and log files with CI role"

changes/78/788178/6
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
c9e4f37707
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      roles/fetch_validations/tasks/main.yaml

+ 18
- 0
roles/fetch_validations/tasks/main.yaml View File

@ -23,3 +23,21 @@
src: "artifacts"
loop_control:
loop_var: vf_output
- name: Find validations data
find:
paths: "{{ output_dir }}"
patterns: "*.json,*.log"
register: validation_json
- name: Collect Validation logs
synchronize:
dest: "{{ log_path }}/validations-logs/"
mode: pull
src: "{{ logs.path }}"
verify_host: true
owner: false
group: false
loop: "{{ validation_json.files }}"
loop_control:
loop_var: logs

Loading…
Cancel
Save