Skip to content

Commit 041ee76

Browse files
nandajavarmaroboquat
authored andcommitted
[installer-tests] Randomly run tests against stable and unstable channels
1 parent 2290935 commit 041ee76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.werft/installer-tests.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ const annotations: any = context.Annotations || {};
1111

1212
const testConfig: string = process.argv.length > 2 ? process.argv[2] : "STANDARD_K3S_TEST";
1313

14-
const channel: string = annotations.channel || "unstable";
14+
// we can either provide the channel name of we randomly run tests against stable and unstable channels
15+
const channel: string = annotations.channel || randomize(["stable", "unstable"]);
1516
const kotsApp: string = annotations.replicatedApp || "gitpod";
1617

1718
const version: string = annotations.version || "-";

0 commit comments

Comments
 (0)