From b668ec9f74eb7cd7b2c0d8e74d7ee8a82ba3924f Mon Sep 17 00:00:00 2001 From: Yonatan Kahana Date: Fri, 26 Mar 2021 12:48:43 +0300 Subject: [PATCH] Update cloudbuild with multiarch platforms Signed-off-by: Yonatan Kahana --- .cloudbuild.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 .cloudbuild.sh diff --git a/.cloudbuild.sh b/.cloudbuild.sh new file mode 100755 index 0000000..32b544e --- /dev/null +++ b/.cloudbuild.sh @@ -0,0 +1,21 @@ +#! /bin/bash + +# Copyright 2020 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +: ${CSI_PROW_BUILD_PLATFORMS:="linux amd64; linux arm -arm; linux arm64 -arm64; linux ppc64le -ppc64le; linux s390x -s390x"} + +# shellcheck disable=SC1091 +. release-tools/cloudbuild.sh