From ffed0dec784dedefed08e68acf75430cb5c378d2 Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger Date: Tue, 4 Oct 2022 11:17:23 +0200 Subject: [PATCH] ci: Disable ARM builds for now (#95) --- functions-runtime/Makefile | 6 +++--- operator/Makefile | 8 ++++---- scheduler/Makefile | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/functions-runtime/Makefile b/functions-runtime/Makefile index b1d1ad0fc5d..85c6e3a74f4 100644 --- a/functions-runtime/Makefile +++ b/functions-runtime/Makefile @@ -5,7 +5,7 @@ RELEASE_VERSION?=$(shell date +%Y%m%d%s)-v0.24.3#$(shell git describe --tags --m TAG?=latest RELEASE_IMAGE:=functions-runtime:$(TAG) -ARCHS = amd64 arm64 +ARCHS = amd64 COMMONENVVAR=GOOS=$(shell uname -s | tr A-Z a-z) BUILDENVVAR=CGO_ENABLED=0 @@ -19,7 +19,7 @@ VERSION=$(shell echo $(RELEASE_VERSION) | awk -F - '{print $$2}') build-and-push-image: release-image push-release-images .PHONY: release-image -release-image: release-image.amd64 release-image.arm64v8 +release-image: release-image.amd64 .PHONY: release-image.amd64 release-image.amd64: clean @@ -30,7 +30,7 @@ release-image.arm64v8: clean docker build --load --no-cache --build-arg ARCH="arm64v8" -t $(RELEASE_REGISTRY)/$(RELEASE_IMAGE)-arm64 . .PHONY: push-release-images -push-release-images: release-image.amd64 release-image.arm64v8 +push-release-images: #gcloud auth configure-docker for arch in $(ARCHS); do \ docker push $(RELEASE_REGISTRY)/$(RELEASE_IMAGE)-$${arch} ;\ diff --git a/operator/Makefile b/operator/Makefile index 334c1854720..032c03cd41b 100644 --- a/operator/Makefile +++ b/operator/Makefile @@ -8,7 +8,7 @@ RELEASE_VERSION?=$(shell date +%Y%m%d%s)-v0.24.3#$(shell git describe --tags --m TAG?=latest RELEASE_IMAGE:=keptn-lifecycle-operator:$(TAG) -ARCHS = amd64 arm64 +ARCHS = amd64 COMMONENVVAR=GOOS=$(shell uname -s | tr A-Z a-z) BUILDENVVAR=CGO_ENABLED=0 @@ -158,7 +158,7 @@ $(ENVTEST): $(LOCALBIN) build-and-push-image: release-image push-release-images .PHONY: release-image -release-image: release-image.amd64 release-image.arm64v8 +release-image: release-image.amd64 .PHONY: release-image.amd64 release-image.amd64: clean @@ -169,7 +169,7 @@ release-image.arm64v8: clean docker build --load --build-arg ARCH="arm64v8" --build-arg RELEASE_VERSION="$(RELEASE_VERSION)" -t $(RELEASE_REGISTRY)/$(RELEASE_IMAGE)-arm64 . .PHONY: push-release-images -push-release-images: release-image.amd64 release-image.arm64v8 +push-release-images: #gcloud auth configure-docker for arch in $(ARCHS); do \ docker push $(RELEASE_REGISTRY)/$(RELEASE_IMAGE)-$${arch} ;\ @@ -191,7 +191,7 @@ clean: build-and-push-local: release-local .PHONY: release-local -release-local: release-local.amd64 release-local.arm64v8 +release-local: release-local.amd64 for arch in $(ARCHS); do \ docker push $(RELEASE_REGISTRY)/$(RELEASE_IMAGE)-$${arch} ;\ done diff --git a/scheduler/Makefile b/scheduler/Makefile index 7c2a6ef9d2f..41d5c5fc2db 100644 --- a/scheduler/Makefile +++ b/scheduler/Makefile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -ARCHS = amd64 arm64 +ARCHS = amd64 COMMONENVVAR=GOOS=$(shell uname -s | tr A-Z a-z) BUILDENVVAR=CGO_ENABLED=0 TAG?=latest @@ -114,7 +114,7 @@ local-image: clean build-and-push-image: release-image push-release-images .PHONY: release-image -release-image: release-image.amd64 release-image.arm64v8 +release-image: release-image.amd64 .PHONY: release-image.amd64 release-image.amd64: clean @@ -125,7 +125,7 @@ release-image.arm64v8: clean docker build --load --build-arg ARCH="arm64v8" --build-arg RELEASE_VERSION="$(RELEASE_VERSION)" -t $(RELEASE_REGISTRY)/$(RELEASE_IMAGE)-arm64 . .PHONY: push-release-images -push-release-images: release-image.amd64 release-image.arm64v8 +push-release-images: for arch in $(ARCHS); do \ docker push $(RELEASE_REGISTRY)/$(RELEASE_IMAGE)-$${arch} ;\ done @@ -146,7 +146,7 @@ clean: build-and-push-local: release-local .PHONY: release-local -release-local: release-local.amd64 release-local.arm64v8 +release-local: release-local.amd64 for arch in $(ARCHS); do \ docker push $(RELEASE_REGISTRY)/$(RELEASE_IMAGE)-$${arch} ;\ done