Skip to content

Commit 159854b

Browse files
Copiloteerhardt
andauthored
Add dashboard URL to pipeline summary for ACA and App Service deployments (#14377)
* Initial plan * Add ACA and AppService dashboard summary links to pipeline summary Co-authored-by: eerhardt <8291187+eerhardt@users.noreply.github.com> * Change dashboard summary emoji from 🔗 to 📊 Co-authored-by: eerhardt <8291187+eerhardt@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: eerhardt <8291187+eerhardt@users.noreply.github.com>
1 parent 063a66e commit 159854b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppEnvironmentResource.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ private async Task PrintDashboardUrlAsync(PipelineStepContext context)
132132

133133
var dashboardUrl = $"https://aspire-dashboard.ext.{domainValue}";
134134

135+
context.Summary.Add("📊 Dashboard", dashboardUrl);
136+
135137
await context.ReportingStep.CompleteAsync(
136138
$"Dashboard available at [{dashboardUrl}]({dashboardUrl})",
137139
CompletionState.Completed,

src/Aspire.Hosting.Azure.AppService/AzureAppServiceEnvironmentResource.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ private async Task PrintDashboardUrlAsync(PipelineStepContext context)
145145
{
146146
var dashboardUri = await DashboardUriReference.GetValueAsync(context.CancellationToken).ConfigureAwait(false);
147147

148+
if (!string.IsNullOrEmpty(dashboardUri))
149+
{
150+
context.Summary.Add("📊 Dashboard", dashboardUri);
151+
}
152+
148153
await context.ReportingStep.CompleteAsync(
149154
$"Dashboard available at [{dashboardUri}]({dashboardUri})",
150155
CompletionState.Completed,

0 commit comments

Comments
 (0)