Skip to content

Commit ae00180

Browse files
authored
backport: rip out dropgz (#3041)
Signed-off-by: Evan Baker <[email protected]>
1 parent 0ab889c commit ae00180

File tree

2 files changed

+2
-74
lines changed

2 files changed

+2
-74
lines changed

.pipelines/pipeline.yaml

-22
Original file line numberDiff line numberDiff line change
@@ -134,20 +134,6 @@ stages:
134134
name: cni
135135
os: windows
136136
os_version: ltsc2022
137-
cni_dropgz_linux_amd64:
138-
arch: amd64
139-
name: cni-dropgz
140-
os: linux
141-
cni_dropgz_windows2019_amd64:
142-
arch: amd64
143-
name: cni-dropgz
144-
os: windows
145-
os_version: ltsc2019
146-
cni_dropgz_windows2022_amd64:
147-
arch: amd64
148-
name: cni-dropgz
149-
os: windows
150-
os_version: ltsc2022
151137
cns_linux_amd64:
152138
arch: amd64
153139
name: cns
@@ -198,10 +184,6 @@ stages:
198184
arch: arm64
199185
name: cni
200186
os: linux
201-
cni_dropgz_linux_arm64:
202-
arch: arm64
203-
name: cni-dropgz
204-
os: linux
205187
cns_linux_arm64:
206188
arch: arm64
207189
name: cns
@@ -275,10 +257,6 @@ stages:
275257
name: cni
276258
os_versions: ltsc2019 ltsc2022
277259
platforms: linux/amd64 linux/arm64 windows/amd64
278-
cni_dropgz:
279-
name: cni-dropgz
280-
os_versions: ltsc2019 ltsc2022
281-
platforms: linux/amd64 linux/arm64 windows/amd64
282260
cns:
283261
name: cns
284262
os_versions: ltsc2019 ltsc2022

Makefile

+2-52
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ endif
3535
REPO_ROOT = $(shell git rev-parse --show-toplevel)
3636
REVISION ?= $(shell git rev-parse --short HEAD)
3737
ACN_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))
3939
AZURE_IPAM_VERSION ?= $(notdir $(shell git describe --match "azure-ipam*" --tags --always))
4040
CNI_VERSION ?= $(ACN_VERSION)
41-
CNI_DROPGZ_VERSION ?= $(notdir $(shell git describe --match "dropgz*" --tags --always))
4241
CNS_VERSION ?= $(ACN_VERSION)
4342
NPM_VERSION ?= $(ACN_VERSION)
4443
ZAPAI_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.
110109
CNI_IMAGE_INFO_FILE = azure-cni-$(CNI_VERSION).txt
111-
CNI_DROPGZ_IMAGE_INFO_FILE = cni-dropgz-$(CNI_DROPGZ_VERSION).txt
112110
CNS_IMAGE_INFO_FILE = azure-cns-$(CNS_VERSION).txt
113111
NPM_IMAGE_INFO_FILE = azure-npm-$(NPM_VERSION).txt
114112

@@ -163,9 +161,6 @@ ipv6-hp-bpf-version: ## prints the ipv6-hp-bpf version
163161
cni-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-
169164
cns-version:
170165
@echo $(CNS_VERSION)
171166

@@ -273,9 +268,8 @@ endif
273268
## Image name definitions.
274269
ACNCLI_IMAGE = acncli
275270
AZURE_IPAM_IMAGE = azure-ipam
276-
IPV6_HP_BPF_IMAGE = ipv6-hp-bpf
271+
IPV6_HP_BPF_IMAGE = ipv6-hp-bpf
277272
CNI_IMAGE = azure-cni
278-
CNI_DROPGZ_IMAGE = cni-dropgz
279273
CNS_IMAGE = azure-cns
280274
NPM_IMAGE = azure-npm
281275

@@ -286,7 +280,6 @@ AZURE_IPAM_WINDOWS_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM))$(if $(OS_VERSION),-$
286280
IPV6_HP_BPF_IMAGE_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM))$(if $(OS_VERSION),-$(OS_VERSION),)-$(IPV6_HP_BPF_VERSION)
287281
CNI_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM))$(if $(OS_VERSION),-$(OS_VERSION),)-$(CNI_VERSION)
288282
CNI_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)
290283
CNS_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM))$(if $(OS_VERSION),-$(OS_VERSION),)-$(CNS_VERSION)
291284
CNS_WINDOWS_PLATFORM_TAG ?= $(subst /,-,$(PLATFORM))$(if $(OS_VERSION),-$(OS_VERSION),)-$(CNS_VERSION)-$(OS_SKU_WIN)
292285
NPM_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

481448
cns-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-
686636
cns-manifest-build: ## build azure-cns multiplat container manifest.
687637
$(MAKE) manifest-build \
688638
PLATFORMS="$(PLATFORMS)" \

0 commit comments

Comments
 (0)