Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ stages:
operatingSystem: Windows
runtime: ${{ runtime }}
useManagedSNI: false
vmImage: ADO-MMS22-SQL22
vmImage: ADO-MMS25-SQL25

- ${{ each runtime in parameters.netTestRuntimes }}:
- template: /eng/pipelines/ci/managed-instance/sqlclient-ci-managed-instance-job.yml@self
Expand All @@ -81,7 +81,7 @@ stages:
operatingSystem: Windows
runtime: ${{ runtime }}
useManagedSNI: false
vmImage: ADO-MMS22-SQL22
vmImage: ADO-MMS25-SQL25

- template: /eng/pipelines/ci/managed-instance/sqlclient-ci-managed-instance-job.yml@self
parameters:
Expand All @@ -93,7 +93,7 @@ stages:
operatingSystem: Windows
runtime: ${{ runtime }}
useManagedSNI: true
vmImage: ADO-MMS22-SQL22
vmImage: ADO-MMS25-SQL25

# ----------------------------------------------------------------------------------------------
# Linux: one job per .NET runtime (managed SNI is always used on non-Windows).
Expand All @@ -108,4 +108,4 @@ stages:
dotnetVerbosity: ${{ parameters.dotnetVerbosity }}
operatingSystem: Linux
runtime: ${{ runtime }}
vmImage: ADO-UB22-SQL22
vmImage: ADO-UB24-SQL25
4 changes: 2 additions & 2 deletions eng/pipelines/ci/stress/sqlclient-ci-stress-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ stages:
template: /eng/pipelines/common/templates/steps/configure-sql-server-linux-step.yml@self
parameters:
saPassword: $(saPassword)
vmImage: ADO-UB22-SQL22
vmImage: ADO-UB24-SQL25

# ----------------------------------------------------------------------------------------------
# Build and test on Windows
Expand All @@ -112,7 +112,7 @@ stages:
saPassword: $(saPassword)
# The Windows images include a suitable .NET Framework runtime, so we don't have to install
# one explicitly.
vmImage: ADO-MMS22-SQL22
vmImage: ADO-MMS25-SQL25

# ----------------------------------------------------------------------------------------------
# Build and test on macOS.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#################################################################################

# This step configures an existing SQL Server running on the local Windows host. For example, our
# 1ES Hosted Pool has images like ADO-MMS22-SQL22 that come with SQL Server 2022 pre-installed and
# 1ES Hosted Pool has images like ADO-MMS25-SQL25 that come with SQL Server 2025 pre-installed and
# running.

parameters:
Expand Down
52 changes: 28 additions & 24 deletions eng/pipelines/dotnet-sqlclient-ci-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ stages:
testConfigurations:
# SQL Server 2016 and 2017 on Windows Server 2022 (x64 only).
# x86 testing is intentionally skipped for these legacy SQL versions
# because x86 support is already validated via SQL 2019 and 2022 images.
# because x86 support is already validated via SQL 2019 and 2025 images.
${{ if eq(parameters.runLegacySqlTests, true) }}:
# Windows Server 22 with local SQL Server 2016, x64 build platform.
windows_sql_16_x64:
Expand Down Expand Up @@ -416,11 +416,11 @@ stages:
SQLRootPath: $(SQL19RootPath)
enableLocalDB: true

# Windows Server 22 with local SQL Server 2022, x64 build platform.
windows_sql_22_x64:
# Windows Server 25 with local SQL Server 2025, x64 build platform.
windows_sql_25_x64:
pool: ${{parameters.defaultPoolName }}
images:
Win22_Sql22: ADO-MMS22-SQL22
Win25_Sql25: ADO-MMS25-SQL25
TargetFrameworks: ${{parameters.targetFrameworks }}
netcoreVersionTestUtils: ${{parameters.netcoreVersionTestUtils }}
buildPlatforms: ${{parameters.buildPlatforms }}
Expand All @@ -439,14 +439,14 @@ stages:
LocalDbAppName: $(LocalDbAppName)
LocalDbSharedInstanceName: $(LocalDbSharedInstanceName)
AliasName: $(SQLAliasName)
SQLRootPath: $(SQL22RootPath)
SQLRootPath: $(SQL25RootPath)
enableLocalDB: true

