Repository navigation
Use aspnetapp-9.0 tag in ACA compact naming deployment tests - #17014
Conversation
The unversioned mcr.microsoft.com/dotnet/samples:aspnetapp tag now only publishes a Windows amd64 manifest, with no linux/amd64 child, which causes Azure Container Apps to reject the image during provisioning. Switch to the versioned aspnetapp-9.0 tag, which still publishes the full set of linux platforms. Co-authored-by: Copilot <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 17014Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 17014" |
There was a problem hiding this comment.
Pull request overview
Updates Azure Container Apps compact naming deployment E2E tests to use a Linux-compatible sample image tag to avoid ACA rejecting the worker container image due to missing linux/amd64 support on the unversioned aspnetapp (and aspnetapp-10.0) tags.
Changes:
- Switch the sample worker container image tag from
aspnetapptoaspnetapp-9.0in both compact naming deployment tests. - Add an inline comment explaining why a versioned tag is required for ACA.
Show a summary per file
| File | Description |
|---|---|
| tests/Aspire.Deployment.EndToEnd.Tests/AcaCompactNamingDeploymentTests.cs | Pins the worker sample image to aspnetapp-9.0 and documents the ACA/Linux manifest constraint. |
| tests/Aspire.Deployment.EndToEnd.Tests/AcaCompactNamingUpgradeDeploymentTests.cs | Pins the worker sample image to aspnetapp-9.0 in the upgrade scenario and documents the ACA/Linux manifest constraint. |
Copilot's findings
- Files reviewed: 2/2 changed files
- Comments generated: 2
|
/deployment-test |
|
🚀 Deployment tests starting on PR #17014... This will deploy to real Azure infrastructure. Results will be posted here when complete. |
|
❌ Deployment E2E Tests failed — 34 passed, 1 failed, 0 cancelled View test results and recordings
|
dotnet/samples README explicitly says those images can break at any time and consumers should mirror or pin a digest. We've already moved off dotnet/samples to azuredocs/aci-helloworld, but pin to the multi-arch index digest as well to harden the test against future tag churn on any upstream image. Reference: dotnet/dotnet-docker#7191 Co-authored-by: Copilot <[email protected]>
|
🎬 CLI E2E Test Recordings — 82 recordings uploaded (commit View all recordings
📹 Recordings uploaded automatically from CI run #25899957252 |
|
✅ No documentation update needed. docs_optional → No signals triggered (signal_count: 0). The advisory |
The
AcaCompactNamingDeploymentTests(and the upgrade variant) have been failing because Azure Container Apps rejects the worker container image:The unversioned
mcr.microsoft.com/dotnet/samples:aspnetapptag now only publishes a Windows amd64 manifest — there is nolinux/amd64child anymore. Verified by inspecting the manifest list directly:The
aspnetapp-10.0tag has the same problem (Windows only). Theaspnetapp-9.0tag still publishes the full set of linux platforms (linux/amd64, linux/arm/v7, linux/arm64) plus Windows, so this PR switches both deployment tests to that tag and adds a comment explaining why we can't use the unversioned tag.