Skip to content

Commit a1c2b82

Browse files
committed
feat(search): Add a new tool to list search and vector search indexes
It detects if the cluster supports search indexes the same way we do in all other tooling: by catching the exception. In some old clusters it might still return an empty list for unsupported custers, but we can't really know for sure. As we depend on mongot, we need to use the Atlas local image, which is not supported by mongodb-runner. Instead, we use testcontainers, that allows to run any docker image, which is enough for our use case. For now only run docker tests in Ubuntu * macos-latest does not support nested virtualisation yet * we don't have windows containers for atlas images
1 parent 071fc3b commit a1c2b82

File tree

12 files changed

+1257
-43
lines changed

12 files changed

+1257
-43
lines changed

.github/workflows/code-health-fork.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jobs:
2020
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
2121
if: matrix.os == 'ubuntu-latest'
2222
- uses: actions/checkout@v5
23+
- uses: docker/setup-docker-action@v4
24+
if: matrix.os == 'ubuntu-latest'
25+
name: Setup Docker Environment
26+
with:
27+
set-host: true
2328
- uses: actions/setup-node@v5
2429
with:
2530
node-version-file: package.json

.github/workflows/code-health.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
2222
if: matrix.os == 'ubuntu-latest'
2323
- uses: actions/checkout@v5
24+
- uses: docker/setup-docker-action@v4
25+
if: matrix.os == 'ubuntu-latest'
26+
name: Setup Docker Environment
27+
with:
28+
set-host: true
2429
- uses: actions/setup-node@v5
2530
with:
2631
node-version-file: package.json

0 commit comments

Comments
 (0)