[8.11] [bazel] Use kibana-ci-proxy-cache for node downloads (#166875) (#168111)

# Backport

This will backport the following commits from `main` to `8.11`:
- [[bazel] Use kibana-ci-proxy-cache for node downloads
(#166875)](https://github.com/elastic/kibana/pull/166875)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2023-10-05T14:30:10Z","message":"[bazel]
Use kibana-ci-proxy-cache for node downloads (#166875)\n\nWe're seeing
less than ideal reliability for our node downloads from the\r\nofficial
site on CI.\r\n\r\nThis uses our cache for downloading node
distributions for development.\r\nThe checksums on our linux
distributions have been updated due to using\r\nour glibc 2.17 node
build.\r\n\r\nUsed similarly to our distributions:
\r\n\r\n82024c240a/src/dev/build/tasks/nodejs/node_download_info.ts (L21)","sha":"146eecca8524c3e844b1fb422455dcfdaf525107","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.12.0"],"number":166875,"url":"https://github.com/elastic/kibana/pull/166875","mergeCommit":{"message":"[bazel]
Use kibana-ci-proxy-cache for node downloads (#166875)\n\nWe're seeing
less than ideal reliability for our node downloads from the\r\nofficial
site on CI.\r\n\r\nThis uses our cache for downloading node
distributions for development.\r\nThe checksums on our linux
distributions have been updated due to using\r\nour glibc 2.17 node
build.\r\n\r\nUsed similarly to our distributions:
\r\n\r\n82024c240a/src/dev/build/tasks/nodejs/node_download_info.ts (L21)","sha":"146eecca8524c3e844b1fb422455dcfdaf525107"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/166875","number":166875,"mergeCommit":{"message":"[bazel]
Use kibana-ci-proxy-cache for node downloads (#166875)\n\nWe're seeing
less than ideal reliability for our node downloads from the\r\nofficial
site on CI.\r\n\r\nThis uses our cache for downloading node
distributions for development.\r\nThe checksums on our linux
distributions have been updated due to using\r\nour glibc 2.17 node
build.\r\n\r\nUsed similarly to our distributions:
\r\n\r\n82024c240a/src/dev/build/tasks/nodejs/node_download_info.ts (L21)","sha":"146eecca8524c3e844b1fb422455dcfdaf525107"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
This commit is contained in:
Kibana Machine 2023-10-05 11:45:24 -04:00 committed by GitHub
parent fa53df597c
commit 3d875547e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,13 +24,13 @@ node_repositories(
node_repositories = {
"18.17.1-darwin_amd64": ("node-v18.17.1-darwin-x64.tar.gz", "node-v18.17.1-darwin-x64", "b3e083d2715f07ec3f00438401fb58faa1e0bdf3c7bde9f38b75ed17809d92fa"),
"18.17.1-darwin_arm64": ("node-v18.17.1-darwin-arm64.tar.gz", "node-v18.17.1-darwin-arm64", "18ca716ea57522b90473777cb9f878467f77fdf826d37beb15a0889fdd74533e"),
"18.17.1-linux_arm64": ("node-v18.17.1-linux-arm64.tar.xz", "node-v18.17.1-linux-arm64", "3f933716a468524acb68c2514d819b532131eb50399ee946954d4a511303e1bb"),
"18.17.1-linux_amd64": ("node-v18.17.1-linux-x64.tar.xz", "node-v18.17.1-linux-x64", "07e76408ddb0300a6f46fcc9abc61f841acde49b45020ec4e86bb9b25df4dced"),
"18.17.1-linux_arm64": ("node-v18.17.1-linux-arm64.tar.xz", "node-v18.17.1-linux-arm64", "2743722f164df953b11663a6c25f9cf35769bf500e712e21a6c20e896177da30"),
"18.17.1-linux_amd64": ("node-v18.17.1-linux-x64.tar.xz", "node-v18.17.1-linux-x64", "4612954fef461bb05ba952112636bd11e51c0a59db94e6c4b26328fee4d4d9ab"),
"18.17.1-windows_amd64": ("node-v18.17.1-win-x64.zip", "node-v18.17.1-win-x64", "afc83f5cf6e8b45a4d3fb842904f604dcd271fefada31ad6654f8302f8da28c9"),
},
node_version = "18.17.1",
node_urls = [
"https://nodejs.org/dist/v{version}/{filename}",
"https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/dist/v{version}/{filename}",
],
yarn_repositories = {
"1.22.19": ("yarn-v1.22.19.tar.gz", "yarn-v1.22.19", "732620bac8b1690d507274f025f3c6cfdc3627a84d9642e38a07452cc00e0f2e"),