We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f780eb1 + 70bdf85 commit ae8e383Copy full SHA for ae8e383
hack/ginkgo-e2e.sh
@@ -76,8 +76,6 @@ fi
76
77
if [[ -n "${NODE_INSTANCE_PREFIX:-}" ]]; then
78
NODE_INSTANCE_GROUP="${NODE_INSTANCE_PREFIX}-group"
79
-else
80
- NODE_INSTANCE_GROUP=""
81
fi
82
83
if [[ "${KUBERNETES_PROVIDER}" == "gce" ]]; then
@@ -93,7 +91,10 @@ if [[ "${KUBERNETES_PROVIDER}" == "gce" ]]; then
93
91
done
94
92
95
96
-if [[ "${KUBERNETES_PROVIDER}" == "gke" ]]; then
+# TODO(kubernetes/test-infra#3330): Allow NODE_INSTANCE_GROUP to be
+# set before we get here, which eliminates any cluster/gke use if
+# KUBERNETES_CONFORMANCE_PROVIDER is set to "gke".
97
+if [[ -z "${NODE_INSTANCE_GROUP:-}" ]] && [[ "${KUBERNETES_PROVIDER}" == "gke" ]]; then
98
detect-node-instance-groups
99
NODE_INSTANCE_GROUP=$(kube::util::join , "${NODE_INSTANCE_GROUPS[@]}")
100
0 commit comments