Type removal breaking changes (#151)
* Breaking changes for type removal Signed-off-by: Vacha Shah <vachshah@amazon.com> * Adding support to test against unreleased OpenSearch Signed-off-by: Vacha Shah <vachshah@amazon.com> * Formatting Signed-off-by: Vacha Shah <vachshah@amazon.com> * Addressing comments to refactor run-opensearch.sh Signed-off-by: Vacha Shah <vachshah@amazon.com>
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
name: Integration tests with OpenDistro
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
integration:
|
||||
name: Integ
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
secured: ["true", "false"]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Integ opendistro secured=${{ matrix.secured }}
|
||||
run: "./.ci/run-tests opendistro ${{ matrix.secured }}"
|
||||
@@ -0,0 +1,35 @@
|
||||
name: Integration with Unreleased OpenSearch
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
pull_request:
|
||||
branches:
|
||||
- "main"
|
||||
|
||||
env:
|
||||
OPENSEARCH_VERSION: '2.0'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout OpenSearch
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: opensearch-project/opensearch
|
||||
ref: ${{ env.OPENSEARCH_VERSION }}
|
||||
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.
|
||||
# Reference: https://github.com/opensearch-project/OpenSearch/blob/2.0/distribution/docker/build.gradle#L190
|
||||
- name: Assemble OpenSearch
|
||||
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"
|
||||
@@ -11,10 +11,13 @@ jobs:
|
||||
matrix:
|
||||
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]
|
||||
opensearch_version: []
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
if: ${{ matrix.opensearch_version != ''}}
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Integ ${{ matrix.cluster }} secured=${{ matrix.secured }} version=${{matrix.opensearch_version}}
|
||||
if: ${{ matrix.opensearch_version != ''}}
|
||||
run: "./.ci/run-tests ${{ matrix.cluster }} ${{ matrix.secured }} ${{ matrix.opensearch_version }}"
|
||||
|
||||
Reference in New Issue
Block a user