Bump client version to 2.0.0 (#167)

* Bump client version to 2.0.0

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding test support for other unreleased branches

Signed-off-by: Vacha Shah <vachshah@amazon.com>
This commit is contained in:
Vacha Shah
2022-05-26 11:07:47 -04:00
committed by GitHub
parent 3944cc2928
commit cae0577fd2
4 changed files with 21 additions and 15 deletions
+12 -12
View File
@@ -1,25 +1,24 @@
name: Integration with Unreleased OpenSearch
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
env:
OPENSEARCH_VERSION: '2.0'
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
entry:
- { opensearch_ref: '1.x' }
- { opensearch_ref: '2.0' }
- { opensearch_ref: '2.x' }
- { opensearch_ref: 'main' }
steps:
- name: Checkout OpenSearch
uses: actions/checkout@v2
with:
repository: opensearch-project/opensearch
ref: ${{ env.OPENSEARCH_VERSION }}
ref: ${{ matrix.entry.opensearch_ref }}
path: opensearch
# This step builds the docker image tagged as opensearch:test. It will be further used in /ci/run-tests to test against unreleased OpenSearch.
@@ -28,8 +27,9 @@ jobs:
run: |
cd opensearch
./gradlew assemble
- name: Checkout Python Client
uses: actions/checkout@v2
- name: Run Integration Test
run: "./.ci/run-tests opensearch false ${{ env.OPENSEARCH_VERSION }}.0-SNAPSHOT"
run: "./.ci/run-tests opensearch false SNAPSHOT"
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
stack_version: ['1.1.0']
stack_version: ['2.0.0']
steps:
- name: Checkout