mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-15 22:34:21 +03:00
Remove no_log in CI tests (#11702)
We always want to see the logs in the CI.
This commit is contained in:
@@ -117,13 +117,11 @@
|
||||
retries: 18
|
||||
delay: 10
|
||||
failed_when: false
|
||||
no_log: true
|
||||
|
||||
- name: Get pod names
|
||||
command: "{{ bin_dir }}/kubectl get pods -n test -o json"
|
||||
changed_when: false
|
||||
register: pods
|
||||
no_log: true
|
||||
|
||||
- debug: # noqa name[missing]
|
||||
msg: "{{ pods.stdout.split('\n') }}"
|
||||
@@ -135,20 +133,17 @@
|
||||
changed_when: false
|
||||
register: hostnet_pods
|
||||
ignore_errors: true # noqa ignore-errors
|
||||
no_log: true
|
||||
|
||||
- name: Get running pods
|
||||
command: "{{ bin_dir }}/kubectl get pods -n test -o
|
||||
jsonpath='{range .items[?(.status.phase==\"Running\")]}{.metadata.name} {.status.podIP} {.status.containerStatuses} {end}'"
|
||||
changed_when: false
|
||||
register: running_pods
|
||||
no_log: true
|
||||
|
||||
- name: Check kubectl output
|
||||
command: "{{ bin_dir }}/kubectl get pods --all-namespaces -owide"
|
||||
changed_when: false
|
||||
register: get_pods
|
||||
no_log: true
|
||||
|
||||
- debug: # noqa name[missing]
|
||||
msg: "{{ get_pods.stdout.split('\n') }}"
|
||||
|
||||
Reference in New Issue
Block a user