Skip to content

Commit 0dd2676

Browse files
committed
update connection for mono
1 parent 42a924c commit 0dd2676

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/smoketests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
$body.ftQueues[0].Version = "${{ inputs.queueVersion }}"
6464
6565
if ("${{ inputs.queuePackage }}" -eq 'fiskaltrust.Middleware.Queue.EF') {
66-
$connectionString = "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=TestDb;Integrated Security=True;"
66+
$connectionString = $isWindow ? "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=TestDb;Integrated Security=True;" : "Server=localhost,1433;Database=fiskaltrustdb;User Id=sa;Password=pass678!;TrustServerCertificate=True;"
6767
$body.ftQueues[0].Configuration | Add-Member -NotePropertyName "connectionstring" -NotePropertyValue "$connectionString"
6868
}
6969
@@ -120,7 +120,7 @@ jobs:
120120
}
121121
else{
122122
123-
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=YourPassword123!" -p 1433:1433 --name sqlserver -d mcr.microsoft.com/mssql/server:2022-latest
123+
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=pass678!" -p 1433:1433 --name sqlserver -d mcr.microsoft.com/mssql/server:2022-latest
124124
}
125125
126126
- name: Download launcher package for ${{inputs.platform}}--launcherVersion=${{inputs.launcherVersion}}--package=${{inputs.queuePackage}}-${{inputs.queueVersion}}
@@ -172,8 +172,9 @@ jobs:
172172
Write-Host "Installing Mono on Linux..."
173173
sudo apt-get update -y
174174
sudo apt-get install -y mono-complete
175+
175176
- name: Install expect
176-
if: ${{ inputs.platform == 'ubuntu-latest' }}
177+
if: ${{ inputs.platform == 'ubuntu-latest' && inputs.launcherVersion=='v1.3' }}
177178
run: sudo apt-get update && sudo apt-get install -y expect
178179

179180
- name: Run launcher,send requests, and stop

0 commit comments

Comments
 (0)