|
25 | 25 | k8s: |
26 | 26 | host: "{{ oc_server.stdout }}" |
27 | 27 | api_key: "{{ kubeconfig_token.stdout }}" |
28 | | - validate_certs: no |
| 28 | + validate_certs: false |
29 | 29 | namespace: "{{ oc_project.stdout }}" |
30 | 30 | resource_definition: "{{ lookup('file', './test-src-pvc.yaml') }}" |
31 | 31 | - name: Start pod which mounts test-src-pvc to /src |
32 | 32 | k8s: |
33 | 33 | host: "{{ oc_server.stdout }}" |
34 | 34 | api_key: "{{ kubeconfig_token.stdout }}" |
35 | | - validate_certs: no |
| 35 | + validate_certs: false |
36 | 36 | namespace: "{{ oc_project.stdout }}" |
37 | 37 | resource_definition: "{{ lookup('file', './test-src-mounter.yaml') }}" |
38 | 38 | - name: Wait for the pod to be running so we can rsync the files |
39 | 39 | k8s: |
40 | 40 | host: "{{ oc_server.stdout }}" |
41 | 41 | api_key: "{{ kubeconfig_token.stdout }}" |
42 | | - validate_certs: no |
| 42 | + validate_certs: false |
43 | 43 | namespace: "{{ oc_project.stdout }}" |
44 | 44 | name: mount-src |
45 | 45 | api_version: v1 |
46 | 46 | kind: Pod |
47 | | - wait: yes |
| 47 | + wait: true |
48 | 48 | wait_condition: |
49 | 49 | type: Ready |
50 | 50 | wait_timeout: 100 |
|
54 | 54 | k8s: |
55 | 55 | host: "{{ oc_server.stdout }}" |
56 | 56 | api_key: "{{ kubeconfig_token.stdout }}" |
57 | | - validate_certs: no |
| 57 | + validate_certs: false |
58 | 58 | namespace: "{{ oc_project.stdout }}" |
59 | 59 | name: mount-src |
60 | 60 | api_version: v1 |
|
65 | 65 | k8s: |
66 | 66 | host: "{{ oc_server.stdout }}" |
67 | 67 | api_key: "{{ kubeconfig_token.stdout }}" |
68 | | - validate_certs: no |
| 68 | + validate_certs: false |
69 | 69 | namespace: "{{ oc_project.stdout }}" |
70 | 70 | name: "{{ tests_job_name }}" |
71 | 71 | api_version: v1 |
|
75 | 75 | k8s: |
76 | 76 | host: "{{ oc_server.stdout }}" |
77 | 77 | api_key: "{{ kubeconfig_token.stdout }}" |
78 | | - validate_certs: no |
| 78 | + validate_certs: false |
79 | 79 | namespace: "{{ oc_project.stdout }}" |
80 | 80 | name: get-requre-data |
81 | 81 | api_version: v1 |
|
85 | 85 | k8s: |
86 | 86 | host: "{{ oc_server.stdout }}" |
87 | 87 | api_key: "{{ kubeconfig_token.stdout }}" |
88 | | - validate_certs: no |
| 88 | + validate_certs: false |
89 | 89 | namespace: "{{ oc_project.stdout }}" |
90 | 90 | name: test-data-pvc |
91 | 91 | api_version: v1 |
92 | 92 | kind: PersistentVolumeClaim |
93 | 93 | state: absent |
94 | | - wait: yes |
| 94 | + wait: true |
95 | 95 | wait_condition: |
96 | 96 | type: Complete |
97 | 97 | wait_timeout: 300 |
|
104 | 104 | k8s: |
105 | 105 | host: "{{ oc_server.stdout }}" |
106 | 106 | api_key: "{{ kubeconfig_token.stdout }}" |
107 | | - validate_certs: no |
| 107 | + validate_certs: false |
108 | 108 | namespace: "{{ oc_project.stdout }}" |
109 | 109 | name: "{{ tests_job_name }}" |
110 | 110 | api_version: v1 |
111 | 111 | kind: Job |
112 | | - wait: yes |
| 112 | + wait: true |
113 | 113 | wait_condition: |
114 | 114 | type: Complete |
115 | 115 | wait_timeout: 300 |
116 | | - ignore_errors: yes # we want to see logs either way |
| 116 | + ignore_errors: true # we want to see logs either way |
117 | 117 | - name: get test results |
118 | 118 | k8s_info: |
119 | 119 | host: "{{ oc_server.stdout }}" |
120 | 120 | api_key: "{{ kubeconfig_token.stdout }}" |
121 | | - validate_certs: no |
| 121 | + validate_certs: false |
122 | 122 | namespace: "{{ oc_project.stdout }}" |
123 | 123 | kind: Job |
124 | 124 | name: "{{ tests_job_name }}" |
|
136 | 136 | k8s: |
137 | 137 | host: "{{ oc_server.stdout }}" |
138 | 138 | api_key: "{{ kubeconfig_token.stdout }}" |
139 | | - validate_certs: no |
| 139 | + validate_certs: false |
140 | 140 | namespace: "{{ oc_project.stdout }}" |
141 | 141 | name: get-requre-data |
142 | 142 | api_version: v1 |
143 | 143 | kind: Pod |
144 | | - wait: yes |
| 144 | + wait: true |
145 | 145 | wait_condition: |
146 | 146 | type: Ready |
147 | 147 | wait_timeout: 100 |
|
0 commit comments