[8.13] Add .puppeteerrc (#179847) (#179939)

# Backport

This will backport the following commits from `main` to `8.13`:
- [Add .puppeteerrc
(#179847)](https://github.com/elastic/kibana/pull/179847)

<!--- 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-04-03T14:14:39Z","message":"Add
.puppeteerrc (#179847)\n\nPuppeteer uses cosmiconfig to load
configuration files. We're seeing\r\npermissions issues for various
reasons due to the global search strategy\r\nemployed by
puppeteer.\r\n\r\nThis should short circuit configuration lookups
outside of the Kibana\r\ndirectory.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/168639\r\n\r\nhttps://pptr.dev/api/puppeteer.configuration","sha":"0b7d63400c04c22b66e23ef5b42c7ebbab983165","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:fix","Feature:Reporting","backport:all-open","v8.14.0"],"title":"Add
.puppeteerrc","number":179847,"url":"https://github.com/elastic/kibana/pull/179847","mergeCommit":{"message":"Add
.puppeteerrc (#179847)\n\nPuppeteer uses cosmiconfig to load
configuration files. We're seeing\r\npermissions issues for various
reasons due to the global search strategy\r\nemployed by
puppeteer.\r\n\r\nThis should short circuit configuration lookups
outside of the Kibana\r\ndirectory.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/168639\r\n\r\nhttps://pptr.dev/api/puppeteer.configuration","sha":"0b7d63400c04c22b66e23ef5b42c7ebbab983165"}},"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/179847","number":179847,"mergeCommit":{"message":"Add
.puppeteerrc (#179847)\n\nPuppeteer uses cosmiconfig to load
configuration files. We're seeing\r\npermissions issues for various
reasons due to the global search strategy\r\nemployed by
puppeteer.\r\n\r\nThis should short circuit configuration lookups
outside of the Kibana\r\ndirectory.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/168639\r\n\r\nhttps://pptr.dev/api/puppeteer.configuration","sha":"0b7d63400c04c22b66e23ef5b42c7ebbab983165"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
This commit is contained in:
Kibana Machine 2024-04-03 11:41:10 -04:00 committed by GitHub
parent 13fb5dd5a5
commit cc5b3037bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

1
.puppeteerrc Normal file
View file

@ -0,0 +1 @@
skipDownload: true

View file

@ -21,6 +21,7 @@ export const CopyLegacySource: Task = {
const select = [
'yarn.lock',
'.npmrc',
'.puppeteerrc',
'config/kibana.yml',
'config/node.options',
'.i18nrc.json',