From dc1b791c98ad49b807a1b82578dab912dcc1dfb0 Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Tue, 14 May 2024 12:03:48 -0500 Subject: [PATCH 1/4] Test with OpenSearch 2.13 as well --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9693cd5..91d8c12 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: image: node:18 strategy: matrix: - searchdb-host: [elastic7, elastic8, opensearch1] + searchdb-host: [elastic7, elastic8, opensearch1, opensearch2] fail-fast: false services: @@ -35,6 +35,11 @@ jobs: env: discovery.type: single-node plugins.security.disabled: true + opensearch2: + image: opensearchproject/opensearch:2.13.0 + env: + discovery.type: single-node + plugins.security.disabled: true steps: - name: Checkout code From b080e77e08267731804bfae1152e73097d9ea6dd Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Tue, 14 May 2024 13:44:34 -0500 Subject: [PATCH 2/4] Provide initial password to OpenSearch 2 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91d8c12..53414bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,7 @@ jobs: env: discovery.type: single-node plugins.security.disabled: true + OPENSEARCH_INITIAL_ADMIN_PASSWORD: temba steps: - name: Checkout code From c58e6733e930cd375c05ceb244c7769d48169efd Mon Sep 17 00:00:00 2001 From: Norbert Kwizera Date: Wed, 15 May 2024 18:20:55 +0200 Subject: [PATCH 3/4] Fix OpenSearch env variables --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53414bd..d0e7467 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,11 +35,15 @@ jobs: env: discovery.type: single-node plugins.security.disabled: true + OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m + DISABLE_INSTALL_DEMO_CONFIG: true opensearch2: image: opensearchproject/opensearch:2.13.0 env: discovery.type: single-node plugins.security.disabled: true + OPENSEARCH_JAVA_OPTS: -Xms512m -Xmx512m + DISABLE_INSTALL_DEMO_CONFIG: true OPENSEARCH_INITIAL_ADMIN_PASSWORD: temba steps: From c328726af141af60114b8924a15d7f4fe4ab9dd5 Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Tue, 14 May 2024 13:44:34 -0500 Subject: [PATCH 4/4] Provide initial password to OpenSearch 2 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91d8c12..53414bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,7 @@ jobs: env: discovery.type: single-node plugins.security.disabled: true + OPENSEARCH_INITIAL_ADMIN_PASSWORD: temba steps: - name: Checkout code