SF initial configurator | a26c41e | 2022-10-06 13:33:13 +0300 | [diff] [blame] | 1 | --- |
| 2 | - name: Copy zuul-output from the pod to the executor |
| 3 | command: > |
| 4 | oc --context "{{ item.1.context }}" |
| 5 | --namespace "{{ item.1.namespace }}" |
| 6 | rsync -q --progress=false |
| 7 | {{ item.1.pod }}:{{ output.src }}/ |
| 8 | {{ output.dst }}/ |
| 9 | no_log: true |
| 10 | delegate_to: localhost |
| 11 | loop: |
| 12 | - src: "{{ zuul_output_dir }}/logs" |
| 13 | dst: "{{ log_path }}" |
| 14 | # This need: https://review.opendev.org/#/c/681748/10/roles/ensure-output-dirs/tasks/main.yaml |
| 15 | # - src: "{{ zuul_output_dir }}/npm" |
| 16 | # dst: "{{ log_path }}/npm" |
| 17 | - src: "{{ zuul_output_dir }}/artifacts" |
| 18 | dst: "{{ zuul.executor.work_root }}/artifacts" |
| 19 | - src: "{{ zuul_output_dir }}/docs" |
| 20 | dst: "{{ zuul.executor.work_root }}/docs" |
| 21 | loop_control: |
| 22 | loop_var: output |