[8.13] [npmrc] Fix puppeteer_skip_download configuration (#177673) (#177674)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[npmrc] Fix puppeteer_skip_download configuration
(#177673)](https://github.com/elastic/kibana/pull/177673)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2024-02-23T01:59:01Z","message":"[npmrc]
Fix puppeteer_skip_download configuration (#177673)\n\nThis was a
breaking change introduced in puppeteer 20
See\r\ndf4d60c187","sha":"42c0e280363b6e3077ccd34a0ca50978ed6fd39f","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.14.0"],"title":"[npmrc]
Fix puppeteer_skip_download
configuration","number":177673,"url":"https://github.com/elastic/kibana/pull/177673","mergeCommit":{"message":"[npmrc]
Fix puppeteer_skip_download configuration (#177673)\n\nThis was a
breaking change introduced in puppeteer 20
See\r\ndf4d60c187","sha":"42c0e280363b6e3077ccd34a0ca50978ed6fd39f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177673","number":177673,"mergeCommit":{"message":"[npmrc]
Fix puppeteer_skip_download configuration (#177673)\n\nThis was a
breaking change introduced in puppeteer 20
See\r\ndf4d60c187","sha":"42c0e280363b6e3077ccd34a0ca50978ed6fd39f"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
This commit is contained in:
Kibana Machine 2024-02-22 22:13:18 -05:00 committed by GitHub
parent d74288e267
commit 32ca97a6da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 3 deletions

View file

@ -6,7 +6,6 @@ source .buildkite/scripts/common/util.sh
export BAZEL_CACHE_MODE=populate-local-gcs
export DISABLE_BOOTSTRAP_VALIDATION=true
export PUPPETEER_SKIP_DOWNLOAD=true
# Clear out bazel cache between runs to make sure that any artifacts that don't exist in the cache are uploaded
rm -rf ~/.bazel-cache

View file

@ -6,7 +6,6 @@ source .buildkite/scripts/common/util.sh
export BAZEL_CACHE_MODE=populate-local-gcs
export DISABLE_BOOTSTRAP_VALIDATION=true
export PUPPETEER_SKIP_CHROME_DOWNLOAD=true
# Because we're manually deleting node_modules and bazel directories in-between runs, we need to --force-install
export BOOTSTRAP_ALWAYS_FORCE_INSTALL=true

2
.npmrc
View file

@ -1 +1 @@
puppeteer_skip_chromium_download=true
puppeteer_skip_download=true