Add cloud-agnostic CI/CD pipeline deployment guide for Aspire applications#458
Add cloud-agnostic CI/CD pipeline deployment guide for Aspire applications#458
Conversation
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
IEvangelist
left a comment
There was a problem hiding this comment.
This PR looks good so far, but let's double check it for accuracy by using the .github/skills/doc-tester/SKILL.md skill. Please also consider all new comments and feedback/suggestions. @copilot
There was a problem hiding this comment.
Pull request overview
This PR adds a comprehensive CI/CD deployment guide to address a significant documentation gap identified from Discord community feedback (109+ questions about CI/CD integration with no dedicated documentation). The guide covers deploying Aspire applications from GitHub Actions and Azure DevOps pipelines, with detailed setup instructions for both platforms.
Changes:
- Added new CI/CD deployment documentation covering non-interactive deployment, Azure authentication (OIDC/service principals), complete GitHub Actions and Azure DevOps pipeline examples, and CI environment best practices
- Added sidebar entry for "CI/CD pipelines" with translations for all 16 supported locales, positioned before the "Deploy to Azure" section
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/frontend/src/content/docs/deployment/cicd.mdx | New comprehensive guide documenting CI/CD deployment patterns for Aspire applications, including environment variables for non-interactive mode, authentication setup, and complete workflow/pipeline examples |
| src/frontend/config/sidebar/deployment.topics.ts | Added "CI/CD pipelines" sidebar entry with complete translations for all 16 locales (da, de, en, es, fr, hi, id, it, ja, ko, pt-BR, pt-PT, ru, tr, uk, zh-CN) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Doc-tester results for All checks passed ✅
Screenshots from the live dev server: the page title, the Cosmos DB 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:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
Hey @copilot, please update this to be cloud agnostic. Right now it's specific to Azure - we really need it to be general/conceptual guidance on CI/CD for deploying to perhaps any container registry. |
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Done in c1c02b7. The guide is now cloud-agnostic:
The page structure is now:
|
|
Hey @copilot, please also link to /fundamentals/app-lifecycle/#step-3-build-app-create--push-image-to-ghcr where it makes sense to. |
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Added in 7b5e36e — a |
|
Hey @copilot - please update the steps to install the CLI based on how we have it documented EVERYWHERE else. Not the .NET global tool. |
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Updated in 760718f. Both examples now use the canonical install script: GitHub Actions: - name: Install Aspire CLI
run: |
curl -sSL https://aspire.dev/install.sh | bash
echo "$HOME/.aspire/bin" >> $GITHUB_PATHAzure DevOps: - script: |
curl -sSL https://aspire.dev/install.sh | bash
echo "##vso[task.prependpath]$HOME/.aspire/bin"
displayName: Install Aspire CLI |
IEvangelist
left a comment
There was a problem hiding this comment.
Hey @copilot, please see my new comments - and could you take a screen shot of the page so that we might see how it looks, and add it to the PR description?
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Screenshot added to the PR description and below — the page is rendering correctly with the sidebar entry "CI/CD pipelines" highlighted, the Mermaid architecture diagram, and the updated Steps component: |

Adds a new CI/CD deployment guide (
deployment/cicd.mdx) to address the largest undocumented deployment gap identified from Discord community feedback (109+ questions about CI/CD integration with no dedicated documentation). The guide provides general, cloud-agnostic conceptual guidance for deploying Aspire apps from CI/CD pipelines to any container registry.Changes Made
New page:
deployment/cicd.mdx<Steps>component explaining the three phases (Build & publish → Push → Deploy) that work with any target platformaspire publishin CI: Non-interactive by default; generates deployment artifacts (Docker Compose files, Kubernetes manifests, etc.) and builds container images locallyLearnMorelink to the end-to-end GHCR example in App lifecycleaspire publish+ GHCR image push, with customizable deploy step (Docker Compose,kubectl apply, Helm, etc.); uses canonicalcurl -sSL https://aspire.dev/install.sh | bashCLI installdocker login/docker pushcommands; uses canonical install script with##vso[task.prependpath]NO_COLOR), job timeouts, Docker availability on hosted agents, and deployment state caching patternsSidebar:
deployment.topics.tsAdded "CI/CD pipelines" entry with translations for all 16 supported locales, positioned before the "Deploy to Azure" section.
Page preview
Testing
10.xthroughout<Steps>component renders correctly for the three-phase workflowOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.