mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-19 22:39:03 +00:00
Supporting Custom Build Trace File Names (#3443)
* Removing hard-coded trace filename * Including stage name in notification * Simplifying capture setup and tagging file names with arch * Removed test property from notification message * Fixing regex to get arch name * Fixing error in notification and modified regex
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const puppeteer = require('puppeteer');
|
||||
const buildTraceFileName = process.env.BUILD_TRACE_FILE;
|
||||
|
||||
(async () => {
|
||||
try {
|
||||
@@ -31,7 +32,7 @@ const puppeteer = require('puppeteer');
|
||||
page.waitForFileChooser(),
|
||||
element.click()
|
||||
]);
|
||||
await fileChooser.accept(['/workspace/ck_build_trace.json']);
|
||||
await fileChooser.accept([`/workspace/${buildTraceFileName}`]);
|
||||
} else {
|
||||
throw new Error('Element not found');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user