You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Additional parameters are needed when pushing to a local registry,
109
+
# see https://github.com/docker/buildx/issues/94.
110
+
# However, that then runs into https://github.com/docker/cli/issues/2396.
111
+
#
112
+
# What works for local testing is:
113
+
# make push-multiarch PULL_BASE_REF=master REGISTRY_NAME=<your account on dockerhub.io> BUILD_PLATFORMS="linux amd64; windows amd64 .exe; linux ppc64le -ppc64le; linux s390x -s390x"
114
+
DOCKER_BUILDX_CREATE_ARGS ?=
115
+
116
+
# This target builds a multiarch image for one command using Moby BuildKit builder toolkit.
117
+
# Docker Buildx is included in Docker 19.03.
118
+
#
119
+
# ./cmd/<command>/Dockerfile[.Windows] is used if found, otherwise Dockerfile[.Windows].
120
+
# It is currently optional: if no such file exists, Windows images are not included,
121
+
# even when Windows is listed in BUILD_PLATFORMS. That way, projects can test that
122
+
# Windows binaries can be built before adding a Dockerfile for it.
123
+
#
124
+
# BUILD_PLATFORMS determines which individual images are included in the multiarch image.
125
+
# PULL_BASE_REF must be set to 'master', 'release-x.y', or a tag name, and determines
Copy file name to clipboardExpand all lines: prow.sh
+61-22
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ get_versioned_variable () {
85
85
echo"$value"
86
86
}
87
87
88
-
configvar CSI_PROW_BUILD_PLATFORMS "linux amd64; windows amd64 .exe; linux ppc64le -ppc64le; linux s390x -s390x""Go target platforms (= GOOS + GOARCH) and file suffix of the resulting binaries"
88
+
configvar CSI_PROW_BUILD_PLATFORMS "linux amd64; windows amd64 .exe; linux ppc64le -ppc64le; linux s390x -s390x; linux arm64 -arm64""Go target platforms (= GOOS + GOARCH) and file suffix of the resulting binaries"
89
89
90
90
# If we have a vendor directory, then use it. We must be careful to only
91
91
# use this for "make" invocations inside the project's repo itself because
@@ -211,24 +211,29 @@ configvar CSI_PROW_DRIVER_INSTALL "install_csi_driver" "name of the shell functi
211
211
# still use that name.
212
212
configvar CSI_PROW_DRIVER_CANARY "${CSI_PROW_HOSTPATH_CANARY}""driver image override for canary images"
213
213
214
+
# Image registry to use for canary images.
215
+
# Only valid if CSI_PROW_DRIVER_CANARY == "canary".
216
+
configvar CSI_PROW_DRIVER_CANARY_REGISTRY "gcr.io/k8s-staging-sig-storage""registry for canary images"
217
+
214
218
# The E2E testing can come from an arbitrary repo. The expectation is that
215
219
# the repo supports "go test ./test/e2e -args --storage.testdriver" (https://github.com/kubernetes/kubernetes/pull/72836)
216
220
# after setting KUBECONFIG. As a special case, if the repository is Kubernetes,
217
221
# then `make WHAT=test/e2e/e2e.test` is called first to ensure that
218
222
# all generated files are present.
219
223
#
220
224
# CSI_PROW_E2E_REPO=none disables E2E testing.
221
-
# TOOO: remove versioned variables and make e2e version match k8s version
222
-
configvar CSI_PROW_E2E_VERSION_1_15 v1.15.0 "E2E version for Kubernetes 1.15.x"
223
-
configvar CSI_PROW_E2E_VERSION_1_16 v1.16.0 "E2E version for Kubernetes 1.16.x"
224
-
configvar CSI_PROW_E2E_VERSION_1_17 v1.17.0 "E2E version for Kubernetes 1.17.x"
225
-
# TODO: add new CSI_PROW_E2E_VERSION entry for future Kubernetes releases
226
-
configvar CSI_PROW_E2E_VERSION_LATEST master "E2E version for Kubernetes master"# testing against Kubernetes master is already tracking a moving target, so we might as well use a moving E2E version
227
-
configvar CSI_PROW_E2E_REPO_LATEST https://github.com/kubernetes/kubernetes "E2E repo for Kubernetes >= 1.13.x"# currently the same for all versions
228
-
configvar CSI_PROW_E2E_IMPORT_PATH_LATEST k8s.io/kubernetes "E2E package for Kubernetes >= 1.13.x"# currently the same for all versions
0 commit comments