-
Notifications
You must be signed in to change notification settings - Fork 760
Add DeployCompute meta step to deployment pipeline #13567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: captainsafia <[email protected]>
Co-authored-by: captainsafia <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 13567Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 13567" |
1 similar comment
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 13567Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 13567" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces a new DeployCompute meta step to the deployment pipeline that coordinates all compute deployment operations (projects, containers, dockerfiles). The step aggregates individual resource deploy steps before the final Deploy step executes, creating a clearer pipeline structure: resource deploy steps → deploy-compute → deploy.
Key changes:
- Added
WellKnownPipelineSteps.DeployComputeconstant with appropriate XML documentation - Initialized the deploy-compute meta step in
DistributedApplicationPipelineas a prerequisite for the Deploy step - Updated
AzureContainerAppResourceandAzureAppServiceWebSiteResourcedeploy steps to be required by DeployCompute
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/Aspire.Hosting/Pipelines/WellKnownPipelineSteps.cs |
Added new DeployCompute constant with XML documentation |
src/Aspire.Hosting/Pipelines/DistributedApplicationPipeline.cs |
Initialized deploy-compute meta step as prerequisite for Deploy step |
src/Aspire.Hosting.Azure.AppService/AzureAppServiceWebSiteResource.cs |
Updated deploy step to be required by DeployCompute |
src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppResource.cs |
Updated deploy step to be required by DeployCompute |
tests/Aspire.Hosting.Tests/Pipelines/DistributedApplicationPipelineTests.cs |
Updated test to account for new step (whitespace cleanup) |
tests/Aspire.Hosting.Azure.Tests/Snapshots/*.verified.txt |
Updated snapshot tests reflecting new dependency graph structure |
Description
Introduces
WellKnownPipelineSteps.DeployComputeas a meta step coordinating all compute deployment operations (projects, containers, dockerfiles). The step aggregates individual resource deploy steps before the final Deploy step executes.Pipeline structure:
Changes:
DeployComputeconstant toWellKnownPipelineStepsAzureContainerAppResourceandAzureAppServiceWebSiteResourcedeploy steps to be required by DeployComputeFixes #13618
Checklist
<remarks />and<code />elements on your triple slash comments?Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
aka.ms/usr/local/bin/bicep /usr/local/bin/bicep build /tmp/aspire-bicepbS2Txr/aas-env-acr.module.bicep --stdout(dns block)/usr/local/bin/bicep /usr/local/bin/bicep build /tmp/aspire-biceptUz4av/storage.module.bicep --stdout(dns block)/usr/local/bin/bicep /usr/local/bin/bicep build /tmp/aspire-bicepm4oQTv/aca-env-acr.module.bicep --stdout(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.