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)
133Tags = [WellKnownPipelineTags.ProvisionInfrastructure],
Aspire.Hosting.Azure.AppContainers (3)
AzureContainerAppEnvironmentResource.cs (1)
72Tags = ["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)
33Tags = ["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)
2426Tags = [WellKnownPipelineTags.PushContainerImage], 2434Tags = ["acr-login"], 2894Tags = ["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)
400Tags = [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)
1407Tags = ["tag1", "tag2"] 1504Tags = ["test-tag"] 1511Tags = ["test-tag", "another-tag"] 1518Tags = ["different-tag"] 1600Tags = ["build"] 1606Tags = ["deploy"] 1741Tags = [WellKnownPipelineTags.ProvisionInfrastructure] 1752Tags = [WellKnownPipelineTags.ProvisionInfrastructure] 1763Tags = [WellKnownPipelineTags.BuildCompute] 1774Tags = [WellKnownPipelineTags.DeployCompute] 2399Tags = ["build-compute", "custom-tag"]
34 references to Tags
Aspire.Hosting (9)
Backchannel\AppHostRpcTarget.cs (1)
331Tags = [.. step.Tags],
Pipelines\DistributedApplicationPipeline.cs (2)
1198if (step.Tags.Count > 0) 1200var 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)
112.Where(s => s.Tags.Contains(WellKnownPipelineTags.PushContainerImage))
Aspire.Hosting.Azure.Tests (5)
AzureContainerAppExpressEndpointTests.cs (1)
382var summaryStep = Assert.Single(steps, step => step.Tags.Contains("print-summary"));
AzureContainerRegistryTests.cs (2)
158Assert.Contains("acr-login", loginStep.Tags); 216Assert.Contains(WellKnownPipelineTags.ProvisionInfrastructure, provisionStep.Tags);
AzureSandboxesTests.cs (2)
55Assert.Contains("print-summary", firstSummaryStep.Tags); 2420Assert.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)
385Assert.Contains(WellKnownPipelineTags.PushContainerImage, pushStep.Tags); 409Assert.Contains(WellKnownPipelineTags.PushContainerImage, pushStep.Tags); 433Assert.DoesNotContain(steps, s => s.Tags.Contains(WellKnownPipelineTags.PushContainerImage)); 461Assert.Contains(WellKnownPipelineTags.BuildCompute, buildStep.Tags);
Pipelines\DistributedApplicationPipelineTests.cs (5)
1410Assert.Equal(2, step.Tags.Count); 1411Assert.Contains("tag1", step.Tags); 1412Assert.Contains("tag2", step.Tags); 2406Assert.Contains("build-compute", taggedStep.Tags); 2407Assert.Contains("custom-tag", taggedStep.Tags);
ProjectResourceTests.cs (2)
867Assert.Contains(WellKnownPipelineTags.BuildCompute, buildStep.Tags); 872Assert.Contains(WellKnownPipelineTags.PushContainerImage, pushStep.Tags);