-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for multiple BWC Versions (#389)
Signed-off-by: Naveen Tatikonda <[email protected]>
- Loading branch information
1 parent
1438042
commit 7ec926b
Showing
7 changed files
with
158 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
.github/workflows/backwards_compatibility_tests_workflow.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: Backwards Compatibility Tests k-NN | ||
on: | ||
push: | ||
branches: | ||
- "*" | ||
- "feature/**" | ||
pull_request: | ||
branches: | ||
- "*" | ||
- "feature/**" | ||
|
||
jobs: | ||
Restart-Upgrade-BWCTests-k-NN: | ||
strategy: | ||
matrix: | ||
java: [ 11, 17 ] | ||
bwc_version : [ "1.0.0", "1.1.0", "1.2.4", "1.3.2" ] | ||
opensearch_version : [ "2.0.0-rc1-SNAPSHOT" ] | ||
|
||
name: k-NN Restart-Upgrade BWC Tests | ||
runs-on: ubuntu-latest | ||
env: | ||
BWC_VERSION_RESTART_UPGRADE: ${{ matrix.bwc_version }} | ||
|
||
steps: | ||
- name: Checkout k-NN | ||
uses: actions/checkout@v1 | ||
|
||
- name: Setup Java ${{ matrix.java }} | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get install libopenblas-dev gfortran -y | ||
- name: Run k-NN Restart-Upgrade BWC Tests from BWCVersion-${{ matrix.bwc_version }} to OpenSearch Version-${{ matrix.opensearch_version }} | ||
run: | | ||
echo "Running restart-upgrade backwards compatibility tests ..." | ||
./gradlew :qa:restart-upgrade:testRestartUpgrade -Dtests.bwc.version=$BWC_VERSION_RESTART_UPGRADE | ||
Rolling-Upgrade-BWCTests-k-NN: | ||
strategy: | ||
matrix: | ||
java: [ 11, 17 ] | ||
bwc_version: [ "1.3.2" ] | ||
opensearch_version: [ "2.0.0-rc1-SNAPSHOT" ] | ||
|
||
name: k-NN Rolling-Upgrade BWC Tests | ||
runs-on: ubuntu-latest | ||
env: | ||
OPENSEARCH_VERSION_ROLLING_UPGRADE: ${{ matrix.opensearch_version }} | ||
|
||
steps: | ||
- name: Checkout k-NN | ||
uses: actions/checkout@v1 | ||
|
||
- name: Setup Java ${{ matrix.java }} | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get install libopenblas-dev gfortran -y | ||
- name: Run k-NN Rolling-Upgrade BWC Tests from BWCVersion-${{ matrix.bwc_version }} to OpenSearch Version-${{ matrix.opensearch_version }} | ||
run: | | ||
echo "Running rolling-upgrade backwards compatibility tests ..." | ||
./gradlew :qa:rolling-upgrade:testRollingUpgrade -Drolling.bwctests.opensearch.version=$OPENSEARCH_VERSION_ROLLING_UPGRADE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters