From b70973d2e9a3705361425d59a5e64a660b6fe1fc Mon Sep 17 00:00:00 2001 From: James Wainwright Date: Tue, 10 Dec 2024 10:28:59 +0000 Subject: [PATCH] [ci] Ensure airgapped build uses correct Bazel version Signed-off-by: James Wainwright --- util/prep-bazel-airgapped-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/util/prep-bazel-airgapped-build.sh b/util/prep-bazel-airgapped-build.sh index 1816f14299ce3..2a0a385dcd1a0 100755 --- a/util/prep-bazel-airgapped-build.sh +++ b/util/prep-bazel-airgapped-build.sh @@ -121,6 +121,7 @@ if [[ ${AIRGAPPED_DIR_CONTENTS} == "ALL" || \ pushd "${BAZEL_AIRGAPPED_DIR}/empty_workspace" touch MODULE.bazel touch WORKSPACE + cp "${REPO_TOP}/.bazelversion" . bazel sync --repository_cache="${BAZEL_AIRGAPPED_DIR}/${BAZEL_CACHEDIR}" popd rm -rf "${BAZEL_AIRGAPPED_DIR}/empty_workspace"