From 7e0a6848573a89b7bb047a306531043327028ec2 Mon Sep 17 00:00:00 2001 From: Moritz Kiefer Date: Wed, 17 Jun 2020 19:33:26 +0200 Subject: [PATCH] Bump Windows cache (#6383) changelog_begin changelog_end --- build.ps1 | 2 ++ ci/configure-bazel.sh | 2 +- compatibility/build-release-artifacts-windows.ps1 | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build.ps1 b/build.ps1 index 062a4e22e0..766aa30eef 100644 --- a/build.ps1 +++ b/build.ps1 @@ -53,6 +53,8 @@ bazel shutdown # It isn’t clear where exactly those errors are coming from. bazel fetch @nodejs_dev_env//... +bazel clean --expunge + bazel build `-`-experimental_execution_log_file ${ARTIFACT_DIRS}/build_execution_windows.log //... bazel shutdown diff --git a/ci/configure-bazel.sh b/ci/configure-bazel.sh index 77fb6b2e7f..543ec5e74b 100755 --- a/ci/configure-bazel.sh +++ b/ci/configure-bazel.sh @@ -74,7 +74,7 @@ if is_windows; then SUFFIX="${SUFFIX:0:3}" echo "Platform suffix: $SUFFIX" # We include an extra version at the end that we can bump manually. - CACHE_SUFFIX="$SUFFIX-v3" + CACHE_SUFFIX="$SUFFIX-v4" CACHE_URL="$CACHE_URL/$CACHE_SUFFIX" echo "build:windows-ci --remote_http_cache=https://bazel-cache.da-ext.net/$CACHE_SUFFIX" >> .bazelrc.local fi diff --git a/compatibility/build-release-artifacts-windows.ps1 b/compatibility/build-release-artifacts-windows.ps1 index ed0facae8f..9312b70002 100644 --- a/compatibility/build-release-artifacts-windows.ps1 +++ b/compatibility/build-release-artifacts-windows.ps1 @@ -38,6 +38,7 @@ function bazel() { bazel shutdown bazel fetch @nodejs_dev_env//... +bazel clean --expunge bazel build ` `-`-experimental_execution_log_file ${ARTIFACT_DIRS}/build_execution_windows.log ` //release:sdk-release-tarball `