Add s390x binary support (#7505)
Some checks failed
Run the E2E test on kind / build (push) Failing after 6m30s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 1m40s

Signed-off-by: Pandurang Alias Aradhya Khandeparker <PANDURANG.KHANDEPARKER@ibm.com>
Signed-off-by: Rishi Misra <rishi@ca.ibm.com>
Co-authored-by: Rishi Misra <rishi@ca.ibm.com>
This commit is contained in:
Pandurang Khandeparker
2025-04-04 14:39:01 +01:00
committed by GitHub
parent 2ae9d6fe2f
commit 8934b2cb17
3 changed files with 9 additions and 3 deletions

View File

@@ -26,18 +26,23 @@ builds:
- arm - arm
- arm64 - arm64
- ppc64le - ppc64le
- s390x
ignore: ignore:
# don't build arm for darwin and arm/arm64 for windows # don't build arm for darwin and arm/arm64 for windows
- goos: darwin - goos: darwin
goarch: arm goarch: arm
- goos: darwin - goos: darwin
goarch: ppc64le goarch: ppc64le
- goos: darwin
goarch: s390x
- goos: windows - goos: windows
goarch: arm goarch: arm
- goos: windows - goos: windows
goarch: arm64 goarch: arm64
- goos: windows - goos: windows
goarch: ppc64le goarch: ppc64le
- goos: windows
goarch: s390x
ldflags: ldflags:
- -X "github.com/vmware-tanzu/velero/pkg/buildinfo.Version={{ .Tag }}" -X "github.com/vmware-tanzu/velero/pkg/buildinfo.GitSHA={{ .FullCommit }}" -X "github.com/vmware-tanzu/velero/pkg/buildinfo.GitTreeState={{ .Env.GIT_TREE_STATE }}" -X "github.com/vmware-tanzu/velero/pkg/buildinfo.ImageRegistry={{ .Env.REGISTRY }}" - -X "github.com/vmware-tanzu/velero/pkg/buildinfo.Version={{ .Tag }}" -X "github.com/vmware-tanzu/velero/pkg/buildinfo.GitSHA={{ .FullCommit }}" -X "github.com/vmware-tanzu/velero/pkg/buildinfo.GitTreeState={{ .Env.GIT_TREE_STATE }}" -X "github.com/vmware-tanzu/velero/pkg/buildinfo.ImageRegistry={{ .Env.REGISTRY }}"
archives: archives:

View File

@@ -112,7 +112,7 @@ comma=,
# The version of restic binary to be downloaded # The version of restic binary to be downloaded
RESTIC_VERSION ?= 0.15.0 RESTIC_VERSION ?= 0.15.0
CLI_PLATFORMS ?= linux-amd64 linux-arm linux-arm64 darwin-amd64 darwin-arm64 windows-amd64 linux-ppc64le CLI_PLATFORMS ?= linux-amd64 linux-arm linux-arm64 darwin-amd64 darwin-arm64 windows-amd64 linux-ppc64le linux-s390x
BUILD_OUTPUT_TYPE ?= docker BUILD_OUTPUT_TYPE ?= docker
BUILD_OS ?= linux BUILD_OS ?= linux
BUILD_ARCH ?= amd64 BUILD_ARCH ?= amd64

View File

@@ -0,0 +1 @@
This PR aims to add s390x support to Velero binary.