You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use official SQL Server docker image for tests (#7205)
* Use official SQL Server docker image for tests
* Try with tag 2019-latest instead of latest
* Use platform ubuntu-20.04 for SQL Server
* Switch to 2019-CU18-ubuntu-20.04
* Check with 2022-latest image tag and ubuntu-latest platform
* Update health-cmd
* Try sqlcmd without -N -C
* Re-include -N -C, try with ubuntu-20.04
* Try ubuntu-20.04 without -N -C (last trial)
* Finalize working config
* Remove unused env variables
Copy file name to clipboardexpand all lines: tests/tests_all.sh
+1-1
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ if [[ -z $GITHUB_ACTION ]]; then
27
27
SQLCMDPASSWORD=LoremIpsum86 sqlcmd -U sa -S localhost:9930 -Q "IF SUSER_ID (N'gorm') IS NULL CREATE LOGIN gorm WITH PASSWORD = 'LoremIpsum86';"> /dev/null ||true
28
28
SQLCMDPASSWORD=LoremIpsum86 sqlcmd -U sa -S localhost:9930 -Q "IF USER_ID (N'gorm') IS NULL CREATE USER gorm FROM LOGIN gorm; ALTER SERVER ROLE sysadmin ADD MEMBER [gorm];"> /dev/null ||true
29
29
else
30
-
docker compose up -d
30
+
MSSQL_IMAGE=mcr.microsoft.com/mssql/server docker compose up -d
0 commit comments