From 481ab1844a829b6a73b9eeb7a1e6c3084ca9f9f3 Mon Sep 17 00:00:00 2001 From: Jiaxin Shan Date: Tue, 3 May 2022 17:34:05 +0800 Subject: [PATCH] Override eks kubernetes version to 1.19 in CI --- test/workflows/components/workflows.libsonnet | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/workflows/components/workflows.libsonnet b/test/workflows/components/workflows.libsonnet index 8f7ade3f16..3afa089816 100644 --- a/test/workflows/components/workflows.libsonnet +++ b/test/workflows/components/workflows.libsonnet @@ -360,7 +360,15 @@ ]), // py lint $.parts(namespace, name, overrides).e2e(prow_env, bucket).buildTemplate("setup-cluster", testWorkerImage, [ "/usr/local/bin/create-eks-cluster.sh", - ]), // setup cluster + ], + # need to specify kubernetes version to be created in AWS EKS + env_vars=[ + { + name: "EKS_CLUSTER_VERSION", + value: "1.19", + }, + ] + ), // setup cluster $.parts(namespace, name, overrides).e2e(prow_env, bucket).buildTemplate("setup-training-operator", testWorkerImage, [ "scripts/setup-training-operator.sh", ]), // setup training-operator