From: Alexandru Avadanii Date: Tue, 1 Oct 2019 13:46:55 +0000 (+0200) Subject: mysql: Skip build/push on aarch64 X-Git-Tag: 2.0.0~28 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=ffc875998692929c2e4c0881aec6b68c9f2fbab8;p=validation.git mysql: Skip build/push on aarch64 MySQL 5.6 is not officially available on aarch64 platforms, so skip building/pushing the arm64 artifacts for our mysql container. Change-Id: I21c6ae3cf33d46966e432c53f57cffc80d4d4170 Signed-off-by: Alexandru Avadanii --- diff --git a/docker/build.mk b/docker/build.mk index 2f7d398..4536563 100644 --- a/docker/build.mk +++ b/docker/build.mk @@ -54,7 +54,7 @@ $(MTOOL): . .PHONY: .push_image -.push_image: .build +.push_image:: .build docker push $(REGISTRY)/$(NAME):$(TAG_PRE)-$(HOST_ARCH)-$(TAG_VER) .PHONY: .push_manifest diff --git a/docker/mysql/Makefile b/docker/mysql/Makefile index db91c1e..e45aa7d 100644 --- a/docker/mysql/Makefile +++ b/docker/mysql/Makefile @@ -17,6 +17,18 @@ .PHONY: all all: .push_image .push_manifest +# MySQL 5.6 is not supported on arm64 yet, skip building it for now +ifeq ($(shell uname -m), aarch64) +.PHONY: .build +.build:: + echo "Skipping build on aarch64 platform!" + exit 0 +.PHONY: .push_image +.push_image:: + echo "Skipping push on aarch64 platform!" + exit 0 +endif + .PHONY: build build: .build