Skip to content

Commit 864aa2d

Browse files
committed
Git: stop using SSH.
1 parent 754cb09 commit 864aa2d

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.teamcity/settings.kts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,6 @@ object PublicDeployment : BuildType({
240240
lockingProcesses = Swabra.LockingProcessPolicy.KILL
241241
verbose = true
242242
}
243-
sshAgent {
244-
// By convention, the SSH key name is always PostSharp.Engineering for all repositories using SSH to connect.
245-
teamcitySshKey = "PostSharp.Engineering"
246-
}
247243
}
248244

249245
dependencies {
@@ -308,10 +304,6 @@ object VersionBump : BuildType({
308304
lockingProcesses = Swabra.LockingProcessPolicy.KILL
309305
verbose = true
310306
}
311-
sshAgent {
312-
// By convention, the SSH key name is always PostSharp.Engineering for all repositories using SSH to connect.
313-
teamcitySshKey = "PostSharp.Engineering"
314-
}
315307
}
316308

317309
})

src/PostSharp.Engineering.BuildTools/ContinuousIntegration/GitHubRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class GitHubRepository : VcsRepository
3030

3131
public override string TeamCityRemoteUrl => this.SshUrl;
3232

33-
public override bool IsSshAgentRequired => true;
33+
public override bool IsSshAgentRequired => false;
3434

3535
public override string TokenEnvironmentVariableName => EnvironmentVariableNames.GitHubToken;
3636

0 commit comments

Comments
 (0)