From 7db9ab65fd0f5bb2ef9f2fea7a8648825b46df92 Mon Sep 17 00:00:00 2001 From: Richard Case Date: Thu, 29 Feb 2024 10:49:55 +0000 Subject: [PATCH] feat: add new ci script for docker builds This script will be used by prow to test our docker builds that are an essential part of the release the process. We have encountered an issue where we aren't testing the different architectures. Signed-off-by: Richard Case --- scripts/ci-docker-build.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 scripts/ci-docker-build.sh diff --git a/scripts/ci-docker-build.sh b/scripts/ci-docker-build.sh new file mode 100755 index 0000000000..cff6212bc8 --- /dev/null +++ b/scripts/ci-docker-build.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +# Copyright 2024 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. + +set -o errexit +set -o nounset +set -o pipefail + +REPO_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. +# shellcheck source=../hack/ensure-go.sh +source "${REPO_ROOT}/hack/ensure-go.sh" + +cd "${REPO_ROOT}" && make docker-build-all release-binaries