File tree 7 files changed +21
-21
lines changed
cronjob-tutorial/testdata/project
getting-started/testdata/project
multiversion-tutorial/testdata/project
pkg/plugins/golang/v4/scaffolds/internal/templates
7 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -69,18 +69,18 @@ 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
+ KIND_CLUSTER ?= kind
73
73
.PHONY : test-e2e
74
74
test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
75
75
@command -v $(KIND ) > /dev/null 2>&1 || { \
76
76
echo " Kind is not installed. Please install Kind manually." ; \
77
77
exit 1; \
78
78
}
79
- @$(KIND ) get clusters | grep -q ' $(KIND_CLUSTER_NAME )' || { \
79
+ @$(KIND ) get clusters | grep -q ' $(KIND_CLUSTER )' || { \
80
80
echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
81
81
exit 1; \
82
82
}
83
- go test ./test/e2e/ -v -ginkgo.v
83
+ KIND_CLUSTER= $( KIND_CLUSTER ) go test ./test/e2e/ -v -ginkgo.v
84
84
85
85
.PHONY : lint
86
86
lint : golangci-lint # # Run golangci-lint linter
Original file line number Diff line number Diff line change @@ -65,18 +65,18 @@ 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
+ KIND_CLUSTER ?= kind
69
69
.PHONY : test-e2e
70
70
test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
71
71
@command -v $(KIND ) > /dev/null 2>&1 || { \
72
72
echo " Kind is not installed. Please install Kind manually." ; \
73
73
exit 1; \
74
74
}
75
- @$(KIND ) get clusters | grep -q ' $(KIND_CLUSTER_NAME )' || { \
75
+ @$(KIND ) get clusters | grep -q ' $(KIND_CLUSTER )' || { \
76
76
echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
77
77
exit 1; \
78
78
}
79
- go test ./test/e2e/ -v -ginkgo.v
79
+ KIND_CLUSTER= $( KIND_CLUSTER ) go test ./test/e2e/ -v -ginkgo.v
80
80
81
81
.PHONY : lint
82
82
lint : golangci-lint # # Run golangci-lint linter
Original file line number Diff line number Diff line change @@ -69,18 +69,18 @@ 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
+ KIND_CLUSTER ?= kind
73
73
.PHONY : test-e2e
74
74
test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
75
75
@command -v $(KIND ) > /dev/null 2>&1 || { \
76
76
echo " Kind is not installed. Please install Kind manually." ; \
77
77
exit 1; \
78
78
}
79
- @$(KIND ) get clusters | grep -q ' $(KIND_CLUSTER_NAME )' || { \
79
+ @$(KIND ) get clusters | grep -q ' $(KIND_CLUSTER )' || { \
80
80
echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
81
81
exit 1; \
82
82
}
83
- go test ./test/e2e/ -v -ginkgo.v
83
+ KIND_CLUSTER= $( KIND_CLUSTER ) go test ./test/e2e/ -v -ginkgo.v
84
84
85
85
.PHONY : lint
86
86
lint : golangci-lint # # Run golangci-lint linter
Original file line number Diff line number Diff line change @@ -144,18 +144,18 @@ 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
+ KIND_CLUSTER ?= kind
148
148
.PHONY: test-e2e
149
149
test-e2e: manifests generate fmt vet ## Run the e2e tests. Expected an isolated environment using Kind.
150
150
@command -v $(KIND) >/dev/null 2>&1 || { \
151
151
echo "Kind is not installed. Please install Kind manually."; \
152
152
exit 1; \
153
153
}
154
- @$(KIND) get clusters | grep -q '$(KIND_CLUSTER_NAME )' || { \
154
+ @$(KIND) get clusters | grep -q '$(KIND_CLUSTER )' || { \
155
155
echo "No Kind cluster is running. Please start a Kind cluster before running the e2e tests."; \
156
156
exit 1; \
157
157
}
158
- go test ./test/e2e/ -v -ginkgo.v
158
+ KIND_CLUSTER=$(KIND_CLUSTER) go test ./test/e2e/ -v -ginkgo.v
159
159
160
160
.PHONY: lint
161
161
lint: golangci-lint ## Run golangci-lint linter
Original file line number Diff line number Diff line change @@ -65,18 +65,18 @@ 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
+ KIND_CLUSTER ?= kind
69
69
.PHONY : test-e2e
70
70
test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
71
71
@command -v $(KIND ) > /dev/null 2>&1 || { \
72
72
echo " Kind is not installed. Please install Kind manually." ; \
73
73
exit 1; \
74
74
}
75
- @$(KIND ) get clusters | grep -q ' $(KIND_CLUSTER_NAME )' || { \
75
+ @$(KIND ) get clusters | grep -q ' $(KIND_CLUSTER )' || { \
76
76
echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
77
77
exit 1; \
78
78
}
79
- go test ./test/e2e/ -v -ginkgo.v
79
+ KIND_CLUSTER= $( KIND_CLUSTER ) go test ./test/e2e/ -v -ginkgo.v
80
80
81
81
.PHONY : lint
82
82
lint : golangci-lint # # Run golangci-lint linter
Original file line number Diff line number Diff line change @@ -65,18 +65,18 @@ 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
+ KIND_CLUSTER ?= kind
69
69
.PHONY : test-e2e
70
70
test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
71
71
@command -v $(KIND ) > /dev/null 2>&1 || { \
72
72
echo " Kind is not installed. Please install Kind manually." ; \
73
73
exit 1; \
74
74
}
75
- @$(KIND ) get clusters | grep -q ' $(KIND_CLUSTER_NAME )' || { \
75
+ @$(KIND ) get clusters | grep -q ' $(KIND_CLUSTER )' || { \
76
76
echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
77
77
exit 1; \
78
78
}
79
- go test ./test/e2e/ -v -ginkgo.v
79
+ KIND_CLUSTER= $( KIND_CLUSTER ) go test ./test/e2e/ -v -ginkgo.v
80
80
81
81
.PHONY : lint
82
82
lint : golangci-lint # # Run golangci-lint linter
Original file line number Diff line number Diff line change @@ -65,18 +65,18 @@ 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
+ KIND_CLUSTER ?= kind
69
69
.PHONY : test-e2e
70
70
test-e2e : manifests generate fmt vet # # Run the e2e tests. Expected an isolated environment using Kind.
71
71
@command -v $(KIND ) > /dev/null 2>&1 || { \
72
72
echo " Kind is not installed. Please install Kind manually." ; \
73
73
exit 1; \
74
74
}
75
- @$(KIND ) get clusters | grep -q ' $(KIND_CLUSTER_NAME )' || { \
75
+ @$(KIND ) get clusters | grep -q ' $(KIND_CLUSTER )' || { \
76
76
echo " No Kind cluster is running. Please start a Kind cluster before running the e2e tests." ; \
77
77
exit 1; \
78
78
}
79
- go test ./test/e2e/ -v -ginkgo.v
79
+ KIND_CLUSTER= $( KIND_CLUSTER ) go test ./test/e2e/ -v -ginkgo.v
80
80
81
81
.PHONY : lint
82
82
lint : golangci-lint # # Run golangci-lint linter
You can’t perform that action at this time.
0 commit comments