Skip to content

Commit 864740d

Browse files
authored
Merge pull request #34582 from BenTheElder/no-node-cache
eliminate unused node_module caching attempt
2 parents efd5729 + a38b168 commit 864740d

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

hack/build/ensure-node_modules.sh

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,6 @@ set -o pipefail
2121

2222
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd -P)"
2323

24-
cache() {
25-
local action="$1"
26-
cd "${REPO_ROOT}/hack/tools"
27-
go build -o "${REPO_ROOT}/_bin/gcs-cacher" github.com/sethvargo/gcs-cacher
28-
29-
"${REPO_ROOT}/_bin/gcs-cacher" \
30-
-bucket "k8s-prow-build-cache" \
31-
-$action "yarn-deps-$(md5sum ${REPO_ROOT}/yarn.lock | awk '{ print $1 }')" \
32-
-dir "${REPO_ROOT}/node_modules" \
33-
-allow-failure
34-
}
35-
36-
# Download cache if running in CI
37-
if [[ "${CI:-}" == "true" ]]; then
38-
cache restore
39-
fi
40-
4124
cd "${REPO_ROOT}"
4225
hack/run-in-node-container.sh \
4326
yarn install

0 commit comments

Comments
 (0)