From 3737b3644da5742c94639a9eb1c7d630cd7d1e2f Mon Sep 17 00:00:00 2001 From: zhanghongtong Date: Wed, 26 May 2021 15:25:07 +0800 Subject: [PATCH] chore(build): no longer support ppc64le --- .github/workflows/build_packages.yaml | 4 ++-- Makefile | 12 ++++++------ deploy/docker/README.md | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_packages.yaml b/.github/workflows/build_packages.yaml index 3973766b9d..bf202c6450 100644 --- a/.github/workflows/build_packages.yaml +++ b/.github/workflows/build_packages.yaml @@ -212,7 +212,7 @@ jobs: set -e -u -x echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USER }} --password-stdin docker buildx build --no-cache \ - --platform=linux/amd64,linux/arm64,linux/arm/v7,linux/386,linux/ppc64le \ + --platform=linux/amd64,linux/arm64,linux/arm/v7,linux/386 \ -t emqx/kuiper:$(git describe --tags --always) \ -f deploy/docker/Dockerfile . \ --push @@ -224,7 +224,7 @@ jobs: set -e -u -x echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USER }} --password-stdin docker buildx build --no-cache \ - --platform=linux/amd64,linux/arm64,linux/arm/v7,linux/386,linux/ppc64le \ + --platform=linux/amd64,linux/arm64,linux/arm/v7,linux/386 \ -t emqx/kuiper:$(git describe --tags --always)-$SUFFIX \ -f deploy/docker/Dockerfile-$SUFFIX . \ --push diff --git a/Makefile b/Makefile index 77edfb92fe..f3ab3120d1 100644 --- a/Makefile +++ b/Makefile @@ -117,19 +117,19 @@ docker: .PHONY:cross_docker cross_docker: cross_prepare docker buildx build --no-cache \ - --platform=linux/amd64,linux/arm64,linux/arm/v7,linux/386,linux/ppc64le \ + --platform=linux/amd64,linux/arm64,linux/arm/v7,linux/386 \ -t $(TARGET):$(VERSION) \ -f deploy/docker/Dockerfile . \ --push docker buildx build --no-cache \ - --platform=linux/amd64,linux/arm64,linux/arm/v7,linux/386,linux/ppc64le \ + --platform=linux/amd64,linux/arm64,linux/arm/v7,linux/386 \ -t $(TARGET):$(VERSION)-slim \ -f deploy/docker/Dockerfile-slim . \ --push docker buildx build --no-cache \ - --platform=linux/amd64,linux/arm64,linux/arm/v7,linux/386,linux/ppc64le \ + --platform=linux/amd64,linux/arm64,linux/arm/v7,linux/386 \ -t $(TARGET):$(VERSION)-alpine \ -f deploy/docker/Dockerfile-alpine . \ --push @@ -184,7 +184,7 @@ $(PLUGINS): PLUGIN_TYPE = $(word 1, $(subst /, , $@)) $(PLUGINS): PLUGIN_NAME = $(word 2, $(subst /, , $@)) $(PLUGINS): @docker buildx build --no-cache \ - --platform=linux/amd64,linux/arm64,linux/arm/v7,linux/386,linux/ppc64le \ + --platform=linux/amd64,linux/arm64,linux/arm/v7,linux/386 \ -t cross_build \ --build-arg VERSION=$(VERSION) \ --build-arg PLUGIN_TYPE=$(PLUGIN_TYPE)\ @@ -193,7 +193,7 @@ $(PLUGINS): -f .ci/Dockerfile-plugins . @mkdir -p _plugins/debian/$(PLUGIN_TYPE) - @for arch in amd64 arm64 arm_v7 386 ppc64le; do \ + @for arch in amd64 arm64 arm_v7 386; do \ tar -xvf /tmp/cross_build_plugins_$(PLUGIN_TYPE)_$(PLUGIN_NAME).tar --wildcards "linux_$${arch}/go/kuiper/plugins/$(PLUGIN_TYPE)/$(PLUGIN_NAME)/$(PLUGIN_NAME)_$$(echo $${arch%%_*}).zip" \ && mv $$(ls linux_$${arch}/go/kuiper/plugins/$(PLUGIN_TYPE)/$(PLUGIN_NAME)/$(PLUGIN_NAME)_$$(echo $${arch%%_*}).zip) _plugins/debian/$(PLUGIN_TYPE); \ done @@ -201,5 +201,5 @@ $(PLUGINS): .PHONY: clean clean: - @rm -rf cross_build.tar linux_amd64 linux_arm64 linux_arm_v7 linux_ppc64le linux_386 + @rm -rf cross_build.tar linux_amd64 linux_arm64 linux_arm_v7 linux_386 @rm -rf _build _packages _plugins diff --git a/deploy/docker/README.md b/deploy/docker/README.md index 686fc1e8a8..6c39005166 100644 --- a/deploy/docker/README.md +++ b/deploy/docker/README.md @@ -21,7 +21,7 @@ - **Supported architectures** - `amd64`, `arm64v8`, `arm32v7`, `i386`, `ppc64le` + `amd64`, `arm64v8`, `arm32v7`, `i386` - **Supported Docker versions**: