Caching cleanup
							parent
							
								
									e99686d5b7
								
							
						
					
					
						commit
						8705f428be
					
				|  | @ -545,11 +545,11 @@ class Caching { | ||||||
|                 if (__1.Input.cloudRunnerTests) { |                 if (__1.Input.cloudRunnerTests) { | ||||||
|                     yield Caching.printFullCacheHierarchySize(); |                     yield Caching.printFullCacheHierarchySize(); | ||||||
|                 } |                 } | ||||||
|                 process.chdir(path_1.default.join(sourceFolder, `..`)); |                 process.chdir(path_1.default.join(sourceFolder, `..`, `..`)); | ||||||
|                 if (__1.Input.cloudRunnerTests) { |                 if (__1.Input.cloudRunnerTests) { | ||||||
|                     cloud_runner_logger_1.default.log(`Hashed cache folder ${yield lfs_hashing_1.LFSHashing.hashAllFiles(sourceFolder)}`); |                     cloud_runner_logger_1.default.log(`Hashed cache folder ${yield lfs_hashing_1.LFSHashing.hashAllFiles(sourceFolder)}`); | ||||||
|                 } |                 } | ||||||
|                 console_1.assert(fs_1.default.existsSync(`${sourceFolder}`)); |                 console_1.assert(fs_1.default.existsSync(`${path_1.default.basename(sourceFolder)}`)); | ||||||
|                 if (__1.Input.cloudRunnerTests) { |                 if (__1.Input.cloudRunnerTests) { | ||||||
|                     yield cloud_runner_system_1.CloudRunnerSystem.Run(`ls`); |                     yield cloud_runner_system_1.CloudRunnerSystem.Run(`ls`); | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -18,12 +18,12 @@ export class Caching { | ||||||
|       if (Input.cloudRunnerTests) { |       if (Input.cloudRunnerTests) { | ||||||
|         await Caching.printFullCacheHierarchySize(); |         await Caching.printFullCacheHierarchySize(); | ||||||
|       } |       } | ||||||
|       process.chdir(path.join(sourceFolder, `..`)); |       process.chdir(path.join(sourceFolder, `..`, `..`)); | ||||||
| 
 | 
 | ||||||
|       if (Input.cloudRunnerTests) { |       if (Input.cloudRunnerTests) { | ||||||
|         CloudRunnerLogger.log(`Hashed cache folder ${await LFSHashing.hashAllFiles(sourceFolder)}`); |         CloudRunnerLogger.log(`Hashed cache folder ${await LFSHashing.hashAllFiles(sourceFolder)}`); | ||||||
|       } |       } | ||||||
|       assert(fs.existsSync(`${sourceFolder}`)); |       assert(fs.existsSync(`${path.basename(sourceFolder)}`)); | ||||||
| 
 | 
 | ||||||
|       if (Input.cloudRunnerTests) { |       if (Input.cloudRunnerTests) { | ||||||
|         await CloudRunnerSystem.Run(`ls`); |         await CloudRunnerSystem.Run(`ls`); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue