From d15068c2f1ea51a7b6f11b84ec8646e14d19c48e Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Fri, 2 Aug 2024 14:01:40 +0200 Subject: [PATCH] fix sql server healthcheck --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 53924c8161..1344da5276 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -64,7 +64,7 @@ jobs: SA_PASSWORD: Lucee!1433 # password must be complex or the service won't start ports: - 1433:1433 - options: --health-cmd="/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P ${SA_PASSWORD} -Q 'SELECT 1' || exit 1" --health-interval 10s --health-timeout 5s --health-retries 5 + options: --health-cmd="/opt/mssql-tools18/bin/sqlcmd -C -S localhost -U SA -P ${SA_PASSWORD} -Q 'SELECT 1' || exit 1" --health-interval 10s --health-timeout 5s --health-retries 5 redis_with_creds: image: ${{ (github.secret_source != 'none') && 'redis' || '' }} # Set health checks to wait until redis has started