remove some legacy du commands
parent
09c06d936d
commit
cd86d9403e
|
|
@ -2748,7 +2748,6 @@ class SetupCloudRunnerRepository {
|
|||
return __awaiter(this, void 0, void 0, function* () {
|
||||
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 -s ${folder}`);
|
||||
});
|
||||
}
|
||||
static cloneRepoWithoutLFSFiles() {
|
||||
|
|
@ -3541,11 +3540,7 @@ class BuildAutomationWorkflow {
|
|||
chmod +x ${builderPath}
|
||||
node ${builderPath} -m cache-push --cachePushFrom ${cloud_runner_folders_1.CloudRunnerFolders.libraryFolderFull} --artifactName lib-${guid} --cachePushTo ${linuxCacheFolder}/Library
|
||||
echo "game ci cloud runner push build to cache"
|
||||
du -h ${cloud_runner_folders_1.CloudRunnerFolders.projectBuildFolderFull}
|
||||
du -h ${cloud_runner_folders_1.CloudRunnerFolders.projectPathFull}
|
||||
du -h ${cloud_runner_folders_1.CloudRunnerFolders.repoPathFull}
|
||||
node ${builderPath} -m cache-push --cachePushFrom ${cloud_runner_folders_1.CloudRunnerFolders.projectBuildFolderFull} --artifactName build-${guid} --cachePushTo ${`${linuxCacheFolder}/build`.replace(/\\/g, `/`)}
|
||||
du -h ${`${linuxCacheFolder}/build`.replace(/\\/g, `/`)}`;
|
||||
node ${builderPath} -m cache-push --cachePushFrom ${cloud_runner_folders_1.CloudRunnerFolders.projectBuildFolderFull} --artifactName build-${guid} --cachePushTo ${`${linuxCacheFolder}/build`.replace(/\\/g, `/`)}`;
|
||||
}
|
||||
}
|
||||
exports.BuildAutomationWorkflow = BuildAutomationWorkflow;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -47,7 +47,6 @@ export class SetupCloudRunnerRepository {
|
|||
private static async sizeOfFolder(message: string, folder: string) {
|
||||
CloudRunnerLogger.log(`Size of ${message}`);
|
||||
await CloudRunnerSystem.Run(`du -sh ${folder}`);
|
||||
await CloudRunnerSystem.Run(`du -s ${folder}`);
|
||||
}
|
||||
|
||||
private static async cloneRepoWithoutLFSFiles() {
|
||||
|
|
|
|||
|
|
@ -114,12 +114,8 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
|||
CloudRunnerFolders.libraryFolderFull
|
||||
} --artifactName lib-${guid} --cachePushTo ${linuxCacheFolder}/Library
|
||||
echo "game ci cloud runner push build to cache"
|
||||
du -h ${CloudRunnerFolders.projectBuildFolderFull}
|
||||
du -h ${CloudRunnerFolders.projectPathFull}
|
||||
du -h ${CloudRunnerFolders.repoPathFull}
|
||||
node ${builderPath} -m cache-push --cachePushFrom ${
|
||||
CloudRunnerFolders.projectBuildFolderFull
|
||||
} --artifactName build-${guid} --cachePushTo ${`${linuxCacheFolder}/build`.replace(/\\/g, `/`)}
|
||||
du -h ${`${linuxCacheFolder}/build`.replace(/\\/g, `/`)}`;
|
||||
} --artifactName build-${guid} --cachePushTo ${`${linuxCacheFolder}/build`.replace(/\\/g, `/`)}`;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue