We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents efd5729 + a38b168 commit 864740dCopy full SHA for 864740d
hack/build/ensure-node_modules.sh
@@ -21,23 +21,6 @@ set -o pipefail
21
22
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd -P)"
23
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
41
cd "${REPO_ROOT}"
42
hack/run-in-node-container.sh \
43
yarn install
0 commit comments