3535REPO_ROOT = $(shell git rev-parse --show-toplevel)
3636REVISION ?= $(shell git rev-parse --short HEAD)
3737ACN_VERSION ?= $(shell git describe --exclude "azure-ipam* " --exclude "dropgz* " --exclude "zapai* " --exclude "ipv6-hp-bpf* " --tags --always)
38- IPV6_HP_BPF_VERSION ?= $(notdir $(shell git describe --match "ipv6-hp-bpf* " --tags --always) )
38+ IPV6_HP_BPF_VERSION ?= $(notdir $(shell git describe --match "ipv6-hp-bpf* " --tags --always) )
3939AZURE_IPAM_VERSION ?= $(notdir $(shell git describe --match "azure-ipam* " --tags --always) )
4040CNI_VERSION ?= $(ACN_VERSION )
41- CNI_DROPGZ_VERSION ?= $(notdir $(shell git describe --match "dropgz* " --tags --always) )
4241CNS_VERSION ?= $(ACN_VERSION )
4342NPM_VERSION ?= $(ACN_VERSION )
4443ZAPAI_VERSION ?= $(notdir $(shell git describe --match "zapai* " --tags --always) )
@@ -108,7 +107,6 @@ IPV6_HP_BPF_ARCHIVE_NAME = ipv6-hp-bpf-$(GOOS)-$(GOARCH)-$(IPV6_HP_BPF_VERSION).
108107
109108# Image info file names.
110109CNI_IMAGE_INFO_FILE = azure-cni-$(CNI_VERSION ) .txt
111- CNI_DROPGZ_IMAGE_INFO_FILE = cni-dropgz-$(CNI_DROPGZ_VERSION ) .txt
112110CNS_IMAGE_INFO_FILE = azure-cns-$(CNS_VERSION ) .txt
113111NPM_IMAGE_INFO_FILE = azure-npm-$(NPM_VERSION ) .txt
114112
@@ -163,9 +161,6 @@ ipv6-hp-bpf-version: ## prints the ipv6-hp-bpf version
163161cni-version : # # prints the cni version
164162 @echo $(CNI_VERSION )
165163
166- cni-dropgz-version : # # prints the cni-dropgz version
167- @echo $(CNI_DROPGZ_VERSION )
168-
169164cns-version :
170165 @echo $(CNS_VERSION )
171166
@@ -273,9 +268,8 @@ endif
273268# # Image name definitions.
274269ACNCLI_IMAGE = acncli
275270AZURE_IPAM_IMAGE = azure-ipam
276- IPV6_HP_BPF_IMAGE = ipv6-hp-bpf
271+ IPV6_HP_BPF_IMAGE = ipv6-hp-bpf
277272CNI_IMAGE = azure-cni
278- CNI_DROPGZ_IMAGE = cni-dropgz
279273CNS_IMAGE = azure-cns
280274NPM_IMAGE = azure-npm
281275
@@ -286,7 +280,6 @@ AZURE_IPAM_WINDOWS_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM))$(if $(OS_VERSION),-$
286280IPV6_HP_BPF_IMAGE_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(IPV6_HP_BPF_VERSION )
287281CNI_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(CNI_VERSION )
288282CNI_WINDOWS_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(CNI_VERSION ) -$(OS_SKU_WIN )
289- CNI_DROPGZ_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(CNI_DROPGZ_VERSION )
290283CNS_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(CNS_VERSION )
291284CNS_WINDOWS_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(CNS_VERSION ) -$(OS_SKU_WIN )
292285NPM_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM ) )$(if $(OS_VERSION ) ,-$(OS_VERSION ) ,) -$(NPM_VERSION )
@@ -450,32 +443,6 @@ cni-image-pull: ## pull cni container image.
450443 TAG=$(CNI_PLATFORM_TAG )
451444
452445
453- # cni-dropgz
454-
455- cni-dropgz-image-name : # util target to print the CNI dropgz image name.
456- @echo $(CNI_DROPGZ_IMAGE )
457-
458- cni-dropgz-image-name-and-tag : # util target to print the CNI dropgz image name and tag.
459- @echo $(IMAGE_REGISTRY ) /$(CNI_DROPGZ_IMAGE ) :$(CNI_DROPGZ_PLATFORM_TAG )
460-
461- cni-dropgz-image : # # build cni-dropgz container image.
462- $(MAKE ) container \
463- DOCKERFILE=dropgz/build/$(OS ) .Dockerfile \
464- EXTRA_BUILD_ARGS=' --build-arg OS=$(OS) --build-arg ARCH=$(ARCH) --build-arg OS_VERSION=$(OS_VERSION)' \
465- IMAGE=$(CNI_DROPGZ_IMAGE ) \
466- TAG=$(CNI_DROPGZ_PLATFORM_TAG )
467-
468- cni-dropgz-image-push : # # push cni-dropgz container image.
469- $(MAKE ) container-push \
470- IMAGE=$(CNI_DROPGZ_IMAGE ) \
471- TAG=$(CNI_DROPGZ_PLATFORM_TAG )
472-
473- cni-dropgz-image-pull : # # pull cni-dropgz container image.
474- $(MAKE ) container-pull \
475- IMAGE=$(CNI_DROPGZ_IMAGE ) \
476- TAG=$(CNI_DROPGZ_PLATFORM_TAG )
477-
478-
479446# cns
480447
481448cns-image-name : # util target to print the CNS image name
@@ -666,23 +633,6 @@ cni-skopeo-archive: ## export tar archive of cni multiplat container manifest.
666633 IMAGE=$(CNI_IMAGE ) \
667634 TAG=$(CNI_VERSION )
668635
669- cni-dropgz-manifest-build : # # build cni-dropgz multiplat container manifest.
670- $(MAKE ) manifest-build \
671- PLATFORMS=" $( PLATFORMS) " \
672- IMAGE=$(CNI_DROPGZ_IMAGE ) \
673- TAG=$(CNI_DROPGZ_VERSION ) \
674- OS_VERSIONS=" $( OS_VERSIONS) "
675-
676- cni-dropgz-manifest-push : # # push cni-dropgz multiplat container manifest
677- $(MAKE ) manifest-push \
678- IMAGE=$(CNI_DROPGZ_IMAGE ) \
679- TAG=$(CNI_DROPGZ_VERSION )
680-
681- cni-dropgz-skopeo-archive : # # export tar archive of cni-dropgz multiplat container manifest.
682- $(MAKE ) manifest-skopeo-archive \
683- IMAGE=$(CNI_DROPGZ_IMAGE ) \
684- TAG=$(CNI_DROPGZ_VERSION )
685-
686636cns-manifest-build : # # build azure-cns multiplat container manifest.
687637 $(MAKE ) manifest-build \
688638 PLATFORMS=" $( PLATFORMS) " \
0 commit comments