Skip to content

Commit

Permalink
(cake-buildGH-3610) Remove TFBuild Provider
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed Oct 17, 2021
1 parent a7543ce commit 5d3559d
Show file tree
Hide file tree
Showing 25 changed files with 1 addition and 2,164 deletions.
7 changes: 0 additions & 7 deletions src/Cake.Common/Build/BuildSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
using Cake.Common.Build.Jenkins;
using Cake.Common.Build.MyGet;
using Cake.Common.Build.TeamCity;
using Cake.Common.Build.TFBuild;
using Cake.Common.Build.TravisCI;

namespace Cake.Common.Build
Expand All @@ -40,7 +39,6 @@ public sealed class BuildSystem
/// <param name="bitbucketPipelinesProvider">The Bitbucket Pipelines provider.</param>
/// <param name="goCDProvider">The Go.CD provider.</param>
/// <param name="gitLabCIProvider">The GitLab CI provider.</param>
/// <param name="tfBuildProvider">The TF Build provider.</param>
/// <param name="gitHubActionsProvider">The GitHub Actions provider.</param>
/// <param name="azurePipelinesProvider">The Azure Pipelines provider.</param>
public BuildSystem(
Expand All @@ -55,7 +53,6 @@ public BuildSystem(
IBitbucketPipelinesProvider bitbucketPipelinesProvider,
IGoCDProvider goCDProvider,
IGitLabCIProvider gitLabCIProvider,
ITFBuildProvider tfBuildProvider,
IGitHubActionsProvider gitHubActionsProvider,
IAzurePipelinesProvider azurePipelinesProvider)
{
Expand Down Expand Up @@ -103,10 +100,6 @@ public BuildSystem(
{
throw new ArgumentNullException(nameof(gitLabCIProvider));
}
if (tfBuildProvider == null)
{
throw new ArgumentNullException(nameof(tfBuildProvider));
}
if (gitHubActionsProvider == null)
{
throw new ArgumentNullException(nameof(gitHubActionsProvider));
Expand Down
4 changes: 1 addition & 3 deletions src/Cake.Common/Build/BuildSystemAliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
using Cake.Common.Build.Jenkins;
using Cake.Common.Build.MyGet;
using Cake.Common.Build.TeamCity;
using Cake.Common.Build.TFBuild;
using Cake.Common.Build.TravisCI;
using Cake.Core;
using Cake.Core.Annotations;
Expand Down Expand Up @@ -58,11 +57,10 @@ public static BuildSystem BuildSystem(this ICakeContext context)
var bitbucketPipelinesProvider = new BitbucketPipelinesProvider(context.Environment);
var goCDProvider = new GoCDProvider(context.Environment, context.Log);
var gitLabCIProvider = new GitLabCIProvider(context.Environment);
var tfBuildProvider = new TFBuildProvider(context.Environment, new BuildSystemServiceMessageWriter());
var gitHubActionsProvider = new GitHubActionsProvider(context.Environment);
var azurePipelinesProvider = new AzurePipelinesProvider(context.Environment, new BuildSystemServiceMessageWriter());

return new BuildSystem(appVeyorProvider, teamCityProvider, myGetProvider, bambooProvider, continuaCIProvider, jenkinsProvider, bitriseProvider, travisCIProvider, bitbucketPipelinesProvider, goCDProvider, gitLabCIProvider, tfBuildProvider, gitHubActionsProvider, azurePipelinesProvider);
return new BuildSystem(appVeyorProvider, teamCityProvider, myGetProvider, bambooProvider, continuaCIProvider, jenkinsProvider, bitriseProvider, travisCIProvider, bitbucketPipelinesProvider, goCDProvider, gitLabCIProvider, gitHubActionsProvider, azurePipelinesProvider);
}

/// <summary>
Expand Down
111 changes: 0 additions & 111 deletions src/Cake.Common/Build/TFBuild/Data/TFBuildAgentInfo.cs

This file was deleted.

37 changes: 0 additions & 37 deletions src/Cake.Common/Build/TFBuild/Data/TFBuildArtifactType.cs

This file was deleted.

47 changes: 0 additions & 47 deletions src/Cake.Common/Build/TFBuild/Data/TFBuildDefinitionInfo.cs

This file was deleted.

Loading

0 comments on commit 5d3559d

Please sign in to comment.