Skip to content

Commit

Permalink
ci: Disable ARM builds for now (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
mowies authored and Thomas Schuetz committed Oct 4, 2022
1 parent 6ed3423 commit ffed0de
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions functions-runtime/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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} ;\
Expand Down
8 changes: 4 additions & 4 deletions operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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} ;\
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions scheduler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ffed0de

Please sign in to comment.