test
parent
8c659a31b7
commit
1b151ee71f
|
|
@ -562,7 +562,7 @@ class SetupRemoteRepository {
|
|||
const libraryCacheFolder = path_1.default.join(cloud_runner_state_1.CloudRunnerState.cacheFolderFull, `lib`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`tree ${libraryCacheFolder}`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`tree ${cloud_runner_state_1.CloudRunnerState.builderPathFull}`);
|
||||
yield SetupRemoteRepository.libraryCaching(lfsCacheFolder, libraryCacheFolder);
|
||||
yield SetupRemoteRepository.libraryCaching(libraryCacheFolder);
|
||||
yield SetupRemoteRepository.lfsCaching(lfsCacheFolder);
|
||||
yield SetupRemoteRepository.printCacheState(lfsCacheFolder, libraryCacheFolder);
|
||||
yield SetupRemoteRepository.pullLatestLFS();
|
||||
|
|
@ -652,7 +652,7 @@ class SetupRemoteRepository {
|
|||
}
|
||||
});
|
||||
}
|
||||
static libraryCaching(lfsCacheFolder, libraryCacheFolder) {
|
||||
static libraryCaching(libraryCacheFolder) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
cloud_runner_logger_1.default.logCli(`Starting checks of cache for the Unity project Library and git LFS files`);
|
||||
if (!fs_1.default.existsSync(libraryCacheFolder)) {
|
||||
|
|
@ -2736,7 +2736,7 @@ class BuildStep {
|
|||
cd "${cloud_runner_state_1.CloudRunnerState.repoPathFull}"
|
||||
ls -lh "${cloud_runner_state_1.CloudRunnerState.repoPathFull}"
|
||||
zip -r "build-$BUILDID.zip" "./${cloud_runner_state_1.CloudRunnerState.buildParams.buildPath}"
|
||||
mv "build-$BUILDID.zip" "${cloud_runner_state_1.CloudRunnerState.cacheFolderFull}/lib/build-$BUILDID.zip"
|
||||
mv "build-$BUILDID.zip" "${cloud_runner_state_1.CloudRunnerState.cacheFolderFull}/build-$BUILDID.zip"
|
||||
ls ${cloud_runner_state_1.CloudRunnerState.cacheFolderFull}/lib
|
||||
echo " "
|
||||
ls
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -18,7 +18,7 @@ export class SetupRemoteRepository {
|
|||
const libraryCacheFolder = path.join(CloudRunnerState.cacheFolderFull, `lib`);
|
||||
await RemoteClientSystem.Run(`tree ${libraryCacheFolder}`);
|
||||
await RemoteClientSystem.Run(`tree ${CloudRunnerState.builderPathFull}`);
|
||||
await SetupRemoteRepository.libraryCaching(lfsCacheFolder, libraryCacheFolder);
|
||||
await SetupRemoteRepository.libraryCaching(libraryCacheFolder);
|
||||
await SetupRemoteRepository.lfsCaching(lfsCacheFolder);
|
||||
|
||||
await SetupRemoteRepository.printCacheState(lfsCacheFolder, libraryCacheFolder);
|
||||
|
|
@ -116,7 +116,7 @@ export class SetupRemoteRepository {
|
|||
}
|
||||
}
|
||||
|
||||
private static async libraryCaching(lfsCacheFolder: string, libraryCacheFolder: string) {
|
||||
private static async libraryCaching(libraryCacheFolder: string) {
|
||||
CloudRunnerLogger.logCli(`Starting checks of cache for the Unity project Library and git LFS files`);
|
||||
if (!fs.existsSync(libraryCacheFolder)) {
|
||||
fs.mkdirSync(libraryCacheFolder);
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ export class BuildStep implements StepInterface {
|
|||
cd "${CloudRunnerState.repoPathFull}"
|
||||
ls -lh "${CloudRunnerState.repoPathFull}"
|
||||
zip -r "build-$BUILDID.zip" "./${CloudRunnerState.buildParams.buildPath}"
|
||||
mv "build-$BUILDID.zip" "${CloudRunnerState.cacheFolderFull}/lib/build-$BUILDID.zip"
|
||||
mv "build-$BUILDID.zip" "${CloudRunnerState.cacheFolderFull}/build-$BUILDID.zip"
|
||||
ls ${CloudRunnerState.cacheFolderFull}/lib
|
||||
echo " "
|
||||
ls
|
||||
|
|
|
|||
Loading…
Reference in New Issue