50 writes to Tags
Aspire.Hosting (7)
ApplicationModel\DotnetProgramPublishing.cs (2)
52Tags = [WellKnownPipelineTags.BuildCompute], 65Tags = [WellKnownPipelineTags.PushContainerImage],
ContainerResourceBuilderExtensions.cs (2)
72Tags = [WellKnownPipelineTags.BuildCompute], 86Tags = [WellKnownPipelineTags.PushContainerImage],
PipelineOutputDiffingExtensions.cs (1)
190Tags = [BaselineTag],
Pipelines\PipelineStep.cs (1)
127Tags = [.. Tags],
Pipelines\PipelineStepFactoryExtensions.cs (1)
122Tags = tags is [..] ? [.. tags] : [],
Aspire.Hosting.Azure (2)
AzureBicepResource.cs (1)
49Tags = [WellKnownPipelineTags.ProvisionInfrastructure]
AzureEnvironmentResource.cs (1)
138Tags = [WellKnownPipelineTags.ProvisionInfrastructure],
Aspire.Hosting.Azure.AppContainers (3)
AzureContainerAppEnvironmentResource.cs (1)
90Tags = ["print-summary"],
AzureContainerAppResource.cs (2)
70Tags = ["print-summary"], 79Tags = [WellKnownPipelineTags.DeployCompute]
Aspire.Hosting.Azure.AppService (3)
AzureAppServiceEnvironmentResource.cs (1)
132Tags = ["print-summary"],
AzureAppServiceWebSiteResource.cs (2)
68Tags = ["print-summary"], 77Tags = [WellKnownPipelineTags.DeployCompute]
Aspire.Hosting.Azure.ContainerRegistry (1)
AzureContainerRegistryResource.cs (1)
37Tags = ["acr-login"],
Aspire.Hosting.Azure.Sandboxes (2)
AzureSandboxContainerDeployment.cs (1)
71Tags = [WellKnownPipelineTags.DeployCompute],
AzureSandboxGroupResource.cs (1)
59Tags = ["print-summary"]
Aspire.Hosting.Azure.Tests (4)
AzureApiManagementTests.cs (1)
1114Tags = [WellKnownPipelineTags.ProvisionInfrastructure],
AzureSandboxesTests.cs (3)
2475Tags = [WellKnownPipelineTags.PushContainerImage], 2483Tags = ["acr-login"], 2943Tags = ["acr-login"],
Aspire.Hosting.Docker (3)
DockerComposeEnvironmentResource.cs (2)
135Tags = [DockerComposeUpTag], 203Tags = ["docker-compose-down"]
DockerComposeServiceResource.cs (1)
52Tags = ["print-summary"],
Aspire.Hosting.Foundry (3)
HostedAgent\AzureHostedAgentResource.cs (1)
59Tags = [WellKnownPipelineTags.DeployCompute],
PromptAgent\AzurePromptAgentResource.cs (1)
93Tags = [WellKnownPipelineTags.DeployCompute],
Toolbox\FoundryToolboxResource.cs (1)
89Tags = [WellKnownPipelineTags.DeployCompute],
Aspire.Hosting.Foundry.Tests (2)
ToolboxTests.cs (2)
824Tags = { WellKnownPipelineTags.DeployCompute }, 904Tags = { WellKnownPipelineTags.DeployCompute },
Aspire.Hosting.Kubernetes (7)
CertManagerExtensions.cs (1)
391Tags = [HelmDeploymentEngine.GetKubernetesDestroyTag(certManager.Parent.Name)]
Deployment\HelmDeploymentEngine.cs (4)
163Tags = [HelmDeployTag], 175Tags = [PrintSummaryTag], 187Tags = [GetKubernetesDestroyTag(environment.Name)], 235Tags = [HelmUninstallTag, GetKubernetesDestroyTag(environment.Name)],
KubernetesHelmChartExtensions.cs (1)
113Tags = [HelmDeploymentEngine.GetKubernetesDestroyTag(environment.Name)]
KubernetesResource.cs (1)
39Tags = [HelmDeploymentEngine.PrintSummaryTag],
Aspire.Hosting.Rust.Tests (1)
AddRustAppPublishTests.cs (1)
343Tags = [WellKnownPipelineTags.BuildCompute],
Aspire.Hosting.Tests (12)
Pipelines\DistributedApplicationPipelineTests.cs (11)
1466Tags = ["tag1", "tag2"] 1563Tags = ["test-tag"] 1570Tags = ["test-tag", "another-tag"] 1577Tags = ["different-tag"] 1659Tags = ["build"] 1665Tags = ["deploy"] 1800Tags = [WellKnownPipelineTags.ProvisionInfrastructure] 1811Tags = [WellKnownPipelineTags.ProvisionInfrastructure] 1822Tags = [WellKnownPipelineTags.BuildCompute] 1833Tags = [WellKnownPipelineTags.DeployCompute] 2535Tags = ["build-compute", "custom-tag"]
Pipelines\PipelineOutputDiffingTests.cs (1)
265Tags = ["custom-tag"],
36 references to Tags
Aspire.Hosting (10)
Backchannel\AppHostRpcTarget.cs (1)
340Tags = [.. step.Tags],
PipelineOutputDiffingExtensions.cs (1)
233if (!candidate.Tags.Contains(BaselineTag))
Pipelines\DistributedApplicationPipeline.cs (2)
1227if (step.Tags.Count > 0) 1229var sortedTags = step.Tags.OrderBy(tag => tag, StringComparer.Ordinal);
Pipelines\PipelineConfigurationContext.cs (2)
70return Steps.Where(s => s.Tags.Contains(tag)); 99return GetSteps(resource).Where(s => s.Tags.Contains(tag));
Pipelines\PipelineEditor.cs (1)
30return _steps.Where(s => s.Tags.Contains(tag)).ToArray();
Pipelines\PipelineStep.cs (3)
99Tags.Add(tag); 114/// <see cref="DependsOnSteps"/>, <see cref="RequiredBySteps"/>, <see cref="Tags"/>, 127Tags = [.. Tags],
Aspire.Hosting.Azure.Kubernetes (1)
AzureKubernetesEnvironmentExtensions.cs (1)
209.Where(s => s.Tags.Contains(WellKnownPipelineTags.PushContainerImage))
Aspire.Hosting.Azure.Tests (5)
AzureContainerAppExpressEndpointTests.cs (1)
414var summaryStep = Assert.Single(steps, step => step.Tags.Contains("print-summary"));
AzureContainerRegistryTests.cs (2)
160Assert.Contains("acr-login", loginStep.Tags); 218Assert.Contains(WellKnownPipelineTags.ProvisionInfrastructure, provisionStep.Tags);
AzureSandboxesTests.cs (2)
88Assert.Contains("print-summary", firstSummaryStep.Tags); 2469Assert.Contains(WellKnownPipelineTags.DeployCompute, deployStep.Tags);
Aspire.Hosting.Containers.Tests (6)
WithDockerfileTests.cs (6)
808var buildStep = steps.Single(s => s.Tags.Contains(WellKnownPipelineTags.BuildCompute)); 813var pushStep = steps.Single(s => s.Tags.Contains(WellKnownPipelineTags.PushContainerImage)); 975var buildStep = steps.Single(s => s.Tags.Contains(WellKnownPipelineTags.BuildCompute)); 980var pushStep = steps.Single(s => s.Tags.Contains(WellKnownPipelineTags.PushContainerImage)); 1020var buildStep = steps.Single(s => s.Tags.Contains(WellKnownPipelineTags.BuildCompute)); 1025var pushStep = steps.Single(s => s.Tags.Contains(WellKnownPipelineTags.PushContainerImage));
Aspire.Hosting.Foundry.Tests (2)
ToolboxTests.cs (2)
288Assert.Contains(WellKnownPipelineTags.DeployCompute, step.Tags); 323Assert.Contains(WellKnownPipelineTags.DeployCompute, deploy.Tags);
Aspire.Hosting.Tests (12)
ContainerRegistryResourceTests.cs (4)
378Assert.Contains(WellKnownPipelineTags.PushContainerImage, pushStep.Tags); 402Assert.DoesNotContain(steps, s => s.Tags.Contains(WellKnownPipelineTags.PushContainerImage)); 482Assert.Contains(WellKnownPipelineTags.PushContainerImage, pushStep.Tags); 510Assert.Contains(WellKnownPipelineTags.BuildCompute, buildStep.Tags);
Pipelines\DistributedApplicationPipelineTests.cs (5)
1469Assert.Equal(2, step.Tags.Count); 1470Assert.Contains("tag1", step.Tags); 1471Assert.Contains("tag2", step.Tags); 2542Assert.Contains("build-compute", taggedStep.Tags); 2543Assert.Contains("custom-tag", taggedStep.Tags);
Pipelines\PipelineOutputDiffingTests.cs (1)
288Assert.Contains("custom-tag", check.Tags);
ProjectResourceTests.cs (2)
895Assert.Contains(WellKnownPipelineTags.BuildCompute, buildStep.Tags); 900Assert.Contains(WellKnownPipelineTags.PushContainerImage, pushStep.Tags);