[INTERNAL] CI: Adds .NET8 SDK support (#4776)

[INTERNAL] CI: Adds .NET8 SDK support

RISK: not all pipelines are exercised part of CI gates and might be
surprises later.
This commit is contained in:
Kiran Kumar Kolli 2024-10-09 13:30:21 -07:00 коммит произвёл GitHub
Родитель ac78e58659
Коммит 2b0a021d1d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
9 изменённых файлов: 177 добавлений и 33 удалений

Просмотреть файл

@ -16,12 +16,18 @@ stages:
pool:
name: 'OneES'
steps:
# Add this Command to Include the .NET 6 SDK
# Add this Command to Include the .NET SDK and runtimes
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Build Microsoft.Azure.Cosmos.Encryption.Custom

Просмотреть файл

@ -17,12 +17,18 @@ stages:
name: 'OneES'
steps:
# Add this Command to Include the .NET 6 SDK
# Add this Command to Include the .NET SDK and runtimes
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Build Microsoft.Azure.Cosmos.Encryption

Просмотреть файл

@ -34,13 +34,19 @@ stages:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: true # if true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching
# Add this Command to Include the .NET 6 SDK
# Add this Command to Include the .NET SDK and runtimes
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Integration Test With Client Telemetry Service
condition: succeeded()

Просмотреть файл

@ -16,12 +16,18 @@ jobs:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: true # if true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching
# Add this Command to Include the .NET 6 SDK
# Add this Command to Include the .NET SDK and runtimes
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Build Microsoft.Azure.CosmosBenchmark
@ -44,9 +50,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Build Microsoft.Azure.CosmosBenchmark

Просмотреть файл

@ -14,12 +14,18 @@ jobs:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: true # if true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching
# Add this Command to Include the .NET 6 SDK
# Add this Command to Include the .NET SDK and runtimes
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Build CTL project

Просмотреть файл

@ -17,12 +17,18 @@ jobs:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: true # if true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching
# Add this Command to Include the .NET 6 SDK
# Add this Command to Include the .NET SDK and runtimes
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Build Microsoft.Azure.Cosmos Internal

Просмотреть файл

@ -17,12 +17,18 @@ jobs:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: true # if true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching
# Add this Command to Include the .NET 6 SDK
# Add this Command to Include the .NET SDK and runtimes
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Build Microsoft.Azure.Cosmos PREVIEW
@ -46,9 +52,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Build Microsoft.Azure.Cosmos.Encryption Project Ref
@ -74,9 +86,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- template: emulator-setup.yml
@ -103,9 +121,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Build Microsoft.Azure.Cosmos.Encryption.Custom Project Ref
@ -129,9 +153,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: PREVIEW Microsoft.Azure.Cosmos.Tests
@ -156,9 +186,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: PREVIEW Microsoft.Azure.Cosmos.Tests

Просмотреть файл

@ -14,12 +14,18 @@ jobs:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: true # if true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching
# Add this Command to Include the .NET 6 SDK
# Add this Command to Include the .NET SDK and runtimes
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Build samples project

Просмотреть файл

@ -26,12 +26,18 @@ jobs:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: true # if true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching
# Add this Command to Include the .NET 6 SDK
# Add this Command to Include the .NET SDK and runtimes
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Microsoft.Azure.Cosmos.Tests
@ -57,9 +63,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Microsoft.Azure.Cosmos.Tests
@ -86,9 +98,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Microsoft.Azure.Cosmos.Tests
@ -124,9 +142,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Microsoft.Azure.Cosmos.PerformanceTests - Build
@ -160,9 +184,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- template: emulator-setup.yml
@ -194,9 +224,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- template: emulator-setup.yml
@ -229,9 +265,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- template: emulator-setup.yml
@ -263,9 +305,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- template: emulator-setup.yml
@ -297,9 +345,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- template: emulator-setup.yml
@ -331,9 +385,15 @@ jobs:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
displayName: Use .NET 6.0
inputs:
packageType: 'runtime'
version: '6.x'
- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '8.x'
- task: DotNetCoreCLI@2
displayName: Microsoft.Azure.Cosmos.EmulatorTests