40 writes to Tags
Aspire.Hosting (6)
ApplicationModel\ProjectResource.cs (2)
57Tags = [WellKnownPipelineTags.BuildCompute], 70Tags = [WellKnownPipelineTags.PushContainerImage],
ContainerResourceBuilderExtensions.cs (2)
75Tags = [WellKnownPipelineTags.BuildCompute], 89Tags = [WellKnownPipelineTags.PushContainerImage],
Pipelines\PipelineStep.cs (1)
127Tags = [.. Tags],
Pipelines\PipelineStepFactoryExtensions.cs (1)
124Tags = tags is [..] ? [.. tags] : [],
Aspire.Hosting.Azure (2)
AzureBicepResource.cs (1)
53Tags = [WellKnownPipelineTags.ProvisionInfrastructure]
AzureEnvironmentResource.cs (1)
137Tags = [WellKnownPipelineTags.ProvisionInfrastructure],
Aspire.Hosting.Azure.AppContainers (3)
AzureContainerAppEnvironmentResource.cs (1)
74Tags = ["print-summary"],
AzureContainerAppResource.cs (2)
69Tags = ["print-summary"], 78Tags = [WellKnownPipelineTags.DeployCompute]
Aspire.Hosting.Azure.AppService (3)
AzureAppServiceEnvironmentResource.cs (1)
91Tags = ["print-summary"],
AzureAppServiceWebSiteResource.cs (2)
67Tags = ["print-summary"], 76Tags = [WellKnownPipelineTags.DeployCompute]
Aspire.Hosting.Azure.ContainerRegistry (1)
AzureContainerRegistryResource.cs (1)
34Tags = ["acr-login"],
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxContainerDeployment.cs (1)
53Tags = [WellKnownPipelineTags.DeployCompute],
Aspire.Hosting.Azure.Tests (3)
AzureSandboxesTests.cs (3)
2245Tags = [WellKnownPipelineTags.PushContainerImage], 2253Tags = ["acr-login"], 2403Tags = ["acr-login"],
Aspire.Hosting.Docker (3)
DockerComposeEnvironmentResource.cs (2)
132Tags = [DockerComposeUpTag], 200Tags = ["docker-compose-down"]
DockerComposeServiceResource.cs (1)
48Tags = ["print-summary"],
Aspire.Hosting.Foundry (2)
HostedAgent\AzureHostedAgentResource.cs (1)
61Tags = [WellKnownPipelineTags.DeployCompute],
PromptAgent\AzurePromptAgentResource.cs (1)
93Tags = [WellKnownPipelineTags.DeployCompute],
Aspire.Hosting.Kubernetes (4)
Deployment\HelmDeploymentEngine.cs (3)
163Tags = [HelmDeployTag], 175Tags = [PrintSummaryTag], 231Tags = [HelmUninstallTag],
KubernetesResource.cs (1)
39Tags = [HelmDeploymentEngine.PrintSummaryTag],
Aspire.Hosting.Rust.Tests (1)
AddRustAppPublishTests.cs (1)
345Tags = [WellKnownPipelineTags.BuildCompute],
Aspire.Hosting.Tests (11)
Pipelines\DistributedApplicationPipelineTests.cs (11)
1409Tags = ["tag1", "tag2"] 1506Tags = ["test-tag"] 1513Tags = ["test-tag", "another-tag"] 1520Tags = ["different-tag"] 1602Tags = ["build"] 1608Tags = ["deploy"] 1743Tags = [WellKnownPipelineTags.ProvisionInfrastructure] 1754Tags = [WellKnownPipelineTags.ProvisionInfrastructure] 1765Tags = [WellKnownPipelineTags.BuildCompute] 1776Tags = [WellKnownPipelineTags.DeployCompute] 2282Tags = ["build-compute", "custom-tag"]
30 references to Tags
Aspire.Hosting (9)
Backchannel\AppHostRpcTarget.cs (1)
333Tags = [.. step.Tags],
Pipelines\DistributedApplicationPipeline.cs (2)
1238if (step.Tags.Count > 0) 1240var sortedTags = step.Tags.OrderBy(tag => tag, StringComparer.Ordinal);
Pipelines\PipelineConfigurationContext.cs (2)
72return Steps.Where(s => s.Tags.Contains(tag)); 101return GetSteps(resource).Where(s => s.Tags.Contains(tag));
Pipelines\PipelineEditor.cs (1)
35return _steps.Where(s => s.Tags.Contains(tag)).ToArray();
Pipelines\PipelineStep.cs (3)
99Tags.Add(tag); 115/// <see cref="Tags"/> lists. Used by <see cref="DistributedApplicationPipeline"/> 127Tags = [.. Tags],
Aspire.Hosting.Azure.Kubernetes (1)
AzureKubernetesEnvironmentExtensions.cs (1)
114.Where(s => s.Tags.Contains(WellKnownPipelineTags.PushContainerImage))
Aspire.Hosting.Azure.Tests (3)
AzureContainerRegistryTests.cs (2)
160Assert.Contains("acr-login", loginStep.Tags); 218Assert.Contains(WellKnownPipelineTags.ProvisionInfrastructure, provisionStep.Tags);
AzureSandboxesTests.cs (1)
2239Assert.Contains(WellKnownPipelineTags.DeployCompute, deployStep.Tags);
Aspire.Hosting.Containers.Tests (6)
WithDockerfileTests.cs (6)
810var buildStep = steps.Single(s => s.Tags.Contains(WellKnownPipelineTags.BuildCompute)); 815var pushStep = steps.Single(s => s.Tags.Contains(WellKnownPipelineTags.PushContainerImage)); 977var buildStep = steps.Single(s => s.Tags.Contains(WellKnownPipelineTags.BuildCompute)); 982var pushStep = steps.Single(s => s.Tags.Contains(WellKnownPipelineTags.PushContainerImage)); 1022var buildStep = steps.Single(s => s.Tags.Contains(WellKnownPipelineTags.BuildCompute)); 1027var pushStep = steps.Single(s => s.Tags.Contains(WellKnownPipelineTags.PushContainerImage));
Aspire.Hosting.Tests (11)
ContainerRegistryResourceTests.cs (4)
386Assert.Contains(WellKnownPipelineTags.PushContainerImage, pushStep.Tags); 410Assert.Contains(WellKnownPipelineTags.PushContainerImage, pushStep.Tags); 434Assert.DoesNotContain(steps, s => s.Tags.Contains(WellKnownPipelineTags.PushContainerImage)); 462Assert.Contains(WellKnownPipelineTags.BuildCompute, buildStep.Tags);
Pipelines\DistributedApplicationPipelineTests.cs (5)
1412Assert.Equal(2, step.Tags.Count); 1413Assert.Contains("tag1", step.Tags); 1414Assert.Contains("tag2", step.Tags); 2289Assert.Contains("build-compute", taggedStep.Tags); 2290Assert.Contains("custom-tag", taggedStep.Tags);
ProjectResourceTests.cs (2)
866Assert.Contains(WellKnownPipelineTags.BuildCompute, buildStep.Tags); 871Assert.Contains(WellKnownPipelineTags.PushContainerImage, pushStep.Tags);