diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index d63596f08f..1bc1915a71 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -164,7 +164,7 @@ jobs: - name: Pull testcontainers images run: | - docker pull mcr.microsoft.com/mssql/server:2022-latest & + docker pull mcr.microsoft.com/mssql/server:2022-CU13-ubuntu-22.04 & docker pull mysql:8.3 & docker pull postgres:16.1-bullseye & docker pull mongo:7.0-jammy & diff --git a/packages/server/src/integrations/tests/utils/mssql.ts b/packages/server/src/integrations/tests/utils/mssql.ts index 2a4af48725..ed94477814 100644 --- a/packages/server/src/integrations/tests/utils/mssql.ts +++ b/packages/server/src/integrations/tests/utils/mssql.ts @@ -9,7 +9,9 @@ let ports: Promise export async function getDatasource(): Promise { if (!ports) { ports = startContainer( - new GenericContainer("mcr.microsoft.com/mssql/server:2022-latest") + new GenericContainer( + "mcr.microsoft.com/mssql/server:2022-CU13-ubuntu-22.04" + ) .withExposedPorts(1433) .withEnvironment({ ACCEPT_EULA: "Y", @@ -22,7 +24,7 @@ export async function getDatasource(): Promise { }) .withWaitStrategy( Wait.forSuccessfulCommand( - "/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P Password_123 -q 'SELECT 1'" + "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P Password_123 -q 'SELECT 1'" ) ) )