FLETCHER 183854482b (move) Move the dev pipeline / standard-container
This patchset copies the development-pipeline and standard-container
into the sample network mongodb directory to begin testing the pipeline
and standard-container in a namespace created by jarvis-system.

Change-Id: I8448a122e8da218752ea57b15fb2983881e90ec9
2021-02-26 01:20:22 +00:00

30 lines
667 B
YAML

---
- name: Create directories for logs
file:
path: "{{ logs_dir }}/{{ item }}"
state: directory
with_items:
- objects/cluster
- objects/namespaced
- pod-logs
- name: Gather kubernetes logs
shell: |
set -x;
./tools/gate/gather-pod-logs.sh
./tools/gate/gather-objects.sh
environment:
LOGDIR: "{{ logs_dir }}"
args:
chdir: "{{ zuul.project.src_dir }}/{{ gate_scripts_relative_path | default('') }}"
ignore_errors: True
- name: Upload the logs
synchronize:
mode: pull
src: "{{ logs_dir }}"
dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}"
owner: no
group: no
ignore_errors: True