Skip to content

Commit

Permalink
Merge pull request #21827 from Azure/mitryakh/2022-11-01-sdk
Browse files Browse the repository at this point in the history
Updated .NET SDK 2022-11-01 for PowerShell
  • Loading branch information
msJinLei authored May 16, 2023
2 parents fc8c820 + b0b43ab commit 9790495
Show file tree
Hide file tree
Showing 6,038 changed files with 729,241 additions and 275,752 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
290 changes: 134 additions & 156 deletions .azure-pipelines/live-test.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,24 @@
parameters:
- name: img_windows_2019
- name: os_windows_2019
displayName: Windows 2019 Image Version
type: string
default: windows-2019
- name: img_windows_2022
- name: os_windows_2022
displayName: Windows 2022 Image Version
type: string
default: windows-2022
- name: img_linux
- name: os_linux
displayName: Linux Image Version
type: string
default: ubuntu-20.04
- name: img_macos
- name: os_macos
displayName: MacOS Image Version
type: string
default: macOS-11
- name: win_ps_5_1
displayName: Windows PowerShell 5.1 Version
type: string
default: 5.1
- name: ps_7_0_x
displayName: PowerShell 7.0.x Version
type: string
default: 7.0.*
- name: ps_7_1_x
displayName: PowerShell 7.1.x Version
type: string
default: 7.1.*
- name: ps_7_2_x
displayName: PowerShell 7.2.x Version
type: string
Expand Down Expand Up @@ -63,147 +55,133 @@ schedules:
pr: none
trigger: none

