Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 12 commits into from
Oct 9, 2024
8 changes: 7 additions & 1 deletion azure-pipelines-encryption-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ stages:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
kirankumarkolli marked this conversation as resolved.
Show resolved Hide resolved
version: '6.x'
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.Custom
Expand Down
6 changes: 6 additions & 0 deletions azure-pipelines-encryption.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ stages:
inputs:
packageType: 'sdk'
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
Expand Down
6 changes: 6 additions & 0 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ stages:
packageType: 'sdk'
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()
Expand Down
14 changes: 13 additions & 1 deletion templates/build-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
inputs:
packageType: 'sdk'
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
Expand All @@ -46,7 +52,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
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
Expand Down
8 changes: 7 additions & 1 deletion templates/build-ctl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- task: DotNetCoreCLI@2
displayName: Build CTL project
Expand Down
8 changes: 7 additions & 1 deletion templates/build-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
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 Internal
Expand Down
48 changes: 42 additions & 6 deletions templates/build-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
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 PREVIEW
Expand All @@ -48,7 +54,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
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 Project Ref
Expand Down Expand Up @@ -76,7 +88,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- template: emulator-setup.yml

Expand Down Expand Up @@ -105,7 +123,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
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.Custom Project Ref
Expand All @@ -131,7 +155,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- task: DotNetCoreCLI@2
displayName: PREVIEW Microsoft.Azure.Cosmos.Tests
Expand All @@ -158,7 +188,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- task: DotNetCoreCLI@2
displayName: PREVIEW Microsoft.Azure.Cosmos.Tests
Expand Down
8 changes: 7 additions & 1 deletion templates/build-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- task: DotNetCoreCLI@2
displayName: Build samples project
Expand Down
80 changes: 70 additions & 10 deletions templates/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- task: DotNetCoreCLI@2
displayName: Microsoft.Azure.Cosmos.Tests
Expand Down Expand Up @@ -59,7 +65,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- task: DotNetCoreCLI@2
displayName: Microsoft.Azure.Cosmos.Tests
Expand Down Expand Up @@ -88,7 +100,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- task: DotNetCoreCLI@2
displayName: Microsoft.Azure.Cosmos.Tests
Expand Down Expand Up @@ -126,7 +144,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- task: DotNetCoreCLI@2
displayName: Microsoft.Azure.Cosmos.PerformanceTests - Build
Expand Down Expand Up @@ -162,7 +186,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- template: emulator-setup.yml

Expand Down Expand Up @@ -196,7 +226,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- template: emulator-setup.yml

Expand Down Expand Up @@ -231,7 +267,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- template: emulator-setup.yml

Expand Down Expand Up @@ -265,7 +307,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- template: emulator-setup.yml

Expand Down Expand Up @@ -299,7 +347,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- template: emulator-setup.yml

Expand Down Expand Up @@ -333,7 +387,13 @@ jobs:
displayName: Use .NET 6.0
inputs:
packageType: 'sdk'
version: '6.x'
version: '6.x'

- task: UseDotNet@2
displayName: Use .NET 8.0
inputs:
packageType: 'sdk'
version: '8.x'

- task: DotNetCoreCLI@2
displayName: Microsoft.Azure.Cosmos.EmulatorTests
Expand Down