3636REPO_ROOT = $(shell git rev-parse --show-toplevel)
3737REVISION ?= $(shell git rev-parse --short HEAD)
3838ACN_VERSION ?= $(shell git describe --exclude "azure-ipam* " --exclude "dropgz* " --exclude "zapai* " --exclude "ipv6-hp-bpf* " --tags --always)
39- IPV6_HP_BPF_VERSION ?= $(notdir $(shell git describe --match "ipv6-hp-bpf* " --tags --always) )
39+ IPV6_HP_BPF_VERSION ?= $(notdir $(shell git describe --match "ipv6-hp-bpf* " --tags --always) )
4040AZURE_IPAM_VERSION ?= $(notdir $(shell git describe --match "azure-ipam* " --tags --always) )
4141CNI_VERSION ?= $(ACN_VERSION )
42- CNI_DROPGZ_VERSION ?= $(notdir $(shell git describe --match "dropgz* " --tags --always) )
4342CNS_VERSION ?= $(ACN_VERSION )
4443NPM_VERSION ?= $(ACN_VERSION )
4544ZAPAI_VERSION ?= $(notdir $(shell git describe --match "zapai* " --tags --always) )
@@ -109,7 +108,6 @@ IPV6_HP_BPF_ARCHIVE_NAME = ipv6-hp-bpf-$(GOOS)-$(GOARCH)-$(IPV6_HP_BPF_VERSION).
109108
110109# Image info file names.
111110CNI_IMAGE_INFO_FILE = azure-cni-$(CNI_VERSION ) .txt
112- CNI_DROPGZ_IMAGE_INFO_FILE = cni-dropgz-$(CNI_DROPGZ_VERSION ) .txt
113111CNS_IMAGE_INFO_FILE = azure-cns-$(CNS_VERSION ) .txt
114112NPM_IMAGE_INFO_FILE = azure-npm-$(NPM_VERSION ) .txt
115113
@@ -159,9 +157,6 @@ ipv6-hp-bpf-version: ## prints the ipv6-hp-bpf version
159157cni-version : # # prints the cni version
160158 @echo $(CNI_VERSION )
161159
162- cni-dropgz-version : # # prints the cni-dropgz version
163- @echo $(CNI_DROPGZ_VERSION )
164-
165160cns-version :
166161 @echo $(CNS_VERSION )
167162
@@ -267,7 +262,6 @@ ACNCLI_IMAGE = acncli
267262AZURE_IPAM_IMAGE = azure-ipam
268263IPV6_HP_BPF_IMAGE = ipv6-hp-bpf
269264CNI_IMAGE = azure-cni
270- CNI_DROPGZ_IMAGE = cni-dropgz
271265CNS_IMAGE = azure-cns
272266NPM_IMAGE = azure-npm
273267
@@ -278,7 +272,6 @@ AZURE_IPAM_WINDOWS_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM))$(if $(OS_VERSION),-$
278272IPV6_HP_BPF_IMAGE_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(IPV6_HP_BPF_VERSION )
279273CNI_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(CNI_VERSION )
280274CNI_WINDOWS_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(CNI_VERSION ) -$(OS_SKU_WIN )
281- CNI_DROPGZ_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(CNI_DROPGZ_VERSION )
282275CNS_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(CNS_VERSION )
283276CNS_WINDOWS_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(CNS_VERSION ) -$(OS_SKU_WIN )
284277NPM_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(NPM_VERSION )
@@ -456,32 +449,6 @@ cni-image-pull: ## pull cni container image.
456449 TAG=$(CNI_PLATFORM_TAG )
457450
458451
459- # cni-dropgz
460-
461- cni-dropgz-image-name : # util target to print the CNI dropgz image name.
462- @echo $(CNI_DROPGZ_IMAGE )
463-
464- cni-dropgz-image-name-and-tag : # util target to print the CNI dropgz image name and tag.
465- @echo $(IMAGE_REGISTRY ) /$(CNI_DROPGZ_IMAGE ) :$(CNI_DROPGZ_PLATFORM_TAG )
466-
467- cni-dropgz-image : # # build cni-dropgz container image.
468- $(MAKE ) container \
469- DOCKERFILE=dropgz/build/$(OS ) .Dockerfile \
470- IMAGE=$(CNI_DROPGZ_IMAGE ) \
471- TAG=$(CNI_DROPGZ_PLATFORM_TAG ) \
472- TARGET=$(OS )
473-
474- cni-dropgz-image-push : # # push cni-dropgz container image.
475- $(MAKE ) container-push \
476- IMAGE=$(CNI_DROPGZ_IMAGE ) \
477- TAG=$(CNI_DROPGZ_PLATFORM_TAG )
478-
479- cni-dropgz-image-pull : # # pull cni-dropgz container image.
480- $(MAKE ) container-pull \
481- IMAGE=$(CNI_DROPGZ_IMAGE ) \
482- TAG=$(CNI_DROPGZ_PLATFORM_TAG )
483-
484-
485452# cns
486453
487454cns-image-name : # util target to print the CNS image name
@@ -638,23 +605,6 @@ cni-skopeo-archive: ## export tar archive of cni multiplat container manifest.
638605 IMAGE=$(CNI_IMAGE ) \
639606 TAG=$(CNI_VERSION )
640607
641- cni-dropgz-manifest-build : # # build cni-dropgz multiplat container manifest.
642- $(MAKE ) manifest-build \
643- PLATFORMS=" $( PLATFORMS) " \
644- IMAGE=$(CNI_DROPGZ_IMAGE ) \
645- TAG=$(CNI_DROPGZ_VERSION ) \
646- OS_VERSIONS=" $( OS_VERSIONS) "
647-
648- cni-dropgz-manifest-push : # # push cni-dropgz multiplat container manifest
649- $(MAKE ) manifest-push \
650- IMAGE=$(CNI_DROPGZ_IMAGE ) \
651- TAG=$(CNI_DROPGZ_VERSION )
652-
653- cni-dropgz-skopeo-archive : # # export tar archive of cni-dropgz multiplat container manifest.
654- $(MAKE ) manifest-skopeo-archive \
655- IMAGE=$(CNI_DROPGZ_IMAGE ) \
656- TAG=$(CNI_DROPGZ_VERSION )
657-
658608cns-manifest-build : # # build azure-cns multiplat container manifest.
659609 $(MAKE ) manifest-build \
660610 PLATFORMS=" $( PLATFORMS) " \
0 commit comments