Debug cache extract
parent
a7ce7acbc2
commit
816a30f7e4
|
|
@ -633,9 +633,6 @@ class Caching {
|
||||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree ${cacheFolder}`);
|
yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree ${cacheFolder}`);
|
||||||
}
|
}
|
||||||
fs_1.default.createReadStream(`${path_1.default.join(fullDestination, cacheSelection)}.zip`).pipe(unzipper_1.default.Extract({ path: resultsDirectory }));
|
fs_1.default.createReadStream(`${path_1.default.join(fullDestination, cacheSelection)}.zip`).pipe(unzipper_1.default.Extract({ path: resultsDirectory }));
|
||||||
if (__1.Input.cloudRunnerTests) {
|
|
||||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`tree ${fullDestination}`);
|
|
||||||
}
|
|
||||||
remote_client_logger_1.RemoteClientLogger.log(`cache item extracted to ${fullDestination}`);
|
remote_client_logger_1.RemoteClientLogger.log(`cache item extracted to ${fullDestination}`);
|
||||||
console_1.assert(`${fs_1.default.existsSync(fullDestination)}`);
|
console_1.assert(`${fs_1.default.existsSync(fullDestination)}`);
|
||||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`mv "${fullDestination}" "${destinationFolder}"`);
|
yield cloud_runner_system_1.CloudRunnerSystem.Run(`mv "${fullDestination}" "${destinationFolder}"`);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -108,9 +108,6 @@ export class Caching {
|
||||||
fs.createReadStream(`${path.join(fullDestination, cacheSelection)}.zip`).pipe(
|
fs.createReadStream(`${path.join(fullDestination, cacheSelection)}.zip`).pipe(
|
||||||
unzipper.Extract({ path: resultsDirectory }),
|
unzipper.Extract({ path: resultsDirectory }),
|
||||||
);
|
);
|
||||||
if (Input.cloudRunnerTests) {
|
|
||||||
await CloudRunnerSystem.Run(`tree ${fullDestination}`);
|
|
||||||
}
|
|
||||||
RemoteClientLogger.log(`cache item extracted to ${fullDestination}`);
|
RemoteClientLogger.log(`cache item extracted to ${fullDestination}`);
|
||||||
assert(`${fs.existsSync(fullDestination)}`);
|
assert(`${fs.existsSync(fullDestination)}`);
|
||||||
await CloudRunnerSystem.Run(`mv "${fullDestination}" "${destinationFolder}"`);
|
await CloudRunnerSystem.Run(`mv "${fullDestination}" "${destinationFolder}"`);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue