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

@@ -21,6 +21,9 @@
- name: Run a replica controller composed of 2 pods in test ns
shell: "{{ bin_dir }}/kubectl run test --image={{ test_image_repo }}:{{ test_image_tag }} --namespace test --replicas=2 --command -- tail -f /dev/null"
- import_role:
name: cluster-dump
- name: Check that all pods are running and ready
shell: "{{ bin_dir }}/kubectl get pods --namespace test --no-headers -o yaml"
register: run_pods_log