Cleanup
parent
1275e804f6
commit
dd9c145a97
|
|
@ -667,7 +667,7 @@ class SetupRemoteRepository {
|
|||
cloud_runner_logger_1.default.logRemoteCli(`Cloning the repository being built:`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`git lfs install --skip-smudge`);
|
||||
cloud_runner_logger_1.default.logRemoteCli(cloud_runner_state_1.CloudRunnerState.targetBuildRepoUrl);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`git clone --depth 1 ${cloud_runner_state_1.CloudRunnerState.targetBuildRepoUrl}`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`git clone --depth 1 ${cloud_runner_state_1.CloudRunnerState.targetBuildRepoUrl} ${cloud_runner_state_1.CloudRunnerState.repoPathFull}`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`ls -lh`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`tree`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`git checkout ${cloud_runner_state_1.CloudRunnerState.buildParams.gitSha}`);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -140,7 +140,9 @@ export class SetupRemoteRepository {
|
|||
CloudRunnerLogger.logRemoteCli(`Cloning the repository being built:`);
|
||||
await RemoteClientSystem.Run(`git lfs install --skip-smudge`);
|
||||
CloudRunnerLogger.logRemoteCli(CloudRunnerState.targetBuildRepoUrl);
|
||||
await RemoteClientSystem.Run(`git clone --depth 1 ${CloudRunnerState.targetBuildRepoUrl}`);
|
||||
await RemoteClientSystem.Run(
|
||||
`git clone --depth 1 ${CloudRunnerState.targetBuildRepoUrl} ${CloudRunnerState.repoPathFull}`,
|
||||
);
|
||||
await RemoteClientSystem.Run(`ls -lh`);
|
||||
await RemoteClientSystem.Run(`tree`);
|
||||
await RemoteClientSystem.Run(`git checkout ${CloudRunnerState.buildParams.gitSha}`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue