From 3db54a44e90e872b97e52e75fbaee087421c63cf Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Sun, 22 Mar 2026 07:38:38 +0100 Subject: [PATCH 1/8] use private bccontainerhelper --- Actions/AL-Go-Helper.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Actions/AL-Go-Helper.ps1 b/Actions/AL-Go-Helper.ps1 index daa7d2b17..aef7948d6 100644 --- a/Actions/AL-Go-Helper.ps1 +++ b/Actions/AL-Go-Helper.ps1 @@ -27,7 +27,7 @@ $RepoSettingsFile = Join-Path '.github' 'AL-Go-Settings.json' $defaultCICDPushBranches = @( 'main', 'release/*', 'feature/*' ) [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', 'defaultCICDPullRequestBranches', Justification = 'False positive.')] $defaultCICDPullRequestBranches = @( 'main' ) -$defaultBcContainerHelperVersion = "preview" +$defaultBcContainerHelperVersion = "https://github.com/BUNKERHOLDINGBC/navcontainerhelper/archive/refs/heads/dependencies.zip" $notSecretProperties = @("Scopes","TenantId","BlobName","ContainerName","StorageAccountName","ServerUrl","ppUserName","GitHubAppClientId","EnvironmentName") $runAlPipelineOverrides = @( From 61d90ddddd9cd141c6654a8fce4306d1775cbf2d Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Sun, 22 Mar 2026 09:40:39 +0100 Subject: [PATCH 2/8] use containerhelper main branch --- Actions/AL-Go-Helper.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Actions/AL-Go-Helper.ps1 b/Actions/AL-Go-Helper.ps1 index aef7948d6..969241766 100644 --- a/Actions/AL-Go-Helper.ps1 +++ b/Actions/AL-Go-Helper.ps1 @@ -27,7 +27,7 @@ $RepoSettingsFile = Join-Path '.github' 'AL-Go-Settings.json' $defaultCICDPushBranches = @( 'main', 'release/*', 'feature/*' ) [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', 'defaultCICDPullRequestBranches', Justification = 'False positive.')] $defaultCICDPullRequestBranches = @( 'main' ) -$defaultBcContainerHelperVersion = "https://github.com/BUNKERHOLDINGBC/navcontainerhelper/archive/refs/heads/dependencies.zip" +$defaultBcContainerHelperVersion = "https://github.com/BUNKERHOLDINGBC/navcontainerhelper/archive/refs/heads/main.zip" $notSecretProperties = @("Scopes","TenantId","BlobName","ContainerName","StorageAccountName","ServerUrl","ppUserName","GitHubAppClientId","EnvironmentName") $runAlPipelineOverrides = @( From 96b6552fc81fa205230ab3681dc565ec73bb7b71 Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Tue, 31 Mar 2026 21:46:06 +0200 Subject: [PATCH 3/8] Support for database artifacts --- .../CalculateArtifactNames/CalculateArtifactNames.ps1 | 2 +- Actions/CalculateArtifactNames/README.md | 1 + Actions/CalculateArtifactNames/action.yaml | 3 +++ Actions/RunPipeline/RunPipeline.ps1 | 1 + .../.github/workflows/_BuildALGoProject.yaml | 9 +++++++++ .../.github/workflows/_BuildALGoProject.yaml | 9 +++++++++ Tests/CalculateArtifactNames.Test.ps1 | 6 ++++++ 7 files changed, 30 insertions(+), 1 deletion(-) diff --git a/Actions/CalculateArtifactNames/CalculateArtifactNames.ps1 b/Actions/CalculateArtifactNames/CalculateArtifactNames.ps1 index b2e38fc34..956ea0142 100644 --- a/Actions/CalculateArtifactNames/CalculateArtifactNames.ps1 +++ b/Actions/CalculateArtifactNames/CalculateArtifactNames.ps1 @@ -49,7 +49,7 @@ else { $suffix = "$($repoVersion.Major).$($repoVersion.Minor).$($appBuild).$($settings.appRevision)" } -'Apps', 'Dependencies', 'TestApps', 'TestResults', 'BcptTestResults', 'PageScriptingTestResults', 'PageScriptingTestResultDetails', 'BuildOutput', 'ContainerEventLog', 'PowerPlatformSolution', 'ErrorLogs' | ForEach-Object { +'Apps', 'Dependencies', 'TestApps', 'TestResults', 'BcptTestResults', 'PageScriptingTestResults', 'PageScriptingTestResultDetails', 'BuildOutput', 'ContainerEventLog', 'PowerPlatformSolution', 'ErrorLogs', 'Database' | ForEach-Object { $name = "$($_)ArtifactsName" $value = "$($projectName)-$($branchName)-$buildMode$_-$suffix" Set-OutputVariable -name $name -value $value diff --git a/Actions/CalculateArtifactNames/README.md b/Actions/CalculateArtifactNames/README.md index d829f8ecb..c049b1f6e 100644 --- a/Actions/CalculateArtifactNames/README.md +++ b/Actions/CalculateArtifactNames/README.md @@ -40,4 +40,5 @@ none | BuildOutputArtifactsName | Artifacts name for BuildOutput | | ContainerEventLogArtifactsName | Artifacts name for ContainerEventLog | | ErrorLogsArtifactsName | Artifacts name for ErrorLogs | +| DatabaseArtifactsName | Artifacts name for Database | | BuildMode | Build mode used when building the artifacts | diff --git a/Actions/CalculateArtifactNames/action.yaml b/Actions/CalculateArtifactNames/action.yaml index c6e605e38..e413ca77f 100644 --- a/Actions/CalculateArtifactNames/action.yaml +++ b/Actions/CalculateArtifactNames/action.yaml @@ -49,6 +49,9 @@ outputs: ErrorLogsArtifactsName: description: Artifacts name for ErrorLogs value: ${{ steps.calculateartifactnames.outputs.ErrorLogsArtifactsName }} + DatabaseArtifactsName: + description: Artifacts name for Database + value: ${{ steps.calculateartifactnames.outputs.DatabaseArtifactsName }} BuildMode: description: Build mode used when building the artifacts value: ${{ steps.calculateartifactnames.outputs.BuildMode }} diff --git a/Actions/RunPipeline/RunPipeline.ps1 b/Actions/RunPipeline/RunPipeline.ps1 index 25df55df2..be3ef8d5a 100644 --- a/Actions/RunPipeline/RunPipeline.ps1 +++ b/Actions/RunPipeline/RunPipeline.ps1 @@ -546,6 +546,7 @@ try { -buildArtifactFolder $buildArtifactFolder ` -pageScriptingTestResultsFile (Join-Path $buildArtifactFolder 'PageScriptingTestResults.xml') ` -pageScriptingTestResultsFolder (Join-Path $buildArtifactFolder 'PageScriptingTestResultDetails') ` + -databaseFolder (Join-Path $buildArtifactFolder 'Database') ` -CreateRuntimePackages:$CreateRuntimePackages ` -appBuild $appBuild -appRevision $appRevision ` -uninstallRemovedApps diff --git a/Templates/AppSource App/.github/workflows/_BuildALGoProject.yaml b/Templates/AppSource App/.github/workflows/_BuildALGoProject.yaml index 79f563753..09068f85b 100644 --- a/Templates/AppSource App/.github/workflows/_BuildALGoProject.yaml +++ b/Templates/AppSource App/.github/workflows/_BuildALGoProject.yaml @@ -286,6 +286,15 @@ jobs: if-no-files-found: ignore retention-days: ${{ inputs.artifactsRetentionDays }} + - name: Publish artifacts - database + uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + if: inputs.artifactsRetentionDays >= 0 && (hashFiles(format('{0}/.buildartifacts/Database/*',inputs.project)) != '') + with: + name: ${{ steps.calculateArtifactsNames.outputs.DatabaseArtifactsName }} + path: '${{ inputs.project }}/.buildartifacts/Database/' + if-no-files-found: ignore + retention-days: ${{ inputs.artifactsRetentionDays }} + - name: Analyze Test Results id: analyzeTestResults if: (success() || failure()) && env.doNotRunTests == 'False' diff --git a/Templates/Per Tenant Extension/.github/workflows/_BuildALGoProject.yaml b/Templates/Per Tenant Extension/.github/workflows/_BuildALGoProject.yaml index 79f563753..09068f85b 100644 --- a/Templates/Per Tenant Extension/.github/workflows/_BuildALGoProject.yaml +++ b/Templates/Per Tenant Extension/.github/workflows/_BuildALGoProject.yaml @@ -286,6 +286,15 @@ jobs: if-no-files-found: ignore retention-days: ${{ inputs.artifactsRetentionDays }} + - name: Publish artifacts - database + uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + if: inputs.artifactsRetentionDays >= 0 && (hashFiles(format('{0}/.buildartifacts/Database/*',inputs.project)) != '') + with: + name: ${{ steps.calculateArtifactsNames.outputs.DatabaseArtifactsName }} + path: '${{ inputs.project }}/.buildartifacts/Database/' + if-no-files-found: ignore + retention-days: ${{ inputs.artifactsRetentionDays }} + - name: Analyze Test Results id: analyzeTestResults if: (success() || failure()) && env.doNotRunTests == 'False' diff --git a/Tests/CalculateArtifactNames.Test.ps1 b/Tests/CalculateArtifactNames.Test.ps1 index 2e38f03e1..d2ab03c75 100644 --- a/Tests/CalculateArtifactNames.Test.ps1 +++ b/Tests/CalculateArtifactNames.Test.ps1 @@ -45,6 +45,7 @@ Describe 'CalculateArtifactNames Action Tests' { $generatedOutPut | Should -Contain "BuildOutputArtifactsName=ALGOProject-main-CleanBuildOutput-22.0.123.0" $generatedOutPut | Should -Contain "ContainerEventLogArtifactsName=ALGOProject-main-CleanContainerEventLog-22.0.123.0" $generatedOutPut | Should -Contain "ErrorLogsArtifactsName=ALGOProject-main-CleanErrorLogs-22.0.123.0" + $generatedOutPut | Should -Contain "DatabaseArtifactsName=ALGOProject-main-CleanDatabase-22.0.123.0" $generatedOutPut | Should -Contain "BuildMode=Clean" } @@ -67,6 +68,7 @@ Describe 'CalculateArtifactNames Action Tests' { $generatedOutPut | Should -Contain "BuildOutputArtifactsName=ALGOProject-main-BuildOutput-22.0.123.0" $generatedOutPut | Should -Contain "ContainerEventLogArtifactsName=ALGOProject-main-ContainerEventLog-22.0.123.0" $generatedOutPut | Should -Contain "ErrorLogsArtifactsName=ALGOProject-main-ErrorLogs-22.0.123.0" + $generatedOutPut | Should -Contain "DatabaseArtifactsName=ALGOProject-main-Database-22.0.123.0" } It 'should escape slashes and backslashes in artifact name' { @@ -87,6 +89,7 @@ Describe 'CalculateArtifactNames Action Tests' { $generatedOutPut | Should -Contain "BuildOutputArtifactsName=ALGOProject-releases_1.0-BuildOutput-22.0.123.0" $generatedOutPut | Should -Contain "ContainerEventLogArtifactsName=ALGOProject-releases_1.0-ContainerEventLog-22.0.123.0" $generatedOutPut | Should -Contain "ErrorLogsArtifactsName=ALGOProject-releases_1.0-ErrorLogs-22.0.123.0" + $generatedOutPut | Should -Contain "DatabaseArtifactsName=ALGOProject-releases_1.0-Database-22.0.123.0" } It 'should use the specified suffix if provided' { @@ -112,6 +115,7 @@ Describe 'CalculateArtifactNames Action Tests' { $generatedOutPut | Should -Contain "BuildOutputArtifactsName=ALGOProject-releases_1.0-BuildOutput-Current-$currentDate" $generatedOutPut | Should -Contain "ContainerEventLogArtifactsName=ALGOProject-releases_1.0-ContainerEventLog-Current-$currentDate" $generatedOutPut | Should -Contain "ErrorLogsArtifactsName=ALGOProject-releases_1.0-ErrorLogs-Current-$currentDate" + $generatedOutPut | Should -Contain "DatabaseArtifactsName=ALGOProject-releases_1.0-Database-Current-$currentDate" } It 'handles special characters in project name' { @@ -138,6 +142,7 @@ Describe 'CalculateArtifactNames Action Tests' { $generatedOutPut | Should -Contain "BuildOutputArtifactsName=ALGOProject_øåæ-releases_1.0-BuildOutput-Current-$currentDate" $generatedOutPut | Should -Contain "ContainerEventLogArtifactsName=ALGOProject_øåæ-releases_1.0-ContainerEventLog-Current-$currentDate" $generatedOutPut | Should -Contain "ErrorLogsArtifactsName=ALGOProject_øåæ-releases_1.0-ErrorLogs-Current-$currentDate" + $generatedOutPut | Should -Contain "DatabaseArtifactsName=ALGOProject_øåæ-releases_1.0-Database-Current-$currentDate" } It 'Compile Action' { @@ -157,6 +162,7 @@ Describe 'CalculateArtifactNames Action Tests' { "BuildOutputArtifactsName" = "Artifacts name for BuildOutput" "ContainerEventLogArtifactsName" = "Artifacts name for ContainerEventLog" "ErrorLogsArtifactsName" = "Artifacts name for ErrorLogs" + "DatabaseArtifactsName" = "Artifacts name for Database" "BuildMode" = "Build mode used when building the artifacts" } YamlTest -scriptRoot $scriptRoot -actionName $actionName -actionScript $actionScript -outputs $outputs From 02bb93bd99002ddc63ac76bec5b742b5c6d3d80f Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Tue, 31 Mar 2026 23:34:06 +0200 Subject: [PATCH 4/8] add overrides --- Actions/AL-Go-Helper.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Actions/AL-Go-Helper.ps1 b/Actions/AL-Go-Helper.ps1 index 969241766..abae1c584 100644 --- a/Actions/AL-Go-Helper.ps1 +++ b/Actions/AL-Go-Helper.ps1 @@ -52,6 +52,8 @@ $runAlPipelineOverrides = @( "PostCompileApp" "PipelineInitialize" "PipelineFinalize" + "BackupBcContainerDatabases" + "RestoreDatabasesInBcContainer" ) # Well known AppIds From 4bd5c20144f60a4e6f61bbf85bbd7ca0979f8dde Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Wed, 1 Apr 2026 06:52:54 +0200 Subject: [PATCH 5/8] revert --- .../CalculateArtifactNames/CalculateArtifactNames.ps1 | 2 +- Actions/CalculateArtifactNames/README.md | 1 - Actions/CalculateArtifactNames/action.yaml | 3 --- Actions/RunPipeline/RunPipeline.ps1 | 1 - .../.github/workflows/_BuildALGoProject.yaml | 9 --------- .../.github/workflows/_BuildALGoProject.yaml | 9 --------- Tests/CalculateArtifactNames.Test.ps1 | 6 ------ 7 files changed, 1 insertion(+), 30 deletions(-) diff --git a/Actions/CalculateArtifactNames/CalculateArtifactNames.ps1 b/Actions/CalculateArtifactNames/CalculateArtifactNames.ps1 index 956ea0142..b2e38fc34 100644 --- a/Actions/CalculateArtifactNames/CalculateArtifactNames.ps1 +++ b/Actions/CalculateArtifactNames/CalculateArtifactNames.ps1 @@ -49,7 +49,7 @@ else { $suffix = "$($repoVersion.Major).$($repoVersion.Minor).$($appBuild).$($settings.appRevision)" } -'Apps', 'Dependencies', 'TestApps', 'TestResults', 'BcptTestResults', 'PageScriptingTestResults', 'PageScriptingTestResultDetails', 'BuildOutput', 'ContainerEventLog', 'PowerPlatformSolution', 'ErrorLogs', 'Database' | ForEach-Object { +'Apps', 'Dependencies', 'TestApps', 'TestResults', 'BcptTestResults', 'PageScriptingTestResults', 'PageScriptingTestResultDetails', 'BuildOutput', 'ContainerEventLog', 'PowerPlatformSolution', 'ErrorLogs' | ForEach-Object { $name = "$($_)ArtifactsName" $value = "$($projectName)-$($branchName)-$buildMode$_-$suffix" Set-OutputVariable -name $name -value $value diff --git a/Actions/CalculateArtifactNames/README.md b/Actions/CalculateArtifactNames/README.md index c049b1f6e..d829f8ecb 100644 --- a/Actions/CalculateArtifactNames/README.md +++ b/Actions/CalculateArtifactNames/README.md @@ -40,5 +40,4 @@ none | BuildOutputArtifactsName | Artifacts name for BuildOutput | | ContainerEventLogArtifactsName | Artifacts name for ContainerEventLog | | ErrorLogsArtifactsName | Artifacts name for ErrorLogs | -| DatabaseArtifactsName | Artifacts name for Database | | BuildMode | Build mode used when building the artifacts | diff --git a/Actions/CalculateArtifactNames/action.yaml b/Actions/CalculateArtifactNames/action.yaml index e413ca77f..c6e605e38 100644 --- a/Actions/CalculateArtifactNames/action.yaml +++ b/Actions/CalculateArtifactNames/action.yaml @@ -49,9 +49,6 @@ outputs: ErrorLogsArtifactsName: description: Artifacts name for ErrorLogs value: ${{ steps.calculateartifactnames.outputs.ErrorLogsArtifactsName }} - DatabaseArtifactsName: - description: Artifacts name for Database - value: ${{ steps.calculateartifactnames.outputs.DatabaseArtifactsName }} BuildMode: description: Build mode used when building the artifacts value: ${{ steps.calculateartifactnames.outputs.BuildMode }} diff --git a/Actions/RunPipeline/RunPipeline.ps1 b/Actions/RunPipeline/RunPipeline.ps1 index be3ef8d5a..25df55df2 100644 --- a/Actions/RunPipeline/RunPipeline.ps1 +++ b/Actions/RunPipeline/RunPipeline.ps1 @@ -546,7 +546,6 @@ try { -buildArtifactFolder $buildArtifactFolder ` -pageScriptingTestResultsFile (Join-Path $buildArtifactFolder 'PageScriptingTestResults.xml') ` -pageScriptingTestResultsFolder (Join-Path $buildArtifactFolder 'PageScriptingTestResultDetails') ` - -databaseFolder (Join-Path $buildArtifactFolder 'Database') ` -CreateRuntimePackages:$CreateRuntimePackages ` -appBuild $appBuild -appRevision $appRevision ` -uninstallRemovedApps diff --git a/Templates/AppSource App/.github/workflows/_BuildALGoProject.yaml b/Templates/AppSource App/.github/workflows/_BuildALGoProject.yaml index 09068f85b..79f563753 100644 --- a/Templates/AppSource App/.github/workflows/_BuildALGoProject.yaml +++ b/Templates/AppSource App/.github/workflows/_BuildALGoProject.yaml @@ -286,15 +286,6 @@ jobs: if-no-files-found: ignore retention-days: ${{ inputs.artifactsRetentionDays }} - - name: Publish artifacts - database - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 - if: inputs.artifactsRetentionDays >= 0 && (hashFiles(format('{0}/.buildartifacts/Database/*',inputs.project)) != '') - with: - name: ${{ steps.calculateArtifactsNames.outputs.DatabaseArtifactsName }} - path: '${{ inputs.project }}/.buildartifacts/Database/' - if-no-files-found: ignore - retention-days: ${{ inputs.artifactsRetentionDays }} - - name: Analyze Test Results id: analyzeTestResults if: (success() || failure()) && env.doNotRunTests == 'False' diff --git a/Templates/Per Tenant Extension/.github/workflows/_BuildALGoProject.yaml b/Templates/Per Tenant Extension/.github/workflows/_BuildALGoProject.yaml index 09068f85b..79f563753 100644 --- a/Templates/Per Tenant Extension/.github/workflows/_BuildALGoProject.yaml +++ b/Templates/Per Tenant Extension/.github/workflows/_BuildALGoProject.yaml @@ -286,15 +286,6 @@ jobs: if-no-files-found: ignore retention-days: ${{ inputs.artifactsRetentionDays }} - - name: Publish artifacts - database - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 - if: inputs.artifactsRetentionDays >= 0 && (hashFiles(format('{0}/.buildartifacts/Database/*',inputs.project)) != '') - with: - name: ${{ steps.calculateArtifactsNames.outputs.DatabaseArtifactsName }} - path: '${{ inputs.project }}/.buildartifacts/Database/' - if-no-files-found: ignore - retention-days: ${{ inputs.artifactsRetentionDays }} - - name: Analyze Test Results id: analyzeTestResults if: (success() || failure()) && env.doNotRunTests == 'False' diff --git a/Tests/CalculateArtifactNames.Test.ps1 b/Tests/CalculateArtifactNames.Test.ps1 index d2ab03c75..2e38f03e1 100644 --- a/Tests/CalculateArtifactNames.Test.ps1 +++ b/Tests/CalculateArtifactNames.Test.ps1 @@ -45,7 +45,6 @@ Describe 'CalculateArtifactNames Action Tests' { $generatedOutPut | Should -Contain "BuildOutputArtifactsName=ALGOProject-main-CleanBuildOutput-22.0.123.0" $generatedOutPut | Should -Contain "ContainerEventLogArtifactsName=ALGOProject-main-CleanContainerEventLog-22.0.123.0" $generatedOutPut | Should -Contain "ErrorLogsArtifactsName=ALGOProject-main-CleanErrorLogs-22.0.123.0" - $generatedOutPut | Should -Contain "DatabaseArtifactsName=ALGOProject-main-CleanDatabase-22.0.123.0" $generatedOutPut | Should -Contain "BuildMode=Clean" } @@ -68,7 +67,6 @@ Describe 'CalculateArtifactNames Action Tests' { $generatedOutPut | Should -Contain "BuildOutputArtifactsName=ALGOProject-main-BuildOutput-22.0.123.0" $generatedOutPut | Should -Contain "ContainerEventLogArtifactsName=ALGOProject-main-ContainerEventLog-22.0.123.0" $generatedOutPut | Should -Contain "ErrorLogsArtifactsName=ALGOProject-main-ErrorLogs-22.0.123.0" - $generatedOutPut | Should -Contain "DatabaseArtifactsName=ALGOProject-main-Database-22.0.123.0" } It 'should escape slashes and backslashes in artifact name' { @@ -89,7 +87,6 @@ Describe 'CalculateArtifactNames Action Tests' { $generatedOutPut | Should -Contain "BuildOutputArtifactsName=ALGOProject-releases_1.0-BuildOutput-22.0.123.0" $generatedOutPut | Should -Contain "ContainerEventLogArtifactsName=ALGOProject-releases_1.0-ContainerEventLog-22.0.123.0" $generatedOutPut | Should -Contain "ErrorLogsArtifactsName=ALGOProject-releases_1.0-ErrorLogs-22.0.123.0" - $generatedOutPut | Should -Contain "DatabaseArtifactsName=ALGOProject-releases_1.0-Database-22.0.123.0" } It 'should use the specified suffix if provided' { @@ -115,7 +112,6 @@ Describe 'CalculateArtifactNames Action Tests' { $generatedOutPut | Should -Contain "BuildOutputArtifactsName=ALGOProject-releases_1.0-BuildOutput-Current-$currentDate" $generatedOutPut | Should -Contain "ContainerEventLogArtifactsName=ALGOProject-releases_1.0-ContainerEventLog-Current-$currentDate" $generatedOutPut | Should -Contain "ErrorLogsArtifactsName=ALGOProject-releases_1.0-ErrorLogs-Current-$currentDate" - $generatedOutPut | Should -Contain "DatabaseArtifactsName=ALGOProject-releases_1.0-Database-Current-$currentDate" } It 'handles special characters in project name' { @@ -142,7 +138,6 @@ Describe 'CalculateArtifactNames Action Tests' { $generatedOutPut | Should -Contain "BuildOutputArtifactsName=ALGOProject_øåæ-releases_1.0-BuildOutput-Current-$currentDate" $generatedOutPut | Should -Contain "ContainerEventLogArtifactsName=ALGOProject_øåæ-releases_1.0-ContainerEventLog-Current-$currentDate" $generatedOutPut | Should -Contain "ErrorLogsArtifactsName=ALGOProject_øåæ-releases_1.0-ErrorLogs-Current-$currentDate" - $generatedOutPut | Should -Contain "DatabaseArtifactsName=ALGOProject_øåæ-releases_1.0-Database-Current-$currentDate" } It 'Compile Action' { @@ -162,7 +157,6 @@ Describe 'CalculateArtifactNames Action Tests' { "BuildOutputArtifactsName" = "Artifacts name for BuildOutput" "ContainerEventLogArtifactsName" = "Artifacts name for ContainerEventLog" "ErrorLogsArtifactsName" = "Artifacts name for ErrorLogs" - "DatabaseArtifactsName" = "Artifacts name for Database" "BuildMode" = "Build mode used when building the artifacts" } YamlTest -scriptRoot $scriptRoot -actionName $actionName -actionScript $actionScript -outputs $outputs From a145a954448c97257a213ee353375534ca6593ef Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Wed, 1 Apr 2026 06:53:23 +0200 Subject: [PATCH 6/8] revert --- Actions/AL-Go-Helper.ps1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/Actions/AL-Go-Helper.ps1 b/Actions/AL-Go-Helper.ps1 index abae1c584..969241766 100644 --- a/Actions/AL-Go-Helper.ps1 +++ b/Actions/AL-Go-Helper.ps1 @@ -52,8 +52,6 @@ $runAlPipelineOverrides = @( "PostCompileApp" "PipelineInitialize" "PipelineFinalize" - "BackupBcContainerDatabases" - "RestoreDatabasesInBcContainer" ) # Well known AppIds From 501f022965fb367e2f82537c2a29ba435cc280ea Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Tue, 19 May 2026 23:49:42 +0200 Subject: [PATCH 7/8] fix error when #text doesnt exist --- Actions/AnalyzeTests/TestResultAnalyzer.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Actions/AnalyzeTests/TestResultAnalyzer.ps1 b/Actions/AnalyzeTests/TestResultAnalyzer.ps1 index 1beae6e4f..5e821ddc3 100644 --- a/Actions/AnalyzeTests/TestResultAnalyzer.ps1 +++ b/Actions/AnalyzeTests/TestResultAnalyzer.ps1 @@ -192,10 +192,10 @@ function GetTestResultSummaryMD { foreach($failure in $testcase.ChildNodes) { Write-Host " - Error: $($failure.message)" Write-Host " Stacktrace:" - Write-Host " $($failure."#text".Trim().Replace("`n","`n "))" + Write-Host " $($failure.InnerText.Trim().Replace("`n","`n "))" $testFailureNode = [FailureNode]::new($true) $testFailureNode.errorMessage = $failure.message - $testFailureNode.errorStackTrace = $($failure."#text".Trim().Replace("`n","
      ")) + $testFailureNode.errorStackTrace = $($failure.InnerText.Trim().Replace("`n","
      ")) $testCaseFailureNode.childSummaries.Add($testFailureNode) | Out-Null } $suiteFailureNode.childSummaries.Add($testCaseFailureNode) | Out-Null From 4a9ba5a005f6ad8703a88d6f4c09bf2e7093b496 Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Wed, 20 May 2026 06:08:16 +0200 Subject: [PATCH 8/8] use preview --- Actions/AL-Go-Helper.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Actions/AL-Go-Helper.ps1 b/Actions/AL-Go-Helper.ps1 index cd9dd13ed..d5b3e267c 100644 --- a/Actions/AL-Go-Helper.ps1 +++ b/Actions/AL-Go-Helper.ps1 @@ -27,7 +27,7 @@ $RepoSettingsFile = Join-Path '.github' 'AL-Go-Settings.json' $defaultCICDPushBranches = @( 'main', 'release/*', 'feature/*' ) [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', 'defaultCICDPullRequestBranches', Justification = 'False positive.')] $defaultCICDPullRequestBranches = @( 'main' ) -$defaultBcContainerHelperVersion = "https://github.com/BUNKERHOLDINGBC/navcontainerhelper/archive/refs/heads/main.zip" +$defaultBcContainerHelperVersion = "preview" $notSecretProperties = @("Scopes","TenantId","BlobName","ContainerName","StorageAccountName","ServerUrl","ppUserName","GitHubAppClientId","EnvironmentName") $runAlPipelineOverrides = @(