More E208 (final)
Change-Id: I705d1b10696326f3d4d5bef4b5a88a83f2c3d960
This commit is contained in:
parent
7325aca987
commit
6b8cc6d468
@ -17,6 +17,7 @@
|
||||
file:
|
||||
path: "{{ zuul.executor.work_root }}/artifacts"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: Collect tarball artifacts.
|
||||
synchronize:
|
||||
|
@ -7,6 +7,7 @@
|
||||
file:
|
||||
path: "{{ ansible_user_dir }}/zuul-output/logs/{{ container_command }}"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: Save container logs
|
||||
loop: "{{ docker_containers.stdout_lines | default([]) }}"
|
||||
|
@ -35,6 +35,7 @@
|
||||
file:
|
||||
path: "{{ zuul.executor.work_root }}/artifacts"
|
||||
state: directory
|
||||
mode: 0755
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Collect artifacts
|
||||
|
@ -14,6 +14,7 @@
|
||||
file:
|
||||
path: "{{ log_path }}"
|
||||
state: directory
|
||||
mode: 0755
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Check for yarn.lock
|
||||
@ -138,6 +139,7 @@
|
||||
file:
|
||||
path: "{{ cover_path }}"
|
||||
state: directory
|
||||
mode: 0755
|
||||
delegate_to: localhost
|
||||
when: coverage_report_stat.stat.exists
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
file:
|
||||
path: "{{ zuul.executor.work_root }}/artifacts"
|
||||
state: directory
|
||||
mode: 0755
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Collect artifacts
|
||||
|
@ -13,6 +13,7 @@
|
||||
file:
|
||||
path: "{{ zj_output_dir }}"
|
||||
state: directory
|
||||
mode: 0755
|
||||
with_items:
|
||||
- "{{ log_path }}"
|
||||
- "{{ log_path }}/npm"
|
||||
|
@ -16,6 +16,7 @@
|
||||
file:
|
||||
path: "{{ zuul.executor.work_root }}/artifacts"
|
||||
state: directory
|
||||
mode: 0755
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Collect artifacts
|
||||
|
@ -8,7 +8,7 @@
|
||||
group: no
|
||||
when: not zuul_use_fetch_output
|
||||
|
||||
- name: Copy sphinx build html
|
||||
- name: Copy sphinx build html # noqa 208
|
||||
copy:
|
||||
dest: "{{ zuul_output_dir }}/logs/"
|
||||
src: "{{ sphinx_output_src }}"
|
||||
|
@ -24,6 +24,7 @@
|
||||
file:
|
||||
path: "{{ zuul.executor.log_root }}/docs"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: Extract archive HTML
|
||||
delegate_to: localhost
|
||||
@ -40,12 +41,14 @@
|
||||
copy:
|
||||
dest: "{{ zuul_output_dir }}/logs/docs-html.tar.gz"
|
||||
src: "{{ html_archive.path }}"
|
||||
mode: 0644
|
||||
remote_src: true
|
||||
|
||||
- name: Create browseable HTML directory
|
||||
file:
|
||||
path: "{{ zuul_output_dir }}/logs/docs"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: Extract archive HTML
|
||||
unarchive:
|
||||
|
@ -37,6 +37,7 @@
|
||||
file:
|
||||
path: "{{ zuul.executor.log_root }}/pdf"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: Fetch PDF files
|
||||
synchronize:
|
||||
@ -60,12 +61,14 @@
|
||||
file:
|
||||
path: "{{ zuul_output_dir }}/logs/pdf"
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: Copy PDF files
|
||||
copy:
|
||||
dest: "{{ zuul_output_dir }}/logs/pdf/{{ zj_pdf.zj_sphinx_pdf }}"
|
||||
src: "{{ zj_pdf.stat.path }}"
|
||||
remote_src: true
|
||||
mode: 0644
|
||||
with_items: "{{ pdf_file_stat.results }}"
|
||||
loop_control:
|
||||
loop_var: zj_pdf
|
||||
|
@ -40,6 +40,7 @@
|
||||
dest: "{{ zuul_output_dir }}/logs/"
|
||||
src: "{{ zj_item.1.path }}"
|
||||
remote_src: true
|
||||
mode: 0644
|
||||
with_subelements:
|
||||
- "{{ partial_subunit_files.results }}"
|
||||
- files
|
||||
@ -74,6 +75,7 @@
|
||||
copy:
|
||||
src: "{{ temp_subunit_file.path }}"
|
||||
dest: "{{ zuul_work_dir }}/testrepository.subunit"
|
||||
mode: 0644
|
||||
remote_src: yes
|
||||
|
||||
- name: Remove the temporary file
|
||||
|
@ -34,6 +34,7 @@
|
||||
dest: "{{ zuul_output_dir }}/logs/"
|
||||
src: "{{ zj_subunit_file.path }}"
|
||||
remote_src: true
|
||||
mode: 0644
|
||||
with_items: "{{ subunit_files.files }}"
|
||||
loop_control:
|
||||
loop_var: zj_subunit_file
|
||||
|
@ -12,12 +12,14 @@
|
||||
file:
|
||||
path: "{{ log_path }}"
|
||||
state: directory
|
||||
mode: 0755
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Ensure zuul-output tox dir
|
||||
file:
|
||||
path: "{{ zuul_output_dir }}/logs/tox"
|
||||
state: directory
|
||||
mode: 0755
|
||||
when: zuul_use_fetch_output
|
||||
|
||||
- name: Set envlist fact
|
||||
@ -60,7 +62,7 @@
|
||||
envlist: "{{ tox_all_environments.stdout_lines }}"
|
||||
when: tox_all_environments.stdout_lines is defined
|
||||
|
||||
- name: Copy tox logs
|
||||
- name: Copy tox logs # noqa 208
|
||||
copy:
|
||||
dest: "{{ zuul_output_dir }}/logs/tox/"
|
||||
src: "{{ zuul_work_dir }}/.tox/{{ zj_testenv }}/log/"
|
||||
|
@ -13,11 +13,6 @@
|
||||
template:
|
||||
src: templates/zuul-cloner-shim.py.j2
|
||||
dest: "{{ fetch_zuul_cloner_virtualenv }}/bin/zuul-cloner"
|
||||
become: yes
|
||||
|
||||
- name: Change zuul-cloner permissions
|
||||
file:
|
||||
path: "{{ fetch_zuul_cloner_virtualenv }}/bin/zuul-cloner"
|
||||
mode: 0755
|
||||
become: yes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user