test
parent
baff117be0
commit
d0b23bcaa0
|
|
@ -639,7 +639,7 @@ class SetupRemoteRepository {
|
||||||
if (fs_1.default.existsSync(latestLFSCacheFile)) {
|
if (fs_1.default.existsSync(latestLFSCacheFile)) {
|
||||||
cloud_runner_logger_1.default.logRemoteCli(`LFS cache exists`);
|
cloud_runner_logger_1.default.logRemoteCli(`LFS cache exists`);
|
||||||
fs_1.default.rmdirSync(cloud_runner_state_1.CloudRunnerState.lfsDirectory, { recursive: true });
|
fs_1.default.rmdirSync(cloud_runner_state_1.CloudRunnerState.lfsDirectory, { recursive: true });
|
||||||
cloud_runner_logger_1.default.logRemoteCli(`LFS cache exists from build $latestLFSCacheFile from $branch`);
|
cloud_runner_logger_1.default.logRemoteCli(`LFS cache exists from build ${latestLFSCacheFile} from ${cloud_runner_state_1.CloudRunnerState.buildParams.branch}`);
|
||||||
yield remote_client_system_1.RemoteClientSystem.Run(`unzip -q "${lfsCacheFolder}/${latestLFSCacheFile}" -d "${path_1.default.join(cloud_runner_state_1.CloudRunnerState.repoPathFull, `.git`)}"`);
|
yield remote_client_system_1.RemoteClientSystem.Run(`unzip -q "${lfsCacheFolder}/${latestLFSCacheFile}" -d "${path_1.default.join(cloud_runner_state_1.CloudRunnerState.repoPathFull, `.git`)}"`);
|
||||||
yield remote_client_system_1.RemoteClientSystem.Run(`ls -lh "${cloud_runner_state_1.CloudRunnerState.lfsDirectory}"`);
|
yield remote_client_system_1.RemoteClientSystem.Run(`ls -lh "${cloud_runner_state_1.CloudRunnerState.lfsDirectory}"`);
|
||||||
cloud_runner_logger_1.default.logRemoteCli(`git LFS folder, (should not contain $latestLFSCacheFile)`);
|
cloud_runner_logger_1.default.logRemoteCli(`git LFS folder, (should not contain $latestLFSCacheFile)`);
|
||||||
|
|
@ -815,7 +815,8 @@ class AWSBaseStack {
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
cloud_runner_logger_1.default.log(JSON.stringify(error, undefined, 4));
|
cloud_runner_logger_1.default.log(JSON.stringify(error, undefined, 4));
|
||||||
cloud_runner_logger_1.default.log(`Update Failed, Stack name: ${baseStackName}, Continuing anyway`);
|
cloud_runner_logger_1.default.log(`Update Failed (Stack name: ${baseStackName}) Continuing anyway`);
|
||||||
|
cloud_runner_logger_1.default.log(`Update Failed (Stack name: ${baseStackName}) Continuing anyway`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -104,7 +104,9 @@ export class SetupRemoteRepository {
|
||||||
if (fs.existsSync(latestLFSCacheFile)) {
|
if (fs.existsSync(latestLFSCacheFile)) {
|
||||||
CloudRunnerLogger.logRemoteCli(`LFS cache exists`);
|
CloudRunnerLogger.logRemoteCli(`LFS cache exists`);
|
||||||
fs.rmdirSync(CloudRunnerState.lfsDirectory, { recursive: true });
|
fs.rmdirSync(CloudRunnerState.lfsDirectory, { recursive: true });
|
||||||
CloudRunnerLogger.logRemoteCli(`LFS cache exists from build $latestLFSCacheFile from $branch`);
|
CloudRunnerLogger.logRemoteCli(
|
||||||
|
`LFS cache exists from build ${latestLFSCacheFile} from ${CloudRunnerState.buildParams.branch}`,
|
||||||
|
);
|
||||||
await RemoteClientSystem.Run(
|
await RemoteClientSystem.Run(
|
||||||
`unzip -q "${lfsCacheFolder}/${latestLFSCacheFile}" -d "${path.join(CloudRunnerState.repoPathFull, `.git`)}"`,
|
`unzip -q "${lfsCacheFolder}/${latestLFSCacheFile}" -d "${path.join(CloudRunnerState.repoPathFull, `.git`)}"`,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue