@@ -205,51 +205,51 @@ const TESTS: { [name: string]: InfraConfig } = {
205
205
WORKSPACE_TEST : {
206
206
phase : "run-workspace-tests" ,
207
207
makeTarget : "run-workspace-tests" ,
208
- description : "Run the workspace tests test/tests/workspace " ,
208
+ description : "Workspace integration tests" ,
209
209
slackhook : slackHook . get ( "workspace-jobs" ) ,
210
210
} ,
211
211
VSCODE_IDE_TEST : {
212
212
phase : "run-vscode-ide-tests" ,
213
213
makeTarget : "run-vscode-ide-tests" ,
214
- description : "Run the vscode IDE tests test/tests/ide/vscode " ,
214
+ description : "vscode IDE tests" ,
215
215
slackhook : slackHook . get ( "ide-jobs" ) ,
216
216
} ,
217
217
JB_IDE_TEST : {
218
218
phase : "run-jb-ide-tests" ,
219
219
makeTarget : "run-jb-ide-tests" ,
220
- description : "Run the jetbrains IDE tests test/tests/ide/jetbrains " ,
220
+ description : "jetbrains IDE tests" ,
221
221
slackhook : slackHook . get ( "ide-jobs" ) ,
222
222
} ,
223
223
CONTENTSERVICE_TEST : {
224
224
phase : "run-cs-component-tests" ,
225
225
makeTarget : "run-cs-component-tests" ,
226
- description : "Run the content-service tests test/tests/components/content-service " ,
226
+ description : "content-service tests" ,
227
227
} ,
228
228
DB_TEST : {
229
229
phase : "run-db-component-tests" ,
230
230
makeTarget : "run-db-component-tests" ,
231
- description : "Run the database tests test/ tests/components/database " ,
231
+ description : "database integration tests" ,
232
232
} ,
233
233
IMAGEBUILDER_TEST : {
234
234
phase : "run-ib-component-tests" ,
235
235
makeTarget : "run-ib-component-tests" ,
236
- description : "Run the image-builder tests test/tests/components/image-builder " ,
236
+ description : "image-builder tests" ,
237
237
} ,
238
238
SERVER_TEST : {
239
239
phase : "run-server-component-tests" ,
240
240
makeTarget : "run-server-component-tests" ,
241
- description : "Run the server tests test/ tests/components/server " ,
241
+ description : "server integration tests" ,
242
242
} ,
243
243
WS_DAEMON_TEST : {
244
244
phase : "run-wsd-component-tests" ,
245
245
makeTarget : "run-wsd-component-tests" ,
246
- description : "Run the ws-daemon tests test/ tests/components/ws-daemon " ,
246
+ description : "ws-daemon integration tests" ,
247
247
slackhook : slackHook . get ( "workspace-jobs" ) ,
248
248
} ,
249
249
WS_MNGR_TEST : {
250
250
phase : "run-wsm-component-tests" ,
251
251
makeTarget : "run-wsm-component-tests" ,
252
- description : "Run the ws-manager tests test/ tests/components/ws-manager " ,
252
+ description : "ws-manager integration tests" ,
253
253
slackhook : slackHook . get ( "workspace-jobs" ) ,
254
254
} ,
255
255
}
@@ -345,6 +345,7 @@ export async function installerTests(config: TestConfig) {
345
345
346
346
function runIntegrationTests ( ) {
347
347
werft . phase ( "run-integration-tests" , "Run all existing integration tests" ) ;
348
+ const slackAlerts = new Map < string , string > ( [ ] )
348
349
for ( let test in TESTS ) {
349
350
const testPhase = TESTS [ test ] ;
350
351
const ret = callMakeTargets ( testPhase . phase , testPhase . description , testPhase . makeTarget ) ;
@@ -353,10 +354,16 @@ function runIntegrationTests() {
353
354
`werft log result -d "failed test" url "${ testPhase . description } (Phase ${ testPhase . phase } ) failed. Please refer logs."` ,
354
355
) ;
355
356
356
- sendFailureSlackAlert ( testPhase . description , new Error ( "Integration test failed" ) , testPhase . slackhook )
357
+ const msg : string = slackAlerts . get ( testPhase . slackhook ) || ""
358
+ slackAlerts . set ( testPhase . slackhook , `${ msg } \n${ testPhase . description } ` )
359
+
357
360
}
358
361
}
359
362
363
+ slackAlerts . forEach ( ( msg : string , channel : string ) => {
364
+ sendFailureSlackAlert ( msg , new Error ( "Integration tests failed" ) , channel )
365
+ } ) ;
366
+
360
367
werft . done ( "run-integration-tests" ) ;
361
368
}
362
369
@@ -411,7 +418,7 @@ function randK8sVersion(config: string): string {
411
418
break ;
412
419
}
413
420
case "STANDARD_EKS_TEST" : {
414
- options = [ "1.21" , "1.22" ]
421
+ options = [ "1.21" , "1.22" , "1.23" ]
415
422
break ;
416
423
}
417
424
case "STANDARD_K3S_TEST" : {
0 commit comments