From 6110c46326cf3394d3c99615e2545bec428e89ff Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sun, 22 Sep 2024 22:47:32 -0400 Subject: [PATCH 1/4] use rebuilt mssql-2017 image --- .github/workflows/pull-db-tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-db-tests.yml b/.github/workflows/pull-db-tests.yml index 90804c0f0a31a..52963cae3e143 100644 --- a/.github/workflows/pull-db-tests.yml +++ b/.github/workflows/pull-db-tests.yml @@ -201,8 +201,9 @@ jobs: runs-on: ubuntu-latest services: mssql: - # some images before 2024-04 can't run on new kernels - image: mcr.microsoft.com/mssql/server:2019-latest + # rebuilt mssql image, only for gitea's testing of mssql + # not for general use + image: techknowlogick/mssql:2017 env: ACCEPT_EULA: Y MSSQL_PID: Standard From e6f532289ff0e3b73394f641e7b98738dde9a4ec Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sun, 22 Sep 2024 22:55:43 -0400 Subject: [PATCH 2/4] Update pull-db-tests.yml --- .github/workflows/pull-db-tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull-db-tests.yml b/.github/workflows/pull-db-tests.yml index 52963cae3e143..f9ec91f699b42 100644 --- a/.github/workflows/pull-db-tests.yml +++ b/.github/workflows/pull-db-tests.yml @@ -198,12 +198,12 @@ jobs: test-mssql: if: needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.actions == 'true' needs: files-changed - runs-on: ubuntu-latest + # specifying the version of ubuntu in use as mssql fails on newer kernels + # pending resolution from vendor + runs-on: ubuntu-22.04 services: mssql: - # rebuilt mssql image, only for gitea's testing of mssql - # not for general use - image: techknowlogick/mssql:2017 + image: mcr.microsoft.com/mssql/server:2019-latest env: ACCEPT_EULA: Y MSSQL_PID: Standard From c81eb0d180a8488ead337fc1216d2855b312fb98 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sun, 22 Sep 2024 23:48:59 -0400 Subject: [PATCH 3/4] use correct image --- .github/workflows/pull-db-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-db-tests.yml b/.github/workflows/pull-db-tests.yml index f9ec91f699b42..7878eba52cac2 100644 --- a/.github/workflows/pull-db-tests.yml +++ b/.github/workflows/pull-db-tests.yml @@ -203,7 +203,7 @@ jobs: runs-on: ubuntu-22.04 services: mssql: - image: mcr.microsoft.com/mssql/server:2019-latest + image: mcr.microsoft.com/mssql/server:2017-latest env: ACCEPT_EULA: Y MSSQL_PID: Standard From 3f3c583dfcfcdd1cc81fb5c223b7e109af1911fe Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sun, 22 Sep 2024 23:53:30 -0400 Subject: [PATCH 4/4] Update pull-db-tests.yml --- .github/workflows/pull-db-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-db-tests.yml b/.github/workflows/pull-db-tests.yml index 7878eba52cac2..22cb784245c24 100644 --- a/.github/workflows/pull-db-tests.yml +++ b/.github/workflows/pull-db-tests.yml @@ -200,7 +200,7 @@ jobs: needs: files-changed # specifying the version of ubuntu in use as mssql fails on newer kernels # pending resolution from vendor - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 services: mssql: image: mcr.microsoft.com/mssql/server:2017-latest