add zuul jobs (#1)

Enable zuul jobs

Reviewed-by: OpenTelekomCloud Bot <None>
Reviewed-by: Vladimir Hasko <vladimirhasko@gmail.com>
This commit is contained in:
2022-05-03 07:20:12 +02:00
committed by GitHub
parent 107a0e1a82
commit d4de57a7f4
25 changed files with 722 additions and 363 deletions

View File

@ -0,0 +1,31 @@
- 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 }}"