Skip to content
Open
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
6 changes: 3 additions & 3 deletions .pipelines/dwsql-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Licensed under the MIT License.

# DwSql Integration Testing Pipeline config is split into two jobs:
# 1) LinuxTests -> Run SQL Server 2019 in Linux Docker Image
# 1) LinuxTests -> Run SQL Server 2025 in Linux Docker Image
# 2) WindowsTests -> Run LocalDB preinstalled on machine

trigger:
Expand Down Expand Up @@ -159,8 +159,8 @@ jobs:
# The variable setting on the pipeline UI sets the connection string
# for the linux job above.
data-source.connection-string: Server=(localdb)\MSSQLLocalDB;Persist Security Info=False;Integrated Security=True;MultipleActiveResultSets=False;Connection Timeout=30;TrustServerCertificate=True;
InstallerUrl: https://download.microsoft.com/download/7/c/1/7c14e92e-bdcb-4f89-b7cf-93543e7112d1/SqlLocalDB.msi
SqlVersionCode: '15.0'
InstallerUrl: https://download.microsoft.com/download/dea8c210-c44a-4a9d-9d80-0c81578860c5/ENU/SqlLocalDB.msi
SqlVersionCode: '17.0'
Comment thread
RubenCerna2079 marked this conversation as resolved.

steps:
- task: CmdLine@2
Expand Down
10 changes: 5 additions & 5 deletions .pipelines/mssql-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Licensed under the MIT License.

# MsSql Integration Testing Pipeline config is split into parallel jobs:
# 1) linux (disabled) -> Run SQL Server 2019 in Linux Docker Image
# 1) linux (disabled) -> Run SQL Server 2025 in Linux Docker Image
# 2) windows_combined -> GraphQL, REST, Unit, HotReload, OpenApi, Auth, Telemetry, Caching on LocalDB
# 3) windows_configuration -> Configuration tests on LocalDB (with schema init)

Expand Down Expand Up @@ -176,8 +176,8 @@ jobs:
# The variable setting on the pipeline UI sets the connection string
# for the linux job above.
data-source.connection-string: Server=(localdb)\MSSQLLocalDB;Persist Security Info=False;Integrated Security=True;MultipleActiveResultSets=False;Connection Timeout=30;TrustServerCertificate=True;
InstallerUrl: https://download.microsoft.com/download/7/c/1/7c14e92e-bdcb-4f89-b7cf-93543e7112d1/SqlLocalDB.msi
SqlVersionCode: '15.0'
InstallerUrl: https://download.microsoft.com/download/dea8c210-c44a-4a9d-9d80-0c81578860c5/ENU/SqlLocalDB.msi
SqlVersionCode: '17.0'

Comment thread
RubenCerna2079 marked this conversation as resolved.
steps:
- template: templates/mssql-test-steps.yml
Expand All @@ -199,8 +199,8 @@ jobs:
# The variable setting on the pipeline UI sets the connection string
# for the linux job above.
data-source.connection-string: Server=(localdb)\MSSQLLocalDB;Persist Security Info=False;Integrated Security=True;MultipleActiveResultSets=False;Connection Timeout=30;TrustServerCertificate=True;
InstallerUrl: https://download.microsoft.com/download/7/c/1/7c14e92e-bdcb-4f89-b7cf-93543e7112d1/SqlLocalDB.msi
SqlVersionCode: '15.0'
InstallerUrl: https://download.microsoft.com/download/dea8c210-c44a-4a9d-9d80-0c81578860c5/ENU/SqlLocalDB.msi
SqlVersionCode: '17.0'

Comment thread
RubenCerna2079 marked this conversation as resolved.
steps:
- template: templates/mssql-test-steps.yml
Expand Down
2 changes: 1 addition & 1 deletion scripts/start-mssql-server.bash
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ echo "forceencryption = 1" >> $CERT_DIR/mssql.conf
cat $CERT_DIR/mssql.conf

# Start mssql-server by volume mounting the cert, key and conf files.
docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=$DOCKER_SQL_PASS" -p 1433:1433 --name customerdb -h customerdb -v $CERT_DIR/mssql.conf:/var/opt/mssql/mssql.conf -v $CERT_DIR/mssql.pem:/var/opt/mssql/mssql.pem -v $CERT_DIR/mssql.key:/var/opt/mssql/mssql.key -d mcr.microsoft.com/mssql/server:2019-latest
docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=$DOCKER_SQL_PASS" -p 1433:1433 --name customerdb -h customerdb -v $CERT_DIR/mssql.conf:/var/opt/mssql/mssql.conf -v $CERT_DIR/mssql.pem:/var/opt/mssql/mssql.pem -v $CERT_DIR/mssql.key:/var/opt/mssql/mssql.key -d mcr.microsoft.com/mssql/server:2025-latest
sleep 30
Comment thread
RubenCerna2079 marked this conversation as resolved.
docker logs customerdb

Expand Down
2 changes: 1 addition & 1 deletion src/Service.Tests/dab-config.MsSql.json
Original file line number Diff line number Diff line change
Expand Up @@ -4022,4 +4022,4 @@
]
}
}
}
}