File: Pipelines\WellKnownPipelineSteps.cs
Web Access
Project: src\src\Aspire.Hosting\Aspire.Hosting.csproj (Aspire.Hosting)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Diagnostics.CodeAnalysis;
 
namespace Aspire.Hosting.Pipelines;
 
/// <summary>
/// Defines well-known pipeline step names used in the deployment pipeline.
/// </summary>
[Experimental("ASPIREPIPELINES001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
public static class WellKnownPipelineSteps
{
    /// <summary>
    /// The meta-step that coordinates all publish operations.
    /// All publish steps should be required by this step.
    /// </summary>
    public const string Publish = "publish";
 
    /// <summary>
    /// The prerequisite step that runs before any publish operations.
    /// </summary>
    public const string PublishPrereq = "publish-prereq";
 
    /// <summary>
    /// The meta-step that coordinates all deploy operations.
    /// All deploy steps should be required by this step.
    /// </summary>
    public const string Deploy = "deploy";
 
    /// <summary>
    /// The prerequisite step that runs before any deploy operations.
    /// </summary>
    public const string DeployPrereq = "deploy-prereq";
 
    /// <summary>
    /// The well-known step for building resources.
    /// </summary>
    public const string Build = "build";
 
    /// <summary>
    /// The prerequisite step that runs before any build operations.
    /// </summary>
    public const string BuildPrereq = "build-prereq";
 
    /// <summary>
    /// The diagnostic step that dumps dependency graph information for troubleshooting.
    /// </summary>
    public const string Diagnostics = "diagnostics";
}