-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-enable integration tests across multiple versions of OpenSearch #154
Changes from 7 commits
3c1ea42
89214d8
5b37968
cbf570f
0612970
8283a09
5fcddec
f6af806
89d44cb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,29 +15,32 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
entry: | ||
- { opensearch_version: "", java: 11 } | ||
- { opensearch_version: 1.0.0, java: 11 } | ||
- { opensearch_version: 1.0.1, java: 11 } | ||
- { opensearch_version: 1.1.0, java: 11 } | ||
- { opensearch_version: 1.2.0, java: 11 } | ||
- { opensearch_version: 1.2.1, java: 11 } | ||
- { opensearch_version: 1.2.2, java: 11 } | ||
- { opensearch_version: 1.2.3, java: 11 } | ||
- { opensearch_version: 1.2.4, java: 11 } | ||
- { opensearch_version: 1.3.0, java: 11 } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry I missed this earlier, you can also add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
steps: | ||
- name: Set up JDK ${{ matrix.java }} | ||
if: ${{ matrix.entry.opensearch_version != ''}} | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.entry.java }} | ||
|
||
- name: Checkout Branch | ||
if: ${{ matrix.entry.opensearch_version != ''}} | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run Docker | ||
if: ${{ matrix.entry.opensearch_version != ''}} | ||
run: | | ||
docker-compose --project-directory .ci/opensearch build --build-arg OPENSEARCH_VERSION=${{ matrix.entry.opensearch_version }} | ||
docker-compose --project-directory .ci/opensearch up -d | ||
sleep 60 | ||
- name: Run Integration Test | ||
if: ${{ matrix.entry.opensearch_version != ''}} | ||
run: ./gradlew clean integrationTest | ||
|
||
- name: Stop Docker | ||
if: ${{ matrix.entry.opensearch_version != ''}} | ||
run: | | ||
docker-compose --project-directory .ci/opensearch down |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.0.0 | ||
2.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to test against
1.x
branch as well?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may be releasing security patches, e.g. 1.3.2, so yes.