mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Puppeteer v18.1 (#143485)
* use build options for smaller build * update to puppeteer@18.1.0 * increase timeouts - reporting.queue.timeout: 4m - screenshotting.timeouts.openUrl: 1m - screenshotting.timeouts.waitForElements: 1m - screenshotting.timeouts.renderComplete: 2m * update docs and refs for timeouts * add arm64 info * fix binaryChecksum for linux_x64 * restore comment? * Build script changes from #143022
This commit is contained in:
parent
9b2708cd45
commit
53d07a2283
18 changed files with 155 additions and 146 deletions
|
@ -6,13 +6,9 @@ from build_util import runcmd, mkdir
|
|||
# once per environment.
|
||||
|
||||
# Set to "arm" to build for ARM
|
||||
arch_name = sys.argv[1] if len(sys.argv) >= 2 else 'undefined'
|
||||
build_path = path.abspath(os.curdir)
|
||||
src_path = path.abspath(path.join(build_path, 'chromium', 'src'))
|
||||
|
||||
if arch_name != 'x64' and arch_name != 'arm64':
|
||||
raise Exception('Unexpected architecture: ' + arch_name + '. `x64` and `arm64` are supported.')
|
||||
|
||||
# Configure git
|
||||
print('Configuring git globals...')
|
||||
runcmd('git config --global core.autocrlf false')
|
||||
|
@ -29,8 +25,8 @@ else:
|
|||
print('Updating depot_tools...')
|
||||
original_dir = os.curdir
|
||||
os.chdir(path.join(build_path, 'depot_tools'))
|
||||
runcmd('git checkout master')
|
||||
runcmd('git pull origin master')
|
||||
runcmd('git checkout main')
|
||||
runcmd('git pull origin main')
|
||||
os.chdir(original_dir)
|
||||
|
||||
# Fetch the Chromium source code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue