Skip to content

Commit f183be1

Browse files
authored
Merge pull request #3022 from robnester-rh/EC-1519
update multi-arch build matrix
2 parents 75b64e7 + 97e0577 commit f183be1

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.tekton/cli-main-push.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ spec:
112112
- default:
113113
- linux/x86_64
114114
- linux/arm64
115+
- linux/ppc64le
116+
- linux/s390x
115117
description: List of platforms to build the container images on
116118
name: build-platforms
117119
type: array

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ MAKEFLAGS+=-j --no-print-directory
22
VERSION_FILE=./VERSION
33
VERSION:=$$(hack/derive-version.sh)
44
# a list of "dist/ec_{platform}_{arch}" that we support
5-
ALL_SUPPORTED_OS_ARCH:=$(shell go tool dist list -json|jq -r '.[] | select((.FirstClass == true or .GOARCH == "ppc64le") and .GOARCH != "386") | "dist/ec_\(.GOOS)_\(.GOARCH)"')
5+
ALL_SUPPORTED_OS_ARCH:=$(shell go tool dist list -json|jq -r '.[] | select((.FirstClass == true or .GOARCH == "ppc64le" or .GOARCH == "s390x") and .GOARCH != "386") | "dist/ec_\(.GOOS)_\(.GOARCH)"')
66
# a list of image_* targets that we do not support
77
UNSUPPORTED_OS_ARCH_IMG:=image_windows_amd64 image_darwin_amd64 image_darwin_arm64 image_linux_arm
88
# a list of image_* targets that we do support generated from
@@ -252,6 +252,7 @@ $(ALL_SUPPORTED_IMG_OS_ARCH):
252252
# image_linux_amd64
253253
# image_linux_arm64
254254
# image_linux_ppc64le
255+
# image_linux_s390x
255256
show-supported-builds:
256257
@for b in $(ALL_SUPPORTED_IMG_OS_ARCH); do echo $$b; done
257258

rpms.in.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ arches:
2424
- x86_64
2525
- aarch64
2626
- ppc64le
27+
- s390x
2728
contentOrigin:
2829
# ubi.repo is extracted from the base image by the hack/update-rpm-lock.sh
2930
repofiles:

0 commit comments

Comments
 (0)