Browse Source

Artifacts directory path is now set in a variable

The artifact directory where we collect details of
the validations execution from the ansible perspective
is now set as a variable, with the default value
in defaults/main.yaml

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I52d0bf261dd8eeeeb2817cd8f833937ef3c7ab93
changes/09/790209/4
Jiri Podivin 3 months ago
parent
commit
6dfba5189c
  1. 1
      roles/fetch_validations/defaults/main.yaml
  2. 2
      roles/fetch_validations/tasks/main.yaml

1
roles/fetch_validations/defaults/main.yaml

@ -2,3 +2,4 @@
src_dir: "{{ zuul.project.src_dir }}"
output_dir: "{{ ansible_user_dir }}"
log_path: "{{ zuul.executor.log_root }}"
artifacts_dir: "{{ zuul.executor.work_root }}/artifacts"

2
roles/fetch_validations/tasks/main.yaml

@ -6,7 +6,7 @@
state: directory
with_items:
- "{{ log_path }}/validations-logs"
- "{{ zuul.executor.work_root }}/artifacts"
- "{{ artifacts_dir }}"
loop_control:
loop_var: vf_output_dir

Loading…
Cancel
Save