Skip to content

Commit 5391040

Browse files
authored
Obviously specify the supported platforms in Makefile (#663)
Signed-off-by: Yuki Iwai <[email protected]>
1 parent 10f9e20 commit 5391040

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

Diff for: .github/workflows/main.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,11 @@ jobs:
4747
with:
4848
go-version-file: go.mod
4949
- name: Run tests
50-
run: make RELEASE_VERSION=test CONTROLLER_VERSION=v2 TEST_KIND_IMAGE=kindest/node:${{ matrix.kubernetes-version }} test_e2e
50+
env:
51+
RELEASE_VERSION: test
52+
CONTROLLER_VERSION: v2
53+
TEST_KIND_IMAGE: kindest/node:${{ matrix.kubernetes-version }}
54+
PLATFORMS: linux/amd64
55+
INTEL_PLATFORMS: linux/amd64
56+
MPICH_PLATFORMS: linux/amd64
57+
run: make test_e2e

Diff for: Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,15 @@
1414

1515
BIN_DIR=_output/cmd/bin
1616
REPO_PATH="github.com/kubeflow/mpi-operator"
17-
REL_OSARCH="linux/amd64"
1817
GitSHA=$(shell git rev-parse HEAD)
1918
Date=$(shell date "+%Y-%m-%d %H:%M:%S")
2019
RELEASE_VERSION?=v0.5.0
2120
CONTROLLER_VERSION?=v2
2221
BASE_IMAGE_SSH_PORT?=2222
2322
IMG_BUILDER=docker
24-
PLATFORMS ?= linux/amd64
23+
PLATFORMS ?= linux/amd64,linux/arm64,linux/ppc64le
2524
INTEL_PLATFORMS ?= linux/amd64
26-
MPICH_PLATFORMS ?= linux/amd64
25+
MPICH_PLATFORMS ?= linux/amd64,linux/arm64
2726
LD_FLAGS_V2=" \
2827
-X '${REPO_PATH}/pkg/version.GitSHA=${GitSHA}' \
2928
-X '${REPO_PATH}/pkg/version.Built=${Date}' \

0 commit comments

Comments
 (0)