Add support to test against various versions of OpenSearch (#146)

* Adding support to run integration tests across various versions of OpenSearch

Signed-off-by: Vacha Shah <[email protected]>

* Adding a compatibility matrix and getting started guide with formatting

Signed-off-by: Vacha Shah <[email protected]>

* Splitting jobs for opendistro and opensearch

Signed-off-by: Vacha Shah <[email protected]>
This commit is contained in:
Vacha Shah
2022-04-05 14:06:54 -07:00
committed by GitHub
parent fe1730a88b
commit 172a3179ab
12 changed files with 257 additions and 202 deletions
+4 -3
View File
@@ -9,11 +9,12 @@ jobs:
strategy:
fail-fast: false
matrix:
cluster: ["opendistro", "opensearch"]
cluster: ["opensearch"]
secured: ["true", "false"]
opensearch_version: [1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.3.0, 1.3.1]
steps:
- name: Checkout
uses: actions/checkout@v2
- run: "./.ci/run-tests ${{ matrix.cluster }} ${{ matrix.secured }}"
name: Integ ${{ matrix.stack_version }} ${{ matrix.cluster }} secured=${{ matrix.secured }}
- name: Integ ${{ matrix.cluster }} secured=${{ matrix.secured }} version=${{matrix.opensearch_version}}
run: "./.ci/run-tests ${{ matrix.cluster }} ${{ matrix.secured }} ${{ matrix.opensearch_version }}"