From efae2ecebbdf24a1ae67de5021e743ad4efd8bea Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Wed, 24 Jul 2024 03:44:31 -0700 Subject: [PATCH] ci(mssql): adjust to new location of `sqlcmd` (#9681) --- compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index 1a12bc5d2520..58bb6cf12322 100644 --- a/compose.yaml +++ b/compose.yaml @@ -68,7 +68,7 @@ services: retries: 20 test: - CMD-SHELL - - /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P "$$MSSQL_SA_PASSWORD" -Q "IF DB_ID('ibis_testing') IS NULL BEGIN CREATE DATABASE [ibis_testing] END" + - $(find / -name sqlcmd -type f -executable) -C -S localhost -U sa -P "$$MSSQL_SA_PASSWORD" -Q "IF DB_ID('ibis_testing') IS NULL BEGIN CREATE DATABASE [ibis_testing] END" ports: - 1433:1433 volumes: