Skip printing size unless cloudRunnerIntegrationTests is true
parent
86412dd25d
commit
7fbfc6780d
|
|
@ -2804,8 +2804,10 @@ class RemoteClient {
|
||||||
}
|
}
|
||||||
static sizeOfFolder(message, folder) {
|
static sizeOfFolder(message, folder) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
|
if (cloud_runner_1.default.buildParameters.cloudRunnerIntegrationTests) {
|
||||||
cloud_runner_logger_1.default.log(`Size of ${message}`);
|
cloud_runner_logger_1.default.log(`Size of ${message}`);
|
||||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`du -sh ${folder}`);
|
yield cloud_runner_system_1.CloudRunnerSystem.Run(`du -sh ${folder}`);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
static cloneRepoWithoutLFSFiles() {
|
static cloneRepoWithoutLFSFiles() {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -45,9 +45,11 @@ export class RemoteClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static async sizeOfFolder(message: string, folder: string) {
|
private static async sizeOfFolder(message: string, folder: string) {
|
||||||
|
if (CloudRunner.buildParameters.cloudRunnerIntegrationTests) {
|
||||||
CloudRunnerLogger.log(`Size of ${message}`);
|
CloudRunnerLogger.log(`Size of ${message}`);
|
||||||
await CloudRunnerSystem.Run(`du -sh ${folder}`);
|
await CloudRunnerSystem.Run(`du -sh ${folder}`);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private static async cloneRepoWithoutLFSFiles() {
|
private static async cloneRepoWithoutLFSFiles() {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue