Improve storage usage by cleaning up between steps
This commit is contained in:
parent
037f7403fb
commit
6b3ac7700a
@ -46,6 +46,9 @@ export function CreatePipeline(inputParams) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
process.stdout.write(`${getStatus(this.commands[i].command, files.length, files.length)}\n`);
|
process.stdout.write(`${getStatus(this.commands[i].command, files.length, files.length)}\n`);
|
||||||
|
|
||||||
|
// Reduce space usage by deleting unneeded step files
|
||||||
|
fs.rmSync(inputDir, { force: true, recursive: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy /temp/Step-L/* -> /output
|
// Copy /temp/Step-L/* -> /output
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user