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:
@@ -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"
|
||||
@@ -9,7 +9,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
stack_version: ['1.1.0']
|
||||
stack_version: ['2.0.0']
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
Reference in New Issue
Block a user