Merge pull request #45109 from rootfs/azure-e2e-pr
Automatic merge from submit-queue (batch tested with PRs 44044, 44766, 44930, 45109, 43301) e2e test: test azure disk volume **What this PR does / why we need it**: E2E test Azure disk volume **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: @kubernetes/sig-testing-pr-reviews **Release note**: ```release-note NONE ```
This commit is contained in:
@@ -29,6 +29,7 @@ e2e_test=$(kube::util::find-binary "e2e.test")
|
||||
# --- Setup some env vars.
|
||||
|
||||
GINKGO_PARALLEL=${GINKGO_PARALLEL:-n} # set to 'y' to run tests in parallel
|
||||
CLOUD_CONFIG=${CLOUD_CONFIG:-""}
|
||||
|
||||
# If 'y', Ginkgo's reporter will not print out in color when tests are run
|
||||
# in parallel
|
||||
@@ -97,6 +98,13 @@ if [[ "${KUBERNETES_PROVIDER}" == "gke" ]]; then
|
||||
NODE_INSTANCE_GROUP=$(kube::util::join , "${NODE_INSTANCE_GROUPS[@]}")
|
||||
fi
|
||||
|
||||
if [[ "${KUBERNETES_PROVIDER}" == "azure" ]]; then
|
||||
if [[ ${CLOUD_CONFIG} == "" ]]; then
|
||||
echo "Missing azure cloud config"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
ginkgo_args=()
|
||||
if [[ -n "${CONFORMANCE_TEST_SKIP_REGEX:-}" ]]; then
|
||||
ginkgo_args+=("--skip=${CONFORMANCE_TEST_SKIP_REGEX}")
|
||||
@@ -137,6 +145,7 @@ export PATH=$(dirname "${e2e_test}"):"${PATH}"
|
||||
--gke-cluster="${CLUSTER_NAME:-}" \
|
||||
--kube-master="${KUBE_MASTER:-}" \
|
||||
--cluster-tag="${CLUSTER_ID:-}" \
|
||||
--cloud-config-file="${CLOUD_CONFIG:-}" \
|
||||
--repo-root="${KUBE_ROOT}" \
|
||||
--node-instance-group="${NODE_INSTANCE_GROUP:-}" \
|
||||
--prefix="${KUBE_GCE_INSTANCE_PREFIX:-e2e}" \
|
||||
|
||||
@@ -97,6 +97,7 @@ clientset-name
|
||||
clientset-only
|
||||
clientset-path
|
||||
cloud-config
|
||||
cloud-config-file
|
||||
cloud-provider
|
||||
cloud-provider-gce-lb-src-cidrs
|
||||
cluster-cidr
|
||||
|
||||
Reference in New Issue
Block a user