@@ -144,12 +144,37 @@ stages:
144
144
service : true
145
145
146
146
- job : logs
147
- displayName : " Failure Logs"
147
+ displayName : " Nightly Logs"
148
148
dependsOn :
149
149
- cilium_nightly
150
150
- cni_linux
151
- condition : failed ()
151
+ condition : always ()
152
152
steps :
153
+ - template : ../../templates/cilium-cli.yaml
154
+
155
+ - task : AzureCLI@2
156
+ inputs :
157
+ azureSubscription : $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
158
+ scriptLocation : " inlineScript"
159
+ scriptType : " bash"
160
+ addSpnToEnvironment : true
161
+ inlineScript : |
162
+ make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}
163
+
164
+ set -e
165
+ echo "Run Cilium Connectivity Tests"
166
+ cilium status
167
+ cilium connectivity test --test check-log-errors --log-check-levels error
168
+ name : " ciliumConnectivityTests"
169
+ displayName : " Run Cilium Connectivity Tests"
170
+ condition : always()
171
+
172
+ - template : ../../templates/log-check-template.yaml # Operator Check
173
+ parameters :
174
+ clusterName : $(clusterName)-$(commitID)
175
+ podLabel : " name=cilium-operator"
176
+ logGrep : " level=error"
177
+
153
178
- template : ../../templates/log-template.yaml
154
179
parameters :
155
180
clusterName : ciliumnightly-$(commitID)
@@ -179,18 +204,6 @@ stages:
179
204
parameters :
180
205
clusterName : $(clusterName)-$(commitID)
181
206
182
- - template : ../../templates/log-check-template.yaml # Agent Check
183
- parameters :
184
- clusterName : $(clusterName)-$(commitID)
185
- podLabel : " k8s-app=cilium"
186
- logGrep : " level=error"
187
-
188
- - template : ../../templates/log-check-template.yaml # Operator Check
189
- parameters :
190
- clusterName : $(clusterName)-$(commitID)
191
- podLabel : " name=cilium-operator"
192
- logGrep : " level=error"
193
-
194
207
- template : ../../templates/delete-cluster.yaml
195
208
parameters :
196
209
name : $(name)
0 commit comments