Skip to content

Commit ce3a767

Browse files
authored
refactor: change './bin' to 'LOCALBIN' (#6655)
* refactor: change './bin' to 'LOCALBIN' avoid hardcoded tool binary variables Signed-off-by: GitHub <[email protected]> * auto bump Copyright to 2024 'make generate' also change every Copyright 2023 to 2024, add a separate commit for reviewer to review easily Signed-off-by: GitHub <[email protected]> * fix dead link error Signed-off-by: GitHub <[email protected]> --------- Signed-off-by: GitHub <[email protected]>
1 parent c557c54 commit ce3a767

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+62
-62
lines changed

internal/plugins/manifests/v2/init.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ endif
204204

205205
makefileSDKFragmentNonGo = `
206206
.PHONY: operator-sdk
207-
OPERATOR_SDK ?= ./bin/operator-sdk
207+
OPERATOR_SDK ?= $(LOCALBIN)/operator-sdk
208208
operator-sdk: ## Download operator-sdk locally if necessary.
209209
ifeq (,$(wildcard $(OPERATOR_SDK)))
210210
ifeq (, $(shell which operator-sdk 2>/dev/null))
@@ -250,7 +250,7 @@ bundle-push: ## Push the bundle image.
250250

251251
makefileOPMFragmentGo = `
252252
.PHONY: opm
253-
OPM = ./bin/opm
253+
OPM = $(LOCALBIN)/opm
254254
opm: ## Download opm locally if necessary.
255255
ifeq (,$(wildcard $(OPM)))
256256
ifeq (,$(shell which opm 2>/dev/null))
@@ -269,7 +269,7 @@ endif
269269

270270
makefileOPMFragmentNonGo = `
271271
.PHONY: opm
272-
OPM = ./bin/opm
272+
OPM = $(LOCALBIN)/opm
273273
opm: ## Download opm locally if necessary.
274274
ifeq (,$(wildcard $(OPM)))
275275
ifeq (,$(shell which opm 2>/dev/null))

testdata/go/v3/memcached-operator/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ bundle-push: ## Push the bundle image.
243243
$(MAKE) docker-push IMG=$(BUNDLE_IMG)
244244

245245
.PHONY: opm
246-
OPM = ./bin/opm
246+
OPM = $(LOCALBIN)/opm
247247
opm: ## Download opm locally if necessary.
248248
ifeq (,$(wildcard $(OPM)))
249249
ifeq (,$(shell which opm 2>/dev/null))

testdata/go/v3/memcached-operator/README.md

Lines changed: 1 addition & 1 deletion

testdata/go/v3/memcached-operator/api/v1alpha1/groupversion_info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2023.
2+
Copyright 2024.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

testdata/go/v3/memcached-operator/api/v1alpha1/memcached_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2023.
2+
Copyright 2024.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

testdata/go/v3/memcached-operator/api/v1alpha1/memcached_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2023.
2+
Copyright 2024.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

testdata/go/v3/memcached-operator/api/v1alpha1/webhook_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2023.
2+
Copyright 2024.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

testdata/go/v3/memcached-operator/api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

testdata/go/v3/memcached-operator/controllers/memcached_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2023.
2+
Copyright 2024.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

testdata/go/v3/memcached-operator/controllers/memcached_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2023.
2+
Copyright 2024.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)