jobs:
- template: util/live-test-steps.yml
parameters:
name: 'win_ps_5_1_win_2019'
vmImage: ${{ parameters.img_windows_2019 }}
osType: 'Windows'
psVersion: ${{ parameters.win_ps_5_1 }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'win_ps_5_1_win_2022'
vmImage: ${{ parameters.img_windows_2022 }}
osType: 'Windows'
psVersion: ${{ parameters.win_ps_5_1 }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_0_x_win_2019'
vmImage: ${{ parameters.img_windows_2019 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_7_0_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_1_x_win_2019'
vmImage: ${{ parameters.img_windows_2019 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_7_1_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_2_x_win_2019'
vmImage: ${{ parameters.img_windows_2019 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_7_2_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_3_x_win_2019'
vmImage: ${{ parameters.img_windows_2019 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_7_3_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_7 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_0_x_win_2022'
vmImage: ${{ parameters.img_windows_2022 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_7_0_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_1_x_win_2022'
vmImage: ${{ parameters.img_windows_2022 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_7_1_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_2_x_win_2022'
vmImage: ${{ parameters.img_windows_2022 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_7_2_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_3_x_win_2022'
vmImage: ${{ parameters.img_windows_2022 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_7_3_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_7 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_0_x_linux'
vmImage: ${{ parameters.img_linux }}
osType: 'Linux'
psVersion: ${{ parameters.ps_7_0_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_1_x_linux'
vmImage: ${{ parameters.img_linux }}
osType: 'Linux'
psVersion: ${{ parameters.ps_7_1_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_2_x_linux'
vmImage: ${{ parameters.img_linux }}
osType: 'Linux'
psVersion: ${{ parameters.ps_7_2_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_3_x_linux'
vmImage: ${{ parameters.img_linux }}
osType: 'Linux'
psVersion: ${{ parameters.ps_7_3_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_7 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_0_x_macOS'
vmImage: ${{ parameters.img_macos }}
osType: 'MacOS'
psVersion: ${{ parameters.ps_7_0_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_1_x_macOS'
vmImage: ${{ parameters.img_macos }}
osType: 'MacOS'
psVersion: ${{ parameters.ps_7_1_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_2_x_macOS'
vmImage: ${{ parameters.img_macos }}
osType: 'MacOS'
psVersion: ${{ parameters.ps_7_2_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_3_x_macOS'
vmImage: ${{ parameters.img_macos }}
osType: 'MacOS'
psVersion: ${{ parameters.ps_7_3_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_7 }}
stages:
- stage: Test
displayName: Run Live Test
jobs:
- template: util/live-test-steps.yml
parameters:
name: 'win_ps_5_1_win_2019'
vmImage: ${{ parameters.os_windows_2019 }}
osType: 'Windows'
psVersion: ${{ parameters.win_ps_5_1 }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'win_ps_5_1_win_2022'
vmImage: ${{ parameters.os_windows_2022 }}
osType: 'Windows'
psVersion: ${{ parameters.win_ps_5_1 }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_2_x_win_2019'
vmImage: ${{ parameters.os_windows_2019 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_7_2_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_3_x_win_2019'
vmImage: ${{ parameters.os_windows_2019 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_7_3_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_7 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_latest_win_2019'
vmImage: ${{ parameters.os_windows_2019 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_latest }}
dotnetVersion: ${{ parameters.dotnet_sdk_7 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_2_x_win_2022'
vmImage: ${{ parameters.os_windows_2022 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_7_2_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_3_x_win_2022'
vmImage: ${{ parameters.os_windows_2022 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_7_3_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_7 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_latest_win_2022'
vmImage: ${{ parameters.os_windows_2022 }}
osType: 'Windows'
psVersion: ${{ parameters.ps_latest }}
dotnetVersion: ${{ parameters.dotnet_sdk_7 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_2_x_linux'
vmImage: ${{ parameters.os_linux }}
osType: 'Linux'
psVersion: ${{ parameters.ps_7_2_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_3_x_linux'
vmImage: ${{ parameters.os_linux }}
osType: 'Linux'
psVersion: ${{ parameters.ps_7_3_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_7 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_latest_linux'
vmImage: ${{ parameters.os_linux }}
osType: 'Linux'
psVersion: ${{ parameters.ps_latest }}
dotnetVersion: ${{ parameters.dotnet_sdk_7 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_2_x_macOS'
vmImage: ${{ parameters.os_macos }}
osType: 'MacOS'
psVersion: ${{ parameters.ps_7_2_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_6 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_7_3_x_macOS'
vmImage: ${{ parameters.os_macos }}
osType: 'MacOS'
psVersion: ${{ parameters.ps_7_3_x }}
dotnetVersion: ${{ parameters.dotnet_sdk_7 }}

- template: util/live-test-steps.yml
parameters:
name: 'ps_latest_macOS'
vmImage: ${{ parameters.os_macos }}
osType: 'MacOS'
psVersion: ${{ parameters.ps_latest }}
dotnetVersion: ${{ parameters.dotnet_sdk_7 }}

- stage: Report
displayName: Send Report
dependsOn: Test
jobs:
- job:
displayName: Send Live Test Status Report
steps:
- task: PowerShell@2
displayName: Send live test report
inputs:
pwsh: true
targetType: filePath
filePath: ./tools/TestFx/Live/SendLiveTestReport.ps1
arguments: $(KustoServicePrincipalTenantId) $(KustoServicePrincipalId) $(KustoServicePrincipalSecret) $(KustoClusterName) $(KustoClusterRegion) $(LiveTestDatabaseName) $(LiveTestTableName) $(Build.BuildId) "$(EmailServiceConnectionString)" "$(EmailFrom)" "$(EmailTo)"
28 changes: 0 additions & 28 deletions .azure-pipelines/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ parameters:
displayName: PowerShell 7.0.x Version
type: string
default: 7.0.*
- name: ps7_1
displayName: PowerShell 7.1.x Version
type: string
default: 7.1.*
- name: ps7_2
displayName: PowerShell 7.2.x Version
type: string
Expand Down Expand Up @@ -64,14 +60,6 @@ jobs:
psVersion: ${{ parameters.ps7 }}
netCoreVersion: ${{ parameters.netCoreVersion }}

- template: util/smoke-test-steps.yml
parameters:
name: 'Win_PS7_1_X_SmokeTest'
agentPoolName: ${{ variables.winAgentPoolName }}
agentPoolVMImage: ${{ variables.winAgentPoolVMImage }}
psVersion: ${{ parameters.ps7_1 }}
netCoreVersion: ${{ parameters.netCoreVersion }}

- template: util/smoke-test-steps.yml
parameters:
name: 'Win_PS7_2_X_SmokeTest'
Expand Down Expand Up @@ -112,14 +100,6 @@ jobs:
psVersion: ${{ parameters.ps7 }}
netCoreVersion: ${{ parameters.netCoreVersion }}

- template: util/smoke-test-steps.yml
parameters:
name: 'Linux_PS7_1_X_SmokeTest'
agentPoolName: ${{ variables.linuxAgentPoolName }}
agentPoolVMImage: ${{ variables.linuxAgentPoolVMImage }}
psVersion: ${{ parameters.ps7_1 }}
netCoreVersion: ${{ parameters.netCoreVersion }}

- template: util/smoke-test-steps.yml
parameters:
name: 'Linux_PS7_2_X_SmokeTest'
Expand Down Expand Up @@ -160,14 +140,6 @@ jobs:
psVersion: ${{ parameters.ps7 }}
netCoreVersion: ${{ parameters.netCoreVersion }}

- template: util/smoke-test-steps.yml
parameters:
name: 'MacOS_PS7_1_X_SmokeTest'
agentPoolName: ${{ variables.macOsAgentPoolName }}
agentPoolVMImage: ${{ variables.macOsAgentPoolVMImage }}
psVersion: ${{ parameters.ps7_1 }}
netCoreVersion: ${{ parameters.netCoreVersion }}

- template: util/smoke-test-steps.yml
parameters:
name: 'MacOS_PS7_2_X_SmokeTest'
Expand Down
Loading

0 comments on commit 9790495

Please sign in to comment.