Merge pull request #51 from msau42/enable-multinode
Enable topology testing with hostpath driver
This commit is contained in:
11
prow.sh
11
prow.sh
@@ -330,7 +330,11 @@ configvar CSI_SNAPSHOTTER_VERSION 'v2.0.0-rc4' "external-snapshotter version tag
|
|||||||
# whether they can run with the current cluster provider, but until
|
# whether they can run with the current cluster provider, but until
|
||||||
# they are, we filter them out by name. Like the other test selection
|
# they are, we filter them out by name. Like the other test selection
|
||||||
# variables, this is again a space separated list of regular expressions.
|
# variables, this is again a space separated list of regular expressions.
|
||||||
configvar CSI_PROW_E2E_SKIP 'Disruptive' "tests that need to be skipped"
|
#
|
||||||
|
# "different node" test skips can be removed once
|
||||||
|
# https://github.com/kubernetes/kubernetes/pull/82678 has been backported
|
||||||
|
# to all the K8s versions we test against
|
||||||
|
configvar CSI_PROW_E2E_SKIP 'Disruptive|different\s+node' "tests that need to be skipped"
|
||||||
|
|
||||||
# This is the directory for additional result files. Usually set by Prow, but
|
# This is the directory for additional result files. Usually set by Prow, but
|
||||||
# if not (for example, when invoking manually) it defaults to the work directory.
|
# if not (for example, when invoking manually) it defaults to the work directory.
|
||||||
@@ -526,6 +530,7 @@ apiVersion: kind.sigs.k8s.io/v1alpha3
|
|||||||
nodes:
|
nodes:
|
||||||
- role: control-plane
|
- role: control-plane
|
||||||
- role: worker
|
- role: worker
|
||||||
|
- role: worker
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# kubeadm has API dependencies between apiVersion and Kubernetes version
|
# kubeadm has API dependencies between apiVersion and Kubernetes version
|
||||||
@@ -840,10 +845,6 @@ run_e2e () (
|
|||||||
install_e2e || die "building e2e.test failed"
|
install_e2e || die "building e2e.test failed"
|
||||||
install_ginkgo || die "installing ginkgo failed"
|
install_ginkgo || die "installing ginkgo failed"
|
||||||
|
|
||||||
# TODO (?): multi-node cluster (depends on https://github.com/kubernetes-csi/csi-driver-host-path/pull/14).
|
|
||||||
# When running on a multi-node cluster, we need to figure out where the
|
|
||||||
# hostpath driver was deployed and set ClientNodeName accordingly.
|
|
||||||
|
|
||||||
generate_test_driver >"${CSI_PROW_WORK}/test-driver.yaml" || die "generating test-driver.yaml failed"
|
generate_test_driver >"${CSI_PROW_WORK}/test-driver.yaml" || die "generating test-driver.yaml failed"
|
||||||
|
|
||||||
# Rename, merge and filter JUnit files. Necessary in case that we run the E2E suite again
|
# Rename, merge and filter JUnit files. Necessary in case that we run the E2E suite again
|
||||||
|
Reference in New Issue
Block a user