47 writes to Tags
Aspire.Hosting (6)
ApplicationModel\DotnetProgramPublishing.cs (2)
52Tags = [WellKnownPipelineTags.BuildCompute], 65Tags = [WellKnownPipelineTags.PushContainerImage],
ContainerResourceBuilderExtensions.cs (2)
72Tags = [WellKnownPipelineTags.BuildCompute], 86Tags = [WellKnownPipelineTags.PushContainerImage],
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)
135Tags = [WellKnownPipelineTags.ProvisionInfrastructure],
Aspire.Hosting.Azure.AppContainers (3)
AzureContainerAppEnvironmentResource.cs (1)
81Tags = ["print-summary"],
AzureContainerAppResource.cs (2)
67Tags = ["print-summary"], 76Tags = [WellKnownPipelineTags.DeployCompute]
Aspire.Hosting.Azure.AppService (3)
AzureAppServiceEnvironmentResource.cs (1)
90Tags = ["print-summary"],
AzureAppServiceWebSiteResource.cs (2)
65Tags = ["print-summary"], 74Tags = [WellKnownPipelineTags.DeployCompute]
Aspire.Hosting.Azure.ContainerRegistry (1)
AzureContainerRegistryResource.cs (1)
34Tags = ["acr-login"],
Aspire.Hosting.Azure.Sandboxes (2)
AzureSandboxContainerDeployment.cs (1)
71Tags = [WellKnownPipelineTags.DeployCompute],
AzureSandboxGroupResource.cs (1)
59Tags = ["print-summary"]
Aspire.Hosting.Azure.Tests (3)
AzureSandboxesTests.cs (3)
2427Tags = [WellKnownPipelineTags.PushContainerImage], 2435Tags = ["acr-login"], 2895Tags = ["acr-login"],
Aspire.Hosting.Docker (3)
DockerComposeEnvironmentResource.cs (2)
130Tags = [DockerComposeUpTag], 198Tags = ["docker-compose-down"]
DockerComposeServiceResource.cs (1)
48Tags = ["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 (11)
Pipelines\DistributedApplicationPipelineTests.cs (11)
1437Tags = ["tag1", "tag2"] 1534Tags = ["test-tag"] 1541Tags = ["test-tag", "another-tag"] 1548Tags = ["different-tag"] 1630Tags = ["build"] 1636Tags = ["deploy"] 1771Tags = [WellKnownPipelineTags.ProvisionInfrastructure] 1782Tags = [WellKnownPipelineTags.ProvisionInfrastructure] 1793Tags = [WellKnownPipelineTags.BuildCompute] 1804Tags = [WellKnownPipelineTags.DeployCompute] 2429Tags = ["build-compute", "custom-tag"]
34 references to Tags
Aspire.Hosting (9)
Backchannel\AppHostRpcTarget.cs (1)
340Tags = [.. step.Tags],
Pipelines\DistributedApplicationPipeline.cs (2)
1200if (step.Tags.Count > 0) 1202var 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)
182.Where(s => s.Tags.Contains(WellKnownPipelineTags.PushContainerImage))
Aspire.Hosting.Azure.Tests (5)
AzureContainerAppExpressEndpointTests.cs (1)
386var 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)
56Assert.Contains("print-summary", firstSummaryStep.Tags); 2421Assert.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 (11)
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)
1440Assert.Equal(2, step.Tags.Count); 1441Assert.Contains("tag1", step.Tags); 1442Assert.Contains("tag2", step.Tags); 2436Assert.Contains("build-compute", taggedStep.Tags); 2437Assert.Contains("custom-tag", taggedStep.Tags);
ProjectResourceTests.cs (2)
872Assert.Contains(WellKnownPipelineTags.BuildCompute, buildStep.Tags); 877Assert.Contains(WellKnownPipelineTags.PushContainerImage, pushStep.Tags);