File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,12 +63,13 @@ jobs:
6363 - run : |
6464 echo "Running backwards compatibility tests ..."
6565 security_plugin_version_no_snapshot=$(./gradlew properties -q | grep -E '^version:' | awk '{print $2}' | sed 's/-SNAPSHOT//g')
66+ bwc_version=2.4.0
6667 cp -r build/ ./bwc-test/
6768 mkdir ./bwc-test/src/test/resources/security_plugin_version_no_snapshot
6869 cp build/distributions/opensearch-security-${security_plugin_version_no_snapshot}.zip ./bwc-test/src/test/resources/${security_plugin_version_no_snapshot}
69- mkdir bwc-test/src/test/resources/2.3.0 .0
70- wget https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.3.0 /latest/linux/x64/tar/builds/opensearch/plugins/opensearch-security-2.3.0 .0.zip
71- mv opensearch-security-2.3.0.0. zip bwc-test/src/test/resources/2.3.0 .0/
70+ mkdir bwc-test/src/test/resources/${bwc_version} .0
71+ wget https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/${bwc_version} /latest/linux/x64/tar/builds/opensearch/plugins/opensearch-security-${bwc_version} .0.zip
72+ mv opensearch-security-${bwc_version}.0. zip bwc-test/src/test/resources/${bwc_version} .0/
7273 cd bwc-test/
7374 ./gradlew bwcTestSuite -Dtests.security.manager=false
7475
Original file line number Diff line number Diff line change 8585 - name : Download OpenSearch Core
8686 run : |
8787 cd ..
88- Invoke-WebRequest https://artifacts.opensearch.org/snapshots/core/opensearch/2.4 .0-SNAPSHOT/opensearch-min-2.4 .0-SNAPSHOT-windows-x64-latest.zip -Outfile opensearch-2.4 .0.zip
89- tar -xzf opensearch-2.4 .0.zip
90- del opensearch-2.4 .0.zip
88+ Invoke-WebRequest https://artifacts.opensearch.org/snapshots/core/opensearch/2.5 .0-SNAPSHOT/opensearch-min-2.5 .0-SNAPSHOT-windows-x64-latest.zip -Outfile opensearch-2.5 .0.zip
89+ tar -xzf opensearch-2.5 .0.zip
90+ del opensearch-2.5 .0.zip
9191 Rename-Item opensearch-* Opensearch
9292
9393 - name : Build Security Plugin with Gradle
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import org.opensearch.gradle.test.RestIntegTestTask
1313
1414buildscript {
1515 ext {
16- opensearch_version = System . getProperty(" opensearch.version" , " 2.4 .0-SNAPSHOT" )
16+ opensearch_version = System . getProperty(" opensearch.version" , " 2.5 .0-SNAPSHOT" )
1717 isSnapshot = " true" == System . getProperty(" build.snapshot" , " true" )
1818 buildVersionQualifier = System . getProperty(" build.version_qualifier" , " " )
1919
Original file line number Diff line number Diff line change 4747
4848buildscript {
4949 ext {
50- opensearch_version = System . getProperty(" opensearch.version" , " 2.4 .0-SNAPSHOT" )
50+ opensearch_version = System . getProperty(" opensearch.version" , " 2.5 .0-SNAPSHOT" )
5151 opensearch_group = " org.opensearch"
5252 }
5353 repositories {
@@ -73,16 +73,16 @@ dependencies {
7373 testImplementation " org.opensearch.test:framework:${ opensearch_version} "
7474}
7575
76- String bwcVersion = " 2.3 .0.0" ;
76+ String bwcVersion = " 2.4 .0.0" ;
7777String baseName = " securityBwcCluster"
7878String bwcFilePath = " src/test/resources/"
79- String projectVersion = " 2.4 .0.0"
79+ String projectVersion = " 2.5 .0.0"
8080
81812. times {i ->
8282 testClusters {
8383 " ${ baseName} $i " {
8484 testDistribution = " ARCHIVE"
85- versions = [" 2.3 .0" ," 2.4 .0" ]
85+ versions = [" 2.4 .0" ," 2.5 .0" ]
8686 numberOfNodes = 3
8787 plugin(provider(new Callable<RegularFile > () {
8888 @Override
You can’t perform that action at this time.
0 commit comments