Skip to content

Commit

Permalink
[ci] Ensure airgapped build uses correct Bazel version
Browse files Browse the repository at this point in the history
Signed-off-by: James Wainwright <[email protected]>
  • Loading branch information
jwnrt committed Dec 10, 2024
1 parent 3c22aa9 commit b70973d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util/prep-bazel-airgapped-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b70973d

Please sign in to comment.