Add s390x binary support (#7505)
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>pull/8848/head
parent
2ae9d6fe2f
commit
8934b2cb17
|
@ -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:
|
||||||
|
@ -60,4 +65,4 @@ git:
|
||||||
# tags if there are more than one tag in the same commit.
|
# tags if there are more than one tag in the same commit.
|
||||||
#
|
#
|
||||||
# Default: `-version:refname`
|
# Default: `-version:refname`
|
||||||
tag_sort: -version:creatordate
|
tag_sort: -version:creatordate
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -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
|
||||||
|
@ -495,4 +495,4 @@ new-changelog:
|
||||||
fi
|
fi
|
||||||
@mkdir -p ./changelogs/unreleased/ && \
|
@mkdir -p ./changelogs/unreleased/ && \
|
||||||
echo $(CHANGELOG_BODY) > ./changelogs/unreleased/$(GH_PR_NUMBER)-$(GH_LOGIN) && \
|
echo $(CHANGELOG_BODY) > ./changelogs/unreleased/$(GH_PR_NUMBER)-$(GH_LOGIN) && \
|
||||||
echo \"$(CHANGELOG_BODY)\" added to "./changelogs/unreleased/$(GH_PR_NUMBER)-$(GH_LOGIN)"
|
echo \"$(CHANGELOG_BODY)\" added to "./changelogs/unreleased/$(GH_PR_NUMBER)-$(GH_LOGIN)"
|
|
@ -0,0 +1 @@
|
||||||
|
This PR aims to add s390x support to Velero binary.
|
Loading…
Reference in New Issue