Skip to content

Commit

Permalink
Split opensearch tests from elasticsearch (#3423)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkrohling authored Dec 2, 2021
1 parent 5015a36 commit 62cc3da
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci-elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:
- major: 7.x
image: 7.14.0
distribution: elasticsearch
- major: 1.x
image: 1.0.0
distribution: opensearch
name: ${{ matrix.version.distribution }} ${{ matrix.version.major }}
steps:
- uses: actions/checkout@v2.4.0
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/ci-opensearch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CIT OpenSearch

on:
push:
branches: [main]

pull_request:
branches: [main]

jobs:
opensearch:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- major: 1.x
image: 1.0.0
distribution: opensearch
name: ${{ matrix.version.distribution }} ${{ matrix.version.major }}
steps:
- uses: actions/checkout@v2.4.0
with:
submodules: true

- name: Fetch git tags
run: |
git fetch --prune --unshallow --tags
- uses: actions/setup-go@v2
with:
go-version: ^1.17

- name: Install tools
run: make install-ci

- uses: docker/setup-qemu-action@v1

- name: Run opensearch integration tests
run: bash scripts/es-integration-test.sh ${{ matrix.version.distribution }} ${{ matrix.version.image }}

0 comments on commit 62cc3da

Please sign in to comment.