Skip to content

Commit 3707223

Browse files
author
Nick Craver
committed
Tweak docker bits
To test locally: ``` $env:SqlServerConnectionString = "Server=.;Database=tempdb;User Id=sa;Password=saAccountI#v3rySecure;" $env:OLEDBConnectionString = "Provider=SQLOLEDB;Server=.;Database=tempdb;User Id=sa;Password=saAccountI#v3rySecure;" $env:MySQLConnectionString = "server=localhost;Port=3306;Uid=root;Pwd=root;Database=test;Allow User Variables=true" $env:PostgreSqlConnectionString = "Server=localhost;Port=5432;Database=test;User Id=postgres;Password=postgres;" ```
1 parent deadc1e commit 3707223

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ jobs:
4747
env:
4848
EnableTestLogging: true
4949
MySQLConnectionString: server=localhost;Port=${{ job.services.mysql.ports[3306] }};Uid=root;Pwd=root;Database=test;Allow User Variables=true
50+
OLEDBConnectionString: Provider=SQLOLEDB;Server=tcp:127.0.0.1,${{ job.services.sqlserver.ports[1433] }};Database=tempdb;User Id=sa;Password=saAccountI#v3rySecure;
5051
PostgreSqlConnectionString: Server=localhost;Port=${{ job.services.postgres.ports[5432] }};Database=test;User Id=postgres;Password=postgres;
51-
SQLServerConnectionString: Server=tcp:127.0.0.1,${{ job.services.sqlserver.ports[1433] }};Database=tempdb;User Id=sa;Password=g0d4mm!tSQLServer;
52+
SQLServerConnectionString: Server=tcp:127.0.0.1,${{ job.services.sqlserver.ports[1433] }};Database=tempdb;User Id=sa;Password=saAccountI#v3rySecure;
5253
- name: .NET Lib Pack
5354
run: dotnet pack Build.csproj --no-build -c Release /p:PackageOutputPath=%CD%\.nupkgs /p:CI=true

tests/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ services:
1818
POSTGRES_PASSWORD: postgres
1919
POSTGRES_DB: test
2020
sqlserver:
21-
image: microsoft/mssql-server-linux:2019-latest
21+
image: mcr.microsoft.com/mssql/server:2019-latest
2222
container_name: sql-server-db
2323
ports:
2424
- 1433:1433

0 commit comments

Comments
 (0)