diff --git a/AppHandling/Run-AlCops.ps1 b/AppHandling/Run-AlCops.ps1 index a02118b7c..8df86d211 100644 --- a/AppHandling/Run-AlCops.ps1 +++ b/AppHandling/Run-AlCops.ps1 @@ -123,8 +123,14 @@ function Run-AlCops { $artifactUrl = Get-BcContainerArtifactUrl -containerName $containerName $artifactVersion = [System.Version]$artifactUrl.Split('/')[4] - $latestSupportedRuntimeVersion = RunAlTool -arguments @('GetLatestSupportedRuntimeVersion',"$($artifactVersion.Major).$($artifactVersion.Minor)") - Write-Host "Latest Supported Runtime Version: $latestSupportedRuntimeVersion" + $latestSupportedRuntimeVersion = '' + try { + $latestSupportedRuntimeVersion = RunAlTool -arguments @('GetLatestSupportedRuntimeVersion',"$($artifactVersion.Major).$($artifactVersion.Minor)") + Write-Host "Latest Supported Runtime Version: $latestSupportedRuntimeVersion" + } + catch { + Write-Host -ForegroundColor Yellow "Cannot determine latest supported runtime version, will skip runtime version compatibility check" + } $global:_validationResult = @() $apps | ForEach-Object { diff --git a/AppHandling/Sort-AppFilesByDependencies.ps1 b/AppHandling/Sort-AppFilesByDependencies.ps1 index a2592de84..3c7c4253f 100644 --- a/AppHandling/Sort-AppFilesByDependencies.ps1 +++ b/AppHandling/Sort-AppFilesByDependencies.ps1 @@ -178,8 +178,14 @@ function Sort-AppFilesByDependencies { if ($includeOnlyAppIds) { $script:sortedApps | ForEach-Object { $_ | Add-Member -NotePropertyName 'Included' -NotePropertyValue $false } $includeOnlyAppIds | ForEach-Object { MarkSortedApps -AppId $_ } - $script:sortedApps | Where-Object { $_.Included } | ForEach-Object { - $files["$($_.id):$($_.version)"] + $script:sortedApps | ForEach-Object { + if ($_.Included) { + $files["$($_.id):$($_.version)"] + } + else { + $appName = [System.IO.Path]::GetFileName($files["$($_.id):$($_.version)"]) + Write-Host "$appName (AppId=$($_.id)) is skipped as it is not referenced" + } } } else { diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index ffc1ed146..beadbea21 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,4 +1,7 @@ 6.0.20 +Add trustServerCertificate is the parameter exists in various functions that might be running on the host +Issue #3594 Run-AlCops says unknown platform version +Add information about apps excluded due to not being referenced during Publish-BcContainerApp 6.0.19 Issue #3560 Backup-BcContainerDatabases fails - password must be marked as read only bug