You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#226
* Rename the `install` target to `kind-deploy`
* Remove `uninstall` target
* Rename the `kind-cluster-cleanup` target to `kind-clean`
* Remove the `generate` target from `kind-deploy`
* Swap `e2e`/`test-e2e` targets
* Update help descriptions
* Add `help-extended`,
* Change e2e workflow to use `test-e2e`
Signed-off-by: Todd Short <[email protected]>
Signed-off-by: Todd Short <[email protected]>
build: build-deps go-build-local ## Build manager binary for current GOOS and GOARCH.
171
+
build: build-deps go-build-local ## Build manager binary for current GOOS and GOARCH. Default target.
161
172
go-build-local: BUILDBIN = bin
162
173
go-build-local:
163
174
$(BUILDCMD)
164
175
165
176
.PHONY: build-linux go-build-linux
166
-
build-linux: build-deps go-build-linux ## Build manager binary for GOOS=linux and local GOARCH.
177
+
build-linux: build-deps go-build-linux ### Build manager binary for GOOS=linux and local GOARCH.
167
178
go-build-linux: BUILDBIN = bin/linux
168
179
go-build-linux:
169
180
GOOS=linux $(BUILDCMD)
170
181
171
182
.PHONY: run
172
-
run: docker-build kind-cluster kind-load install## Build the operator-controller then deploy it into a new kind cluster.
183
+
run: docker-build kind-cluster kind-load kind-deploy## Build the operator-controller then deploy it into a new kind cluster.
173
184
174
185
.PHONY: docker-build
175
-
docker-build: build-linux ## Build docker image for operator-controller with GOOS=linux and local GOARCH.
186
+
docker-build: build-linux ### Build docker image for operator-controller with GOOS=linux and local GOARCH.
176
187
docker build -t ${IMG} -f Dockerfile ./bin/linux
177
188
178
-
###########
179
-
# Release #
180
-
###########
181
-
182
189
##@ Release:
190
+
183
191
exportENABLE_RELEASE_PIPELINE ?= false
184
192
exportGORELEASER_ARGS ?= --snapshot --clean
185
193
186
194
.PHONY: release
187
-
release: $(GORELEASER)## Runs goreleaser for the operator-controller. By default, this will run only as a snapshot and will not publish any artifacts unless it is run with different arguments. To override the arguments, run with "GORELEASER_ARGS=...". When run as a github action from a tag, this target will publish a full release.
195
+
release: $(GORELEASER)### Runs goreleaser for the operator-controller. By default, this will run only as a snapshot and will not publish any artifacts unless it is run with different arguments. To override the arguments, run with "GORELEASER_ARGS=...". When run as a github action from a tag, this target will publish a full release.
uninstall: manifests $(KUSTOMIZE)## Uninstall CRDs from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
0 commit comments