mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops: fix Chromium archiving on Windows (#9959)
New upstream bundling config still includes `interactive_ui_tests.exe` for windows archive. We do not build it and do not use it - so we manually exclude it from packaging.
This commit is contained in:
parent
56ca3a18f5
commit
f9947c3792
@ -7,7 +7,16 @@ const fs = require('fs');
|
||||
|
||||
const configs = JSON.parse(fs.readFileSync(process.argv[2], 'utf8')).archive_datas;
|
||||
const config = configs.find(config => config.gcs_path.includes('chrome-linux.zip') || config.gcs_path.includes('chrome-win.zip') || config.gcs_path.includes('chrome-mac.zip'));
|
||||
for (const file of config.files || [])
|
||||
console.log(file);
|
||||
for (const dir of config.dirs || [])
|
||||
console.log(dir);
|
||||
|
||||
const excludeList = new Set([
|
||||
// We do not need interactive tests in our archive.
|
||||
'interactive_ui_tests.exe',
|
||||
]);
|
||||
|
||||
const entries = [
|
||||
...(config.files || []),
|
||||
...(config.dirs || []),
|
||||
].filter(entry => !excludeList.has(entry));
|
||||
|
||||
for (const entry of entries)
|
||||
console.log(entry);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user