Browse Source

CI: more readable loop

Avoids putting whole pod spec in loop label
pull/12295/head
Max Gautier 3 months ago
parent
commit
e369ac2f24
Failed to extract signature
1 changed files with 2 additions and 0 deletions
  1. 2
      tests/testcases/030_check-network.yml

2
tests/testcases/030_check-network.yml

@ -107,6 +107,8 @@
with_nested:
- "{{ pods }}"
- "{{ pods }}"
loop_control:
label: "{{ item[0].metadata.name + ' --> ' + item[1].metadata.name }}"
rescue:
- name: List pods cluster-wide
command: "{{ bin_dir }}/kubectl get pods --all-namespaces -owide"

Loading…
Cancel
Save