Skip to content

Commit

Permalink
Add multiarch build support for etcd
Browse files Browse the repository at this point in the history
This commit will add support for building
multiarch etcd as a part of `pull-etcd-build`
job.

Signed-off-by: ArkaSaha30 <[email protected]>
  • Loading branch information
ArkaSaha30 committed May 28, 2024
1 parent 0a83018 commit 27dc392
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions config/jobs/etcd/etcd-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ presubmits:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
command:
- runner.sh
args:
- make
- build
- |
targets=('linux-amd64' 'linux-arm64' 'linux-arm' 'linux-ppc64le' 'linux-s390x' 'linux-386' 'darwin-amd64' 'darwin-arm64' 'windows-amd64')
for target in "${targets[@]}"
do
GOOS="${target%-*}" GOARCH="${target#*-}" make build
done
resources:
requests:
cpu: "4"
Expand Down

0 comments on commit 27dc392

Please sign in to comment.