File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -173,3 +173,6 @@ sshuttle.pid
173
173
174
174
# Book
175
175
docs /book /book /
176
+
177
+ # venv
178
+ .venv
Original file line number Diff line number Diff line change @@ -120,10 +120,18 @@ LDFLAGS := $(shell source ./hack/version.sh; version::ldflags)
120
120
# # --------------------------------------
121
121
122
122
# The number of ginkgo tests to run concurrently
123
- E2E_GINKGO_PARALLEL = 2
123
+ E2E_GINKGO_PARALLEL ?= 2
124
124
125
125
E2E_ARGS ?=
126
126
127
+ E2E_GINKGO_FOCUS ?=
128
+ E2E_GINKGO_SKIP ?=
129
+
130
+ # to set multiple ginkgo skip flags, if any
131
+ ifneq ($(strip $(E2E_GINKGO_SKIP ) ) ,)
132
+ _SKIP_ARGS := $(foreach arg,$(strip $(E2E_GINKGO_SKIP ) ) ,-skip="$(arg ) ")
133
+ endif
134
+
127
135
$(ARTIFACTS ) :
128
136
mkdir -p $@
129
137
@@ -163,7 +171,10 @@ e2e-prerequisites: $(GINKGO) e2e-templates e2e-image test-e2e-image-prerequisite
163
171
E2E_GINKGO_ARGS ?=
164
172
.PHONY : test-e2e # # Run e2e tests using clusterctl
165
173
test-e2e : e2e-prerequisites # # Run e2e tests
166
- time $(GINKGO ) --failFast -trace -progress -v -tags=e2e --nodes=$(E2E_GINKGO_PARALLEL ) $(E2E_GINKGO_ARGS ) ./test/e2e/suites/e2e/... -- -config-path=" $( E2E_CONF_PATH) " -artifacts-folder=" $( ARTIFACTS) " --data-folder=" $( E2E_DATA_DIR) " $(E2E_ARGS )
174
+ time $(GINKGO ) --failFast -trace -progress -v -tags=e2e --nodes=$(E2E_GINKGO_PARALLEL ) \
175
+ --focus=" $( E2E_GINKGO_FOCUS) " $(_SKIP_ARGS ) $(E2E_GINKGO_ARGS ) ./test/e2e/suites/e2e/... -- \
176
+ -config-path=" $( E2E_CONF_PATH) " -artifacts-folder=" $( ARTIFACTS) " \
177
+ --data-folder=" $( E2E_DATA_DIR) " $(E2E_ARGS )
167
178
168
179
.PHONY : e2e-image
169
180
e2e-image : CONTROLLER_IMG_TAG = "gcr.io/k8s-staging-capi-openstack/capi-openstack-controller:e2e"
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ import (
62
62
63
63
const specName = "e2e"
64
64
65
- var _ = Describe ("e2e tests" , func () {
65
+ var _ = Describe ("e2e tests [PR-Blocking] " , func () {
66
66
var (
67
67
namespace * corev1.Namespace
68
68
ctx context.Context
You can’t perform that action at this time.
0 commit comments