mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Screenshotting] minor improvement to chromium version-check script (#155806)
Adds a minor improvement to the script for checking the version of Chromium. The change shows the download path for each type of OS for which we can use the stock build for the screenshotting feature. Forward-ported from this fix in 8.7: https://github.com/elastic/kibana/pull/155313
This commit is contained in:
parent
90bee2103d
commit
6a6be92545
1 changed files with 5 additions and 0 deletions
|
@ -103,7 +103,12 @@ async function getChromiumCommit(
|
|||
throw new Error(`Could not find a Chromium commit! Check ${url} in a browser.`);
|
||||
}
|
||||
|
||||
const baseUrl = 'https://commondatastorage.googleapis.com/chromium-browser-snapshots';
|
||||
|
||||
log.info(`Found Chromium commit ${commit} from revision ${revision}.`);
|
||||
log.info(`Mac x64 download: ${baseUrl}/Mac/${revision}/chrome-mac.zip`);
|
||||
log.info(`Mac ARM download: ${baseUrl}/Mac_Arm/${revision}/chrome-mac.zip`);
|
||||
log.info(`Windows x64 download: ${baseUrl}/Win/${revision}/chrome-win.zip`);
|
||||
return commit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue