Add cluster dump artifact in CI jobs (#5796)

This commit is contained in:
Maxime Guyot
2020-04-01 16:23:29 +02:00
committed by GitHub
parent 033afe1574
commit be9414fabe
10 changed files with 59 additions and 22 deletions

View File

@@ -24,6 +24,9 @@
bin_dir: "/usr/local/bin"
when: not ansible_os_family in ["CoreOS", "Coreos", "Container Linux by CoreOS", "Flatcar", "Flatcar Container Linux by Kinvolk"]
- import_role:
name: cluster-dump
- name: Wait for netchecker server
shell: "{{ bin_dir }}/kubectl get pods -o wide --namespace {{ netcheck_namespace }} | grep ^netchecker-server"
delegate_to: "{{ groups['kube-master'][0] }}"