From 5a477bee9c199a49e65943bf7660b7968fefc36e Mon Sep 17 00:00:00 2001 From: Nandaja Varma Date: Mon, 12 Sep 2022 10:34:37 +0000 Subject: [PATCH] [installer-tests] Randomly run tests against stable and unstable channels --- .werft/installer-tests.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.werft/installer-tests.ts b/.werft/installer-tests.ts index d085d0ddcbddca..015d11e2038057 100644 --- a/.werft/installer-tests.ts +++ b/.werft/installer-tests.ts @@ -11,7 +11,8 @@ const annotations: any = context.Annotations || {}; const testConfig: string = process.argv.length > 2 ? process.argv[2] : "STANDARD_K3S_TEST"; -const channel: string = annotations.channel || "unstable"; +// we can either provide the channel name of we randomly run tests against stable and unstable channels +const channel: string = annotations.channel || randomize(["stable", "unstable"]); const kotsApp: string = annotations.replicatedApp || "gitpod"; const version: string = annotations.version || "-";