# Windows Server 22 with local SQL Server 2022, x86 build platform.
windows_sql_22_x86:
# Windows Server 25 with local SQL Server 2025, x86 build platform.
windows_sql_25_x86:
pool: ${{parameters.defaultPoolName }}
images:
Win22_Sql22_x86: ADO-MMS22-SQL22
Win25_Sql25_x86: ADO-MMS25-SQL25
TargetFrameworks: [net462, net8.0, net9.0]
netcoreVersionTestUtils: ${{parameters.netcoreVersionTestUtils }}
buildPlatforms: ${{parameters.buildPlatforms }}
Expand All @@ -466,14 +466,14 @@ stages:
LocalDbSharedInstanceName: $(LocalDbSharedInstanceName)
AliasName: $(SQLAliasName)
x86TestTargetFrameworks: [net462, net8.0, net9.0]
SQLRootPath: $(SQL22RootPath)
SQLRootPath: $(SQL25RootPath)
enableLocalDB: true

# Windows Server 22 with local SQL Server 2022 Named Instance, x64 build platform.
windows_sql_22_named_instance:
# Windows Server 25 with local SQL Server 2025 Named Instance, x64 build platform.
windows_sql_25_named_instance:
pool: ${{parameters.defaultPoolName }}
images:
Win22_Sql22_Named_Instance: ADO-MMS22-SQL22-WITH-NAMED-INSTANCE
Win25_Sql25_Named_Instance: ADO-MMS25-SQL25-WITH-NAMED-INSTANCE
TargetFrameworks: ${{parameters.targetFrameworks }}
netcoreVersionTestUtils: ${{parameters.netcoreVersionTestUtils }}
buildPlatforms: ${{parameters.buildPlatforms }}
Expand All @@ -485,7 +485,7 @@ stages:
TCPConnectionString: $(SQL_TCP_INSTANCE_CONN_STRING)
NPConnectionString: $(SQL_NP_INSTANCE_CONN_STRING)
SupportsIntegratedSecurity: true
SQLRootPath: $(SQL22RootPath)
SQLRootPath: $(SQL25RootPath)
instanceName: $(NamedInstance)

# Windows Server 2022 and Windows 11, x64 build platform, with Azure SQL Server.
Expand Down Expand Up @@ -546,12 +546,11 @@ stages:
LocalDbAppName: $(LocalDbAppName)
LocalDbSharedInstanceName: $(LocalDbSharedInstanceName)

# Linux Ubuntu 20 and 22 with local SQL Server 2022, x64 build platform.
linux_ub20_22_sql_22:
# Linux Ubuntu 24 with local SQL Server 2025, x64 build platform.
linux_ub24_sql_25:
pool: ${{parameters.defaultPoolName }}
images:
Ubuntu20_Sql22: ADO-UB20-SQL22
Ubuntu22_Sql22: ADO-UB22-SQL22
Ubuntu24_Sql25: ADO-UB24-SQL25
TargetFrameworks: ${{parameters.targetFrameworksUnix }}
netcoreVersionTestUtils: ${{parameters.netcoreVersionTestUtils }}
buildPlatforms: [AnyCPU]
Expand All @@ -570,11 +569,11 @@ stages:
LocalDbSharedInstanceName: $(LocalDbSharedInstanceName)
AliasName: $(SQLAliasName)

# Linux Ubuntu 22 with Azure SQL Server, x64 build platform.
# Linux Ubuntu 24 with Azure SQL Server, x64 build platform.
linux_azure_sql:
pool: ${{parameters.defaultPoolName }}
images:
Ubuntu22_Azure_Sql: ADO-UB22-SQL22
Ubuntu24_Azure_Sql: ADO-UB24-SQL25
TargetFrameworks: ${{parameters.targetFrameworksUnix }}
netcoreVersionTestUtils: ${{parameters.netcoreVersionTestUtils }}
buildPlatforms: [AnyCPU]
Expand All @@ -597,12 +596,12 @@ stages:
LocalDbAppName: $(LocalDbAppName)
LocalDbSharedInstanceName: $(LocalDbSharedInstanceName)

# macOS with local SQL Server 2022, x64 build platform.
mac_sql_22:
# macOS with local SQL Server 2025 (docker), x64 build platform.
mac_sql_25:
pool: Azure Pipelines
hostedPool: true
images:
MacOSLatest_Sql22: macos-latest
MacOSLatest_Sql25: macos-latest
TargetFrameworks: ${{parameters.targetFrameworksUnix }}
netcoreVersionTestUtils: ${{parameters.netcoreVersionTestUtils }}
buildPlatforms: [AnyCPU]
Expand Down Expand Up @@ -651,11 +650,16 @@ stages:
LocalDbAppName: $(LocalDbAppName)
LocalDbSharedInstanceName: $(LocalDbSharedInstanceName)

# Linux Ubuntu 22 with remote Enclave-enabled SQL Server 2019, x64 build platform.
# Linux Ubuntu 24 with remote Enclave-enabled SQL Server 2019, x64 build platform.
linux_enclave_sql:
pool: ADO-CI-AE-1ES-Pool
images:
Ubuntu20_Enclave_Sql19: ADO-UB22-Sql22
# NOTE: This key is also the generated stage name, and is
# referenced by branch policies / required status checks, so it is
# deliberately left unchanged. The 'Sql19' suffix remains
# accurate: these tests target a remote Enclave-enabled SQL Server
# 2019. Only the agent image has moved to Ubuntu 24.
Ubuntu20_Enclave_Sql19: ADO-UB24-SQL25
TargetFrameworks: ${{parameters.targetFrameworksUnix }}
netcoreVersionTestUtils: ${{parameters.netcoreVersionTestUtils }}
buildPlatforms: [AnyCPU]
Expand Down
14 changes: 7 additions & 7 deletions eng/pipelines/pr/sqlclient-pr-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,32 +70,32 @@ parameters:
default:
- displayName: "windows_net462"
dotnet: "net462"
image: "ADO-MMS22-SQL22"
image: "ADO-MMS25-SQL25"
operatingSystem: "Windows"
- displayName: "windows_net8"
dotnet: "net8.0"
image: "ADO-MMS22-SQL22"
image: "ADO-MMS25-SQL25"
operatingSystem: "Windows"
- displayName: "windows_net9"
dotnet: "net9.0"
image: "ADO-MMS22-SQL22"
image: "ADO-MMS25-SQL25"
operatingSystem: "Windows"
- displayName: "windows_net10"
dotnet: "net10.0"
image: "ADO-MMS22-SQL22"
image: "ADO-MMS25-SQL25"
operatingSystem: "Windows"

- displayName: "linux_net8"
dotnet: "net8.0"
image: "ADO-UB22-SQL22"
image: "ADO-UB24-SQL25"
operatingSystem: "Linux"
- displayName: "linux_net9"
dotnet: "net9.0"
image: "ADO-UB22-SQL22"
image: "ADO-UB24-SQL25"
operatingSystem: "Linux"
- displayName: "linux_net10"
dotnet: "net10.0"
image: "ADO-UB22-SQL22"
image: "ADO-UB24-SQL25"
operatingSystem: "Linux"

variables:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#################################################################################

# This step configures an existing SQL Server running on the local Linux host. For example, our 1ES
# Hosted Pool has images like ADO-UB20-SQL22 that come with SQL Server 2022 pre-installed and
# Hosted Pool has images like ADO-UB24-SQL25 that come with SQL Server 2025 pre-installed and
# running.

parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#################################################################################

# This step configures an existing SQL Server running on the local Windows host. For example, our
# 1ES Hosted Pool has images like ADO-MMS22-SQL22 that come with SQL Server 2022 pre-installed and
# 1ES Hosted Pool has images like ADO-MMS25-SQL25 that come with SQL Server 2025 pre-installed and
# running.

parameters:
Expand Down
12 changes: 6 additions & 6 deletions eng/pipelines/stages/build-azure-package-ci-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ parameters:
#
# Any pool specified here must contain images with the following names:
#
# - ADO-MMS22-SQL22
# - ADO-UB22-SQL22
# - ADO-MMS25-SQL25
# - ADO-UB24-SQL25
#
default: $(ci_var_defaultPoolName)

Expand Down Expand Up @@ -219,7 +219,7 @@ stages:
- template: /eng/pipelines/common/templates/steps/configure-sql-server-linux-step.yml@self
parameters:
saPassword: $(saPassword)
vmImage: ADO-UB22-SQL22
vmImage: ADO-UB24-SQL25

# ------------------------------------------------------------------------
# Build and test on Windows
Expand Down Expand Up @@ -277,11 +277,11 @@ stages:
# These variables are from an Azure DevOps Library variable
# group.
fileStreamDirectory: $(FileStreamDirectory)
sqlRootPath: $(SQL22RootPath)
# The ADO-MMS22-SQL22 image includes a local SQL Server that supports
SQLRootPath: $(SQL25RootPath)
# The ADO-MMS25-SQL25 image includes a local SQL Server that supports
# integrated security.
supportsIntegratedSecurity: true
vmImage: ADO-MMS22-SQL22
vmImage: ADO-MMS25-SQL25

# ------------------------------------------------------------------------
# Build and test on macOS.
Expand Down
Loading