1
0
forked from docs/doc-exports
Artem Goncharov d4de57a7f4
add zuul jobs (#1)
Enable zuul jobs

Reviewed-by: OpenTelekomCloud Bot <None>
Reviewed-by: Vladimir Hasko <vladimirhasko@gmail.com>
2022-05-03 05:20:12 +00:00

32 lines
898 B
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- block:
- name: Fetch archive
synchronize:
dest: "{{ zuul.executor.log_root }}/{{ fetch_doc_artifacts_name }}.patch"
mode: pull
src: "{{ fetch_doc_artifacts_patch }}"
verify_host: true
owner: no
group: no
when: not zuul_use_fetch_output
- block:
- name: Copy archive
copy:
dest: "{{ zuul_output_dir }}/logs/{{ fetch_doc_artifacts_name }}.patch"
src: "{{ fetch_doc_artifacts_patch }}"
mode: 0644
remote_src: true
when: zuul_use_fetch_output
- name: Return artifact to Zuul
zuul_return:
data:
zuul:
artifacts:
- name: "{{ fetch_doc_artifacts_name }} patch"
url: "patches/{{ fetch_doc_artifacts_name }}.patch"
metadata:
type: docs_patch
doc_service: "{{ doc.service }}"
doc_type: "{{ doc.type }}"