Skip to content

Commit 65fb20a

Browse files
committed
Run only upgrades e2e test for nightlies
Our nightlies have been (sometimes) timing out for a while now. Currently we run create, update, and decommission e2e tests for the nightly CI runs for GKE and OpenShift. This PR reduces that list to just the upgrades test. This involves creating a cluster, updating the version, and decommissioning it, which should be sufficient for us. We still run each of the e2e tests in CI, so this doesn't represent a reduction in overall test coverage, just limits what's being tested in the nightly run.
1 parent 561cf47 commit 65fb20a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Makefile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ test/e2e/k3d-%:
114114
test/e2e/testrunner-eks:
115115
KUBECONFIG=$(TMPDIR)/$(CLUSTER_NAME)-eks.kubeconfig.yaml bazel-bin/hack/bin/kubectl create -f hack/eks-storageclass.yaml
116116
bazel test --stamp //e2e/upgrades/... --action_env=KUBECONFIG=$(TMPDIR)/$(CLUSTER_NAME)-eks.kubeconfig.yaml
117-
bazel test --stamp //e2e/create/... --action_env=KUBECONFIG=$(TMPDIR)/$(CLUSTER_NAME)-eks.kubeconfig.yaml
118-
bazel test --stamp //e2e/decommission/... --action_env=KUBECONFIG=$(TMPDIR)/$(CLUSTER_NAME)-eks.kubeconfig.yaml
119117

120118
# Use this target to run e2e tests with a eks cluster.
121119
# This target uses kubetest2 to start a eks k8s cluster and runs the e2e tests
@@ -143,9 +141,6 @@ test/e2e/testrunner-gke:
143141
#bazel run --stamp --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 \
144142
# //manifests:install_operator.apply
145143
bazel test --stamp //e2e/upgrades/...
146-
bazel test --stamp //e2e/create/...
147-
bazel test --stamp --test_arg=--pvc=true //e2e/pvcresize/...
148-
bazel test --stamp //e2e/decommission/...
149144

150145
# Use this target to run e2e tests with a gke cluster.
151146
# This target uses kubetest2 to start a gke k8s cluster and runs the e2e tests
@@ -171,8 +166,6 @@ test/e2e/gke:
171166
.PHONY: test/e2e/testrunner-openshift
172167
test/e2e/testrunner-openshift:
173168
bazel test --stamp //e2e/upgrades/... --action_env=KUBECONFIG=$(HOME)/openshift-$(CLUSTER_NAME)/auth/kubeconfig
174-
bazel test --stamp //e2e/create/... --action_env=KUBECONFIG=$(HOME)/openshift-$(CLUSTER_NAME)/auth/kubeconfig
175-
bazel test --stamp //e2e/decommission/... --action_env=KUBECONFIG=$(HOME)/openshift-$(CLUSTER_NAME)/auth/kubeconfig
176169

177170
# Use this target to run e2e tests with a openshift cluster.
178171
# This target uses kubetest2 to start a openshift cluster and runs the e2e tests

0 commit comments

Comments
 (0)