From 23653db2d6f575b4651421d91cb73cc12ce98d29 Mon Sep 17 00:00:00 2001 From: wyunchi-ms Date: Wed, 26 May 2021 11:59:08 +0800 Subject: [PATCH] Upgrade PowerShell to 7.0.6 Upgrade Linux Image of CI pipeline to Ubuntu 20.04 --- .azure-pipelines/powershell-core.yml | 2 +- .azure-pipelines/util/analyze-steps.yml | 2 +- .azure-pipelines/util/build-steps.yml | 2 +- build.proj | 8 +- .../Automation.Test/Automation.Test.csproj | 2 +- src/Az.Test.props | 2 +- src/Storage/Storage.Test/Storage.Test.csproj | 2 +- .../Microsoft.Azure.Build.Tasks.csproj | 2 +- .../Exceptions/ValidateHelpIssues.csv | 140 ++++++++++++++++++ .../StaticAnalysis.Netcore.csproj | 4 +- .../Tools.Common.Test.csproj | 2 +- .../Tools.Common/Tools.Common.Netcore.csproj | 2 +- .../VersionController.Netcore.csproj | 4 +- 13 files changed, 157 insertions(+), 17 deletions(-) create mode 100644 tools/StaticAnalysis/Exceptions/ValidateHelpIssues.csv diff --git a/.azure-pipelines/powershell-core.yml b/.azure-pipelines/powershell-core.yml index 63243c502472..82854d63b51a 100644 --- a/.azure-pipelines/powershell-core.yml +++ b/.azure-pipelines/powershell-core.yml @@ -2,7 +2,7 @@ variables: WindowsName: windows WindowsImage: vs2017-win2016 LinuxName: linux - LinuxImage: ubuntu-18.04 + LinuxImage: ubuntu-20.04 MacOSName: macOS MacOSImage: macOS-10.14 TestFramework: netcoreapp2.1 diff --git a/.azure-pipelines/util/analyze-steps.yml b/.azure-pipelines/util/analyze-steps.yml index e8761747749c..9f31831ea81f 100644 --- a/.azure-pipelines/util/analyze-steps.yml +++ b/.azure-pipelines/util/analyze-steps.yml @@ -11,7 +11,7 @@ steps: displayName: 'Use .NET Core sdk' inputs: packageType: sdk - version: 2.1.x + version: 3.1.x - pwsh: 'Install-Module platyPS -Force -Confirm:$false -Scope CurrentUser' displayName: 'Install platyPS' diff --git a/.azure-pipelines/util/build-steps.yml b/.azure-pipelines/util/build-steps.yml index bfa54cc4898f..5bd8d9a6a6ce 100644 --- a/.azure-pipelines/util/build-steps.yml +++ b/.azure-pipelines/util/build-steps.yml @@ -13,7 +13,7 @@ steps: displayName: 'Use .NET Core sdk' inputs: packageType: sdk - version: 2.1.x + version: 3.1.x - task: DotNetCoreCLI@2 displayName: Build diff --git a/build.proj b/build.proj index 5fb33e7d9c22..1d0e0769a9f7 100644 --- a/build.proj +++ b/build.proj @@ -103,7 +103,7 @@ - + @@ -111,7 +111,7 @@ - + @@ -268,11 +268,11 @@ - + - + diff --git a/src/Automation/Automation.Test/Automation.Test.csproj b/src/Automation/Automation.Test/Automation.Test.csproj index 77b1c130b9fa..6fbe09b31238 100644 --- a/src/Automation/Automation.Test/Automation.Test.csproj +++ b/src/Automation/Automation.Test/Automation.Test.csproj @@ -9,7 +9,7 @@ $(LegacyAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix) false - netcoreapp2.1 + netcoreapp2.1 diff --git a/src/Az.Test.props b/src/Az.Test.props index 0ca3870ab328..ea393768b913 100644 --- a/src/Az.Test.props +++ b/src/Az.Test.props @@ -11,7 +11,7 @@ - netcoreapp2.1 + netcoreapp2.1 $(AzAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix) $(AzAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix) false diff --git a/src/Storage/Storage.Test/Storage.Test.csproj b/src/Storage/Storage.Test/Storage.Test.csproj index 35a8ef382b6c..7bc7695bbbbc 100644 --- a/src/Storage/Storage.Test/Storage.Test.csproj +++ b/src/Storage/Storage.Test/Storage.Test.csproj @@ -9,7 +9,7 @@ Microsoft.WindowsAzure.Management.$(PsModuleName)$(AzTestAssemblySuffix) - netcoreapp2.1 + netcoreapp2.1 diff --git a/tools/BuildPackagesTask/Microsoft.Azure.Build.Tasks/Microsoft.Azure.Build.Tasks.csproj b/tools/BuildPackagesTask/Microsoft.Azure.Build.Tasks/Microsoft.Azure.Build.Tasks.csproj index 7d56c13f9a10..069f9bd5fd3c 100644 --- a/tools/BuildPackagesTask/Microsoft.Azure.Build.Tasks/Microsoft.Azure.Build.Tasks.csproj +++ b/tools/BuildPackagesTask/Microsoft.Azure.Build.Tasks/Microsoft.Azure.Build.Tasks.csproj @@ -3,7 +3,7 @@ - netstandard2.0 + netcoreapp3.1 Microsoft.Azure.Build.Tasks Microsoft.Azure.Build.Tasks false diff --git a/tools/StaticAnalysis/Exceptions/ValidateHelpIssues.csv b/tools/StaticAnalysis/Exceptions/ValidateHelpIssues.csv new file mode 100644 index 000000000000..500add5835a7 --- /dev/null +++ b/tools/StaticAnalysis/Exceptions/ValidateHelpIssues.csv @@ -0,0 +1,140 @@ +Target,Description +Get-AzApiManagementProperty.md,No synopsis found +Get-AzApiManagementProperty.md,No description found +Remove-AzApiManagementAuthorizationServer.md,No examples found +Update-AzApiManagementRegion.md,No examples found +Remove-AzAutomationDscConfiguration.md,No examples found +Remove-AzAutomationDscNodeConfiguration.md,No examples found +Get-AzBatchAccountKeys.md,No examples found +Remove-AzBatchJobSchedule.md,No examples found +Set-AzBatchJobSchedule.md,No examples found +Get-AzCdnCustomDomain.md,No examples found +Get-AzCdnEdgeNode.md,No examples found +Get-AzCdnEndpoint.md,No examples found +Get-AzCdnEndpointNameAvailability.md,No examples found +Get-AzCdnEndpointResourceUsage.md,No examples found +Get-AzCdnOrigin.md,No examples found +Get-AzCdnProfile.md,No examples found +Get-AzCdnProfileResourceUsage.md,No examples found +Get-AzCdnProfileSsoUrl.md,No examples found +Get-AzCdnSubscriptionResourceUsage.md,No examples found +New-AzCdnCustomDomain.md,No examples found +New-AzCdnEndpoint.md,No examples found +New-AzCdnProfile.md,No examples found +Publish-AzCdnEndpointContent.md,No examples found +Remove-AzCdnCustomDomain.md,No examples found +Remove-AzCdnEndpoint.md,No examples found +Remove-AzCdnProfile.md,No examples found +Set-AzCdnEndpoint.md,No examples found +Set-AzCdnOrigin.md,No examples found +Set-AzCdnProfile.md,No examples found +Start-AzCdnEndpoint.md,No examples found +Stop-AzCdnEndpoint.md,No examples found +Test-AzCdnCustomDomain.md,No examples found +Unpublish-AzCdnEndpointContent.md,No examples found +Get-AzVMADDomainExtension.md,No examples found +Get-AzVMDscExtensionStatus.md,No examples found +New-AzVMSqlServerKeyVaultCredentialConfig.md,No description found +New-AzVMSqlServerKeyVaultCredentialConfig.md,No examples found +Remove-AzVMAccessExtension.md,No examples found +Remove-AzVMBackup.md,No description found +Remove-AzVMCustomScriptExtension.md,No examples found +Remove-AzVMNetworkInterface.md,No examples found +Set-AzVMADDomainExtension.md,No examples found +Set-AzVMBackupExtension.md,No description found +Set-AzVMPlan.md,No examples found +Set-AzVmssVM.md,No examples found +Get-AzDtlAllowedVMSizesPolicy.md,No examples found +Get-AzDtlAutoShutdownPolicy.md,No examples found +Get-AzDtlAutoStartPolicy.md,No examples found +Get-AzDtlVMsPerLabPolicy.md,No examples found +Get-AzDtlVMsPerUserPolicy.md,No examples found +Set-AzDtlAllowedVMSizesPolicy.md,No examples found +Set-AzDtlAutoShutdownPolicy.md,No examples found +Set-AzDtlAutoStartPolicy.md,No examples found +Set-AzDtlVMsPerLabPolicy.md,No examples found +Set-AzDtlVMsPerUserPolicy.md,No examples found +Get-AzLogProfile.md,No examples found +New-AzAutoscaleWebhook.md,No examples found +Remove-AzAutoscaleSetting.md,No examples found +Remove-AzLogProfile.md,No examples found +Add-AzApplicationGatewayAuthenticationCertificate.md,No examples found +Add-AzApplicationGatewayUrlPathMapConfig.md,No examples found +Add-AzLoadBalancerInboundNatPoolConfig.md,No synopsis found +Add-AzLoadBalancerInboundNatPoolConfig.md,No description found +Get-AzApplicationGatewayAuthenticationCertificate.md,No examples found +Get-AzApplicationGatewayBackendAddressPool.md,No description found +Get-AzLoadBalancerInboundNatPoolConfig.md,No synopsis found +Get-AzLoadBalancerInboundNatPoolConfig.md,No description found +Get-AzRouteFilter.md,No examples found +Get-AzRouteFilterRuleConfig.md,No examples found +New-AzApplicationGatewayAuthenticationCertificate.md,No examples found +New-AzLoadBalancerInboundNatPoolConfig.md,No synopsis found +New-AzLoadBalancerInboundNatPoolConfig.md,No description found +New-AzRouteFilter.md,No examples found +New-AzRouteFilterRuleConfig.md,No examples found +Remove-AzApplicationGatewayAuthenticationCertificate.md,No examples found +Remove-AzApplicationGatewayUrlPathMapConfig.md,No examples found +Remove-AzLoadBalancerInboundNatPoolConfig.md,No synopsis found +Remove-AzLoadBalancerInboundNatPoolConfig.md,No description found +Remove-AzRouteFilter.md,No examples found +Remove-AzRouteFilterRuleConfig.md,No examples found +Set-AzApplicationGatewayAuthenticationCertificate.md,No examples found +Set-AzApplicationGatewayUrlPathMapConfig.md,No examples found +Set-AzLoadBalancerInboundNatPoolConfig.md,No synopsis found +Set-AzLoadBalancerInboundNatPoolConfig.md,No description found +Set-AzRouteFilter.md,No examples found +Set-AzRouteFilterRuleConfig.md,No examples found +New-AzNotificationHubKey.md,No examples found +New-AzNotificationHubsNamespaceKey.md,No examples found +Disable-AzOperationalInsightsIISLogCollection.md,No examples found +Disable-AzOperationalInsightsLinuxCustomLogCollection.md,No examples found +Disable-AzOperationalInsightsLinuxPerformanceCollection.md,No examples found +Disable-AzOperationalInsightsLinuxSyslogCollection.md,No examples found +Enable-AzOperationalInsightsIISLogCollection.md,No examples found +Enable-AzOperationalInsightsLinuxCustomLogCollection.md,No examples found +Enable-AzOperationalInsightsLinuxPerformanceCollection.md,No examples found +Enable-AzOperationalInsightsLinuxSyslogCollection.md,No examples found +Get-AzOperationalInsightsDataSource.md,No examples found +New-AzOperationalInsightsAzureActivityLogDataSource.md,No examples found +New-AzOperationalInsightsComputerGroup.md,No examples found +New-AzOperationalInsightsCustomLogDataSource.md,No examples found +New-AzOperationalInsightsLinuxPerformanceObjectDataSource.md,No examples found +New-AzOperationalInsightsLinuxSyslogDataSource.md,No examples found +New-AzOperationalInsightsWindowsEventDataSource.md,No examples found +New-AzOperationalInsightsWindowsPerformanceCounterDataSource.md,No examples found +Remove-AzOperationalInsightsDataSource.md,No examples found +Set-AzOperationalInsightsDataSource.md,No examples found +Get-AzResourceProvider.md,No examples found +Invoke-AzResourceAction.md,No examples found +Remove-AzResourceGroupDeployment.md,No examples found +Test-AzResourceGroupDeployment.md,No examples found +Unregister-AzResourceProvider.md,No examples found +Get-AzSqlDatabaseGeoBackupPolicy.md,No examples found +Get-AzSqlDatabaseReplicationLink.md,No examples found +Get-AzSqlServerBackupLongTermRetentionVault.md,No examples found +Get-AzSqlServerDisasterRecoveryConfiguration.md,No examples found +Get-AzSqlServerDisasterRecoveryConfigurationActivity.md,No examples found +New-AzSqlDatabaseCopy.md,No examples found +New-AzSqlServerDisasterRecoveryConfiguration.md,No examples found +Remove-AzSqlDatabaseSecondary.md,No examples found +Remove-AzSqlServerDisasterRecoveryConfiguration.md,No examples found +Set-AzSqlDatabaseGeoBackupPolicy.md,No examples found +Set-AzSqlDatabaseSecondary.md,No examples found +Set-AzSqlServerBackupLongTermRetentionVault.md,No examples found +Set-AzSqlServerDisasterRecoveryConfiguration.md,No examples found +Edit-AzWebAppBackupConfiguration.md,No synopsis found +Edit-AzWebAppBackupConfiguration.md,No examples found +Get-AzAppServicePlanMetric.md,No synopsis found +Get-AzWebAppBackup.md,No synopsis found +Get-AzWebAppBackupConfiguration.md,No synopsis found +Get-AzWebAppBackupList.md,No synopsis found +New-AzWebAppBackup.md,No synopsis found +New-AzWebAppDatabaseBackupSetting.md,No synopsis found +Remove-AzWebAppBackup.md,No synopsis found +Remove-AzWebAppSlot.md,No synopsis found +Reset-AzWebAppPublishingProfile.md,No synopsis found +Reset-AzWebAppSlotPublishingProfile.md,No synopsis found +Restart-AzWebAppSlot.md,No synopsis found +Restore-AzWebAppBackup.md,No synopsis found +Add-AzHDInsightSecurityProfile.md,No examples found \ No newline at end of file diff --git a/tools/StaticAnalysis/StaticAnalysis.Netcore.csproj b/tools/StaticAnalysis/StaticAnalysis.Netcore.csproj index 8eda8004b4cd..82cf7d181034 100644 --- a/tools/StaticAnalysis/StaticAnalysis.Netcore.csproj +++ b/tools/StaticAnalysis/StaticAnalysis.Netcore.csproj @@ -4,7 +4,7 @@ Exe - netcoreapp2.1 + netcoreapp3.1 false false true @@ -23,7 +23,7 @@ - + diff --git a/tools/Tools.Common.Test/Tools.Common.Test.csproj b/tools/Tools.Common.Test/Tools.Common.Test.csproj index a9abbc99718a..55d1f70e4e65 100644 --- a/tools/Tools.Common.Test/Tools.Common.Test.csproj +++ b/tools/Tools.Common.Test/Tools.Common.Test.csproj @@ -3,7 +3,7 @@ - netcoreapp2.2 + netcoreapp3.1 false diff --git a/tools/Tools.Common/Tools.Common.Netcore.csproj b/tools/Tools.Common/Tools.Common.Netcore.csproj index d5aecdc781b5..cc29536c2086 100644 --- a/tools/Tools.Common/Tools.Common.Netcore.csproj +++ b/tools/Tools.Common/Tools.Common.Netcore.csproj @@ -1,7 +1,7 @@ - netstandard2.0 + netcoreapp3.1 Tools.Common Tools.Common false diff --git a/tools/VersionController/VersionController.Netcore.csproj b/tools/VersionController/VersionController.Netcore.csproj index 60da8a5e916e..74469831b8a0 100644 --- a/tools/VersionController/VersionController.Netcore.csproj +++ b/tools/VersionController/VersionController.Netcore.csproj @@ -4,7 +4,7 @@ Exe - netcoreapp2.1 + netcoreapp3.1 false false true @@ -26,7 +26,7 @@ - +