@@ -140,7 +140,7 @@ azure-ipam: azure-ipam-binary azure-ipam-archive
140
140
141
141
revision : # # print the current git revision
142
142
@echo $(REVISION )
143
-
143
+
144
144
version : # # prints the root version
145
145
@echo $(ACN_VERSION )
146
146
@@ -159,15 +159,15 @@ cni-dropgz-test-version: ## prints the cni-dropgz version
159
159
@echo $(CNI_DROPGZ_TEST_VERSION )
160
160
161
161
cns-version :
162
- @echo $(CNS_VERSION )
162
+ @echo $(CNS_VERSION )
163
163
164
164
npm-version :
165
- @echo $(NPM_VERSION )
165
+ @echo $(NPM_VERSION )
166
166
167
167
zapai-version : # # prints the zapai version
168
168
@echo $(ZAPAI_VERSION )
169
169
170
- # #@ Binaries
170
+ # #@ Binaries
171
171
172
172
# Build the delegated IPAM plugin binary.
173
173
azure-ipam-binary :
@@ -507,8 +507,8 @@ manifest-build: # util target to compose multiarch container manifests from plat
507
507
$(MAKE ) manifest-add PLATFORM=$(PLATFORM ) ; \
508
508
)\
509
509
)\
510
-
511
-
510
+
511
+
512
512
513
513
manifest-push : # util target to push multiarch container manifest.
514
514
$(CONTAINER_BUILDER ) manifest push --all $(IMAGE_REGISTRY ) /$(IMAGE ) :$(TAG ) docker://$(IMAGE_REGISTRY ) /$(IMAGE ) :$(TAG )
@@ -532,7 +532,7 @@ acncli-manifest-push: ## push acncli multiplat container manifest
532
532
acncli-skopeo-archive : # # export tar archive of acncli multiplat container manifest.
533
533
$(MAKE ) manifest-skopeo-archive \
534
534
IMAGE=$(ACNCLI_IMAGE ) \
535
- TAG=$(ACN_VERSION )
535
+ TAG=$(ACN_VERSION )
536
536
537
537
cni-dropgz-manifest-build : # # build cni-dropgz multiplat container manifest.
538
538
$(MAKE ) manifest-build \
@@ -684,7 +684,7 @@ ifeq ($(GOOS),linux)
684
684
endif
685
685
686
686
687
- # #@ Utils
687
+ # #@ Utils
688
688
689
689
clean : # # Clean build artifacts.
690
690
$(RMDIR ) $(OUTPUT_DIR )
@@ -715,7 +715,7 @@ workspace: ## Set up the Go workspace.
715
715
go work use ./dropgz
716
716
go work use ./zapai
717
717
718
- # #@ Test
718
+ # #@ Test
719
719
720
720
COVER_PKG ?= .
721
721
# Restart case is used for cni load test pipeline for restarting the nodes cluster.
@@ -773,7 +773,7 @@ gitconfig: ## configure the local git repository
773
773
setup : tools install-hooks gitconfig # # performs common required repo setup
774
774
775
775
776
- # #@ Tools
776
+ # #@ Tools
777
777
778
778
$(TOOLS_DIR ) /go.mod :
779
779
cd $(TOOLS_DIR ) ; go mod init && go mod tidy
@@ -783,7 +783,7 @@ $(CONTROLLER_GEN): $(TOOLS_DIR)/go.mod
783
783
784
784
controller-gen : $(CONTROLLER_GEN ) # # Build controller-gen
785
785
786
- protoc :
786
+ protoc :
787
787
source ${REPO_ROOT} /scripts/install-protoc.sh
788
788
789
789
$(GOCOV ) : $(TOOLS_DIR ) /go.mod
@@ -816,13 +816,13 @@ $(MOCKGEN): $(TOOLS_DIR)/go.mod
816
816
817
817
mockgen : $(MOCKGEN ) # # Build mockgen
818
818
819
- clean-tools :
819
+ clean-tools :
820
820
rm -r build/tools/bin
821
821
822
822
tools : acncli gocov gocov-xml go-junit-report golangci-lint gofumpt protoc # # Build bins for build tools
823
823
824
824
825
- # #@ Help
825
+ # #@ Help
826
826
827
827
help : # # Display this help
828
828
@awk ' BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST )
0 commit comments