File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ function availableDescribes(specTimings) {
9292async function renderSlowestForDescribe ( {
9393 jsonPath,
9494 describe,
95- outDir = "tmp/test-ci/report/out " ,
95+ outDir = "tmp" ,
9696 storage,
9797} ) {
9898 if ( ! jsonPath ) {
@@ -147,7 +147,7 @@ async function main() {
147147 const args = parseArgs ( process . argv . slice ( 2 ) ) ;
148148 if ( args . help ) {
149149 console . log (
150- "Usage: node .github/scripts/js/e2e/report/render-slowest-for-describe.js --json <report.json> --describe <Describe> [--out-dir <dir> ] [--storage <name>]"
150+ "Usage: node .github/scripts/js/e2e/report/render-slowest-for-describe.js --json <report.json> --describe <Describe> [--out-dir tmp ] [--storage <name>]"
151151 ) ;
152152 return ;
153153 }
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ function readReport(jsonPath) {
7070async function renderTopDescribesForCluster ( {
7171 jsonPath,
7272 storage,
73- outDir = "tmp/ci-report/out " ,
73+ outDir = "tmp" ,
7474 topN = 5 ,
7575} ) {
7676 const report = readReport ( jsonPath ) ;
@@ -96,7 +96,7 @@ async function renderTopDescribesForCluster({
9696async function renderTopDescribes ( {
9797 core = console ,
9898 reportsDir = "downloaded-artifacts" ,
99- outDir = "tmp/ci-report/out " ,
99+ outDir = "tmp" ,
100100 topN = 5 ,
101101} = { } ) {
102102 const reportFiles = listMatchingFiles ( reportsDir , REPORT_FILE_PATTERN ) ;
@@ -131,7 +131,7 @@ async function main() {
131131 const args = parseArgs ( process . argv . slice ( 2 ) ) ;
132132 if ( args . help ) {
133133 console . log (
134- "Usage: node .github/scripts/js/e2e/report/render-top-describes.js [--reports-dir downloaded-artifacts] [--out-dir tmp/ci-report/out ] [--top-n 5]"
134+ "Usage: node .github/scripts/js/e2e/report/render-top-describes.js [--reports-dir downloaded-artifacts] [--out-dir tmp] [--top-n 5]"
135135 ) ;
136136 return ;
137137 }
Original file line number Diff line number Diff line change @@ -528,5 +528,5 @@ jobs:
528528 uses : actions/upload-artifact@v4
529529 with :
530530 name : e2e-report-slowest-by-describe
531- path : tmp/ci-report/out/ charts/
531+ path : tmp/charts/
532532 if-no-files-found : warn
Original file line number Diff line number Diff line change 5656 vars :
5757 JSON : ' {{.JSON | default ""}}'
5858 DESCRIBE : ' {{.DESCRIBE | default ""}}'
59- OUT_DIR : ' {{.OUT_DIR | default "tmp/test-ci/report/out "}}'
59+ OUT_DIR : ' {{.OUT_DIR | default "tmp"}}'
6060 cmds :
6161 - test -n "{{.JSON}}" || (echo "JSON=... is required"; exit 1)
6262 - test -n "{{.DESCRIBE}}" || (echo "DESCRIBE=... is required"; exit 1)
7070 silent : true
7171 vars :
7272 REPORTS_DIR : ' {{.REPORTS_DIR | default "tmp/test-ci/report/out"}}'
73- OUT_DIR : ' {{.OUT_DIR | default "tmp/test-ci/report/out "}}'
73+ OUT_DIR : ' {{.OUT_DIR | default "tmp"}}'
7474 TOP_N : " {{.TOP_N | default 5}}"
7575 cmds :
7676 - mkdir -p "{{.OUT_DIR}}" "{{.REPORTS_DIR}}"
You can’t perform that action at this time.
0 commit comments