From edc173d8efee2c3ae7504bbf26694e0fb939e079 Mon Sep 17 00:00:00 2001 From: Vladyslav Horbachov <0965142838gvs@gmail.com> Date: Wed, 9 Sep 2026 23:06:47 +0200 Subject: [PATCH] fix(deploy): restore prior container modules and dump revision logs. Keep the ASP.NET 11 RC1 base image, drop the newly added MicrosoftModule from the published module list (it was not in prior working releases), and print Container App console logs when a revision fails. --- .github/workflows/deploy.yml | 12 ++++++++++++ .../Properties/PublishProfiles/Container.pubxml | 3 +-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 78597aa22..8ecd8fb62 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -110,6 +110,16 @@ jobs: fi echo "waiting on revision ${revision}" + dump_revision_logs() { + echo "----- revision ${revision} console logs -----" + az containerapp logs show \ + --name "${{ vars.AZURE_CONTAINERAPP_NAME }}" \ + --resource-group "${{ vars.AZURE_RESOURCE_GROUP }}" \ + --revision "$revision" \ + --type console \ + --tail 120 || true + } + for attempt in $(seq 1 40); do state=$(az containerapp revision show \ --name "${{ vars.AZURE_CONTAINERAPP_NAME }}" \ @@ -128,6 +138,7 @@ jobs: ;; Failed|Degraded) echo "revision ${revision} reported ${state}" + dump_revision_logs exit 1 ;; *) @@ -137,6 +148,7 @@ jobs: sleep 15 done echo "revision ${revision} did not take traffic within 10 minutes" + dump_revision_logs exit 1 deploy-flutter-web: diff --git a/src/Kernel/DigitalBrain.Silo/Properties/PublishProfiles/Container.pubxml b/src/Kernel/DigitalBrain.Silo/Properties/PublishProfiles/Container.pubxml index 8076f0340..e51a50c96 100644 --- a/src/Kernel/DigitalBrain.Silo/Properties/PublishProfiles/Container.pubxml +++ b/src/Kernel/DigitalBrain.Silo/Properties/PublishProfiles/Container.pubxml @@ -17,7 +17,6 @@ - - +