1 implementation of IPublishingStep
Aspire.Hosting (1)
Publishing\PublishingStep.cs (1)
15internal sealed class PublishingStep : IPublishingStep
55 references to IPublishingStep
Aspire.Hosting (15)
Publishing\IPublishingActivityReporter.cs (1)
20Task<IPublishingStep> CreateStepAsync(string title, CancellationToken cancellationToken = default);
Publishing\Publisher.cs (1)
31var step = await progressReporter.CreateStepAsync(
Publishing\PublishingActivityReporter.cs (1)
36public async Task<IPublishingStep> CreateStepAsync(string title, CancellationToken cancellationToken = default)
Publishing\PublishingExtensions.cs (7)
11/// Extension methods for <see cref="IPublishingStep"/> and <see cref="IPublishingTask"/> to provide direct operations. 23public static async Task<IPublishingStep> SucceedAsync( 24this IPublishingStep step, 40public static async Task<IPublishingStep> WarnAsync( 41this IPublishingStep step, 57public static async Task<IPublishingStep> FailAsync( 58this IPublishingStep step,
Publishing\ResourceContainerImageBuilder.cs (5)
131var step = await activityReporter.CreateStepAsync( 181private async Task BuildImageAsync(IPublishingStep? step, IResource resource, ContainerBuildOptions? options, CancellationToken cancellationToken) 218private async Task BuildProjectContainerImageAsync(IResource resource, IPublishingStep? step, ContainerBuildOptions? options, CancellationToken cancellationToken) 325private async Task BuildContainerImageFromDockerfileAsync(string resourceName, string contextPath, string dockerfilePath, string imageName, IPublishingStep? step, ContainerBuildOptions? options, CancellationToken cancellationToken) 377IPublishingStep? step,
Aspire.Hosting.Azure (8)
AzureDeployingContext.cs (6)
65var deployingStep = await activityReporter.CreateStepAsync("Deploying to Azure", cancellationToken).ConfigureAwait(false); 161var computeStep = await activityReporter.CreateStepAsync("Deploying compute resources", cancellationToken).ConfigureAwait(false); 183private async Task DeployComputeResource(IPublishingStep parentStep, IResource computeResource, ProvisioningContext provisioningContext, CancellationToken cancellationToken) 247var acrStep = await activityReporter.CreateStepAsync($"Pushing images to {registryName}", cancellationToken).ConfigureAwait(false); 275private static async Task AuthenticateToAcr(IPublishingStep parentStep, string registryName, CancellationToken cancellationToken) 300private static async Task PushImageToAcr(IPublishingStep parentStep, IEnumerable<IResource> resources, CancellationToken cancellationToken)
AzurePublishingContext.cs (2)
88var step = await ActivityReporter.CreateStepAsync( 118private async Task WriteAzureArtifactsOutputAsync(IPublishingStep step, DistributedApplicationModel model, AzureEnvironmentResource environment, CancellationToken cancellationToken)
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
129var step = await activityReporter.CreateStepAsync(
Aspire.Hosting.Tests (31)
Publishing\PublishingActivityReporterTests.cs (24)
27var step = await reporter.CreateStepAsync(title, CancellationToken.None); 58var step = await reporter.CreateStepAsync("Parent Step", CancellationToken.None); 110var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 129var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 160var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 191var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 195var dummyStep = await reporter.CreateStepAsync("Dummy Step", CancellationToken.None); 213var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 232var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 267var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 329var step1 = await reporter.CreateStepAsync("Step 1", CancellationToken.None); 330var step2 = await reporter.CreateStepAsync("Step 2", CancellationToken.None); 331var step3 = await reporter.CreateStepAsync("Step 3", CancellationToken.None); 366var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 383var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 403var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 422var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 455await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 540var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 555var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 583var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 617var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 642var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 677var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);
Publishing\PublishingExtensionsTests.cs (7)
19await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 38await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 41var result = await step.SucceedAsync("Success message", CancellationToken.None); 56await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 75await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 93await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None); 111await using var step = await reporter.CreateStepAsync("Test Step", CancellationToken.None);