File tree 7 files changed +14
-7
lines changed
cronjob-tutorial/testdata/project
getting-started/testdata/project
multiversion-tutorial/testdata/project
pkg/plugins/golang/v4/scaffolds/internal/templates
7 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -69,13 +69,14 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
69
69
# The default setup assumes Kind is pre-installed and builds/loads the Manager Docker image locally.
70
70
# CertManager is installed by default; skip with:
71
71
# - CERT_MANAGER_INSTALL_SKIP=true
72
+ KIND_CLUSTER_NAME ?= kind
72
73
.PHONY : test-e2e
73
74
test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
74
75
@command -v kind > /dev/null 2>&1 || { \
75
76
echo " Kind is not installed. Please install Kind manually." ; \
76
77
exit 1; \
77
78
}
78
- @kind get clusters | grep -q ' kind ' || { \
79
+ @kind get clusters | grep -q ' $(KIND_CLUSTER_NAME) ' || { \
79
80
echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
80
81
exit 1; \
81
82
}
Original file line number Diff line number Diff line change @@ -65,13 +65,14 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
65
65
# The default setup assumes Kind is pre-installed and builds/loads the Manager Docker image locally.
66
66
# CertManager is installed by default; skip with:
67
67
# - CERT_MANAGER_INSTALL_SKIP=true
68
+ KIND_CLUSTER_NAME ?= kind
68
69
.PHONY : test-e2e
69
70
test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
70
71
@command -v kind > /dev/null 2>&1 || { \
71
72
echo " Kind is not installed. Please install Kind manually." ; \
72
73
exit 1; \
73
74
}
74
- @kind get clusters | grep -q ' kind ' || { \
75
+ @kind get clusters | grep -q ' $(KIND_CLUSTER_NAME) ' || { \
75
76
echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
76
77
exit 1; \
77
78
}
Original file line number Diff line number Diff line change @@ -69,13 +69,14 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
69
69
# The default setup assumes Kind is pre-installed and builds/loads the Manager Docker image locally.
70
70
# CertManager is installed by default; skip with:
71
71
# - CERT_MANAGER_INSTALL_SKIP=true
72
+ KIND_CLUSTER_NAME ?= kind
72
73
.PHONY : test-e2e
73
74
test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
74
75
@command -v kind > /dev/null 2>&1 || { \
75
76
echo " Kind is not installed. Please install Kind manually." ; \
76
77
exit 1; \
77
78
}
78
- @kind get clusters | grep -q ' kind ' || { \
79
+ @kind get clusters | grep -q ' $(KIND_CLUSTER_NAME) ' || { \
79
80
echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
80
81
exit 1; \
81
82
}
Original file line number Diff line number Diff line change @@ -144,13 +144,14 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
144
144
# The default setup assumes Kind is pre-installed and builds/loads the Manager Docker image locally.
145
145
# CertManager is installed by default; skip with:
146
146
# - CERT_MANAGER_INSTALL_SKIP=true
147
+ KIND_CLUSTER_NAME ?= kind
147
148
.PHONY: test-e2e
148
149
test-e2e: manifests generate fmt vet ## Run the e2e tests. Expected an isolated environment using Kind.
149
150
@command -v kind >/dev/null 2>&1 || { \
150
151
echo "Kind is not installed. Please install Kind manually."; \
151
152
exit 1; \
152
153
}
153
- @kind get clusters | grep -q 'kind ' || { \
154
+ @kind get clusters | grep -q '$(KIND_CLUSTER_NAME) ' || { \
154
155
echo "No Kind cluster is running. Please start a Kind cluster before running the e2e tests."; \
155
156
exit 1; \
156
157
}
Original file line number Diff line number Diff line change @@ -65,13 +65,14 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
65
65
# The default setup assumes Kind is pre-installed and builds/loads the Manager Docker image locally.
66
66
# CertManager is installed by default; skip with:
67
67
# - CERT_MANAGER_INSTALL_SKIP=true
68
+ KIND_CLUSTER_NAME ?= kind
68
69
.PHONY : test-e2e
69
70
test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
70
71
@command -v kind > /dev/null 2>&1 || { \
71
72
echo " Kind is not installed. Please install Kind manually." ; \
72
73
exit 1; \
73
74
}
74
- @kind get clusters | grep -q ' kind ' || { \
75
+ @kind get clusters | grep -q ' $(KIND_CLUSTER_NAME) ' || { \
75
76
echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
76
77
exit 1; \
77
78
}
Original file line number Diff line number Diff line change @@ -65,13 +65,14 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
65
65
# The default setup assumes Kind is pre-installed and builds/loads the Manager Docker image locally.
66
66
# CertManager is installed by default; skip with:
67
67
# - CERT_MANAGER_INSTALL_SKIP=true
68
+ KIND_CLUSTER_NAME ?= kind
68
69
.PHONY : test-e2e
69
70
test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
70
71
@command -v kind > /dev/null 2>&1 || { \
71
72
echo " Kind is not installed. Please install Kind manually." ; \
72
73
exit 1; \
73
74
}
74
- @kind get clusters | grep -q ' kind ' || { \
75
+ @kind get clusters | grep -q ' $(KIND_CLUSTER_NAME) ' || { \
75
76
echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
76
77
exit 1; \
77
78
}
Original file line number Diff line number Diff line change @@ -65,13 +65,14 @@ test: manifests generate fmt vet setup-envtest ## Run tests.
65
65
# The default setup assumes Kind is pre-installed and builds/loads the Manager Docker image locally.
66
66
# CertManager is installed by default; skip with:
67
67
# - CERT_MANAGER_INSTALL_SKIP=true
68
+ KIND_CLUSTER_NAME ?= kind
68
69
.PHONY : test-e2e
69
70
test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
70
71
@command -v kind > /dev/null 2>&1 || { \
71
72
echo " Kind is not installed. Please install Kind manually." ; \
72
73
exit 1; \
73
74
}
74
- @kind get clusters | grep -q ' kind ' || { \
75
+ @kind get clusters | grep -q ' $(KIND_CLUSTER_NAME) ' || { \
75
76
echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
76
77
exit 1; \
77
78
}
You can’t perform that action at this time.
0 commit comments