remove some legacy du commands

pull/353/head
Frostebite 2022-04-10 00:54:31 +01:00
parent 09c06d936d
commit cd86d9403e
4 changed files with 3 additions and 13 deletions

7
dist/index.js vendored
View File

@ -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;

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -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() {

View File

@ -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, `/`)}`;
}
}