File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 5757 - run : ./gradlew clean build -Dbuild.snapshot=false -x test
5858 - run : |
5959 echo "Running backwards compatibility tests ..."
60+ security_plugin_version_no_snapshot=$(./gradlew properties -q | grep -E '^version:' | awk '{print $2}' | sed 's/-SNAPSHOT//g')
6061 cp -r build/ ./bwc-test/
62+ mkdir ./bwc-test/src/test/resources/security_plugin_version_no_snapshot
63+ cp build/distributions/opensearch-security-${security_plugin_version_no_snapshot}.zip ./bwc-test/src/test/resources/${security_plugin_version_no_snapshot}
64+ mkdir bwc-test/src/test/resources/1.3.0.0
65+ wget https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.0/latest/linux/x64/builds/opensearch/plugins/opensearch-security-1.3.0.0.zip
66+ mv opensearch-security-1.3.0.0.zip bwc-test/src/test/resources/1.3.0.0/
6167 cd bwc-test/
6268 ./gradlew bwcTestSuite -Dtests.security.manager=false
6369
Original file line number Diff line number Diff line change 4747
4848buildscript {
4949 ext {
50- opensearch_version = System . getProperty(" opensearch.version" , " 1.3.0 -SNAPSHOT" )
50+ opensearch_version = System . getProperty(" opensearch.version" , " 2.0.0-rc1 -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 = " 1.0.1 .0" ;
76+ String bwcVersion = " 1.3.0 .0" ;
7777String baseName = " securityBwcCluster"
7878String bwcFilePath = " src/test/resources/"
79- String projectVersion = " 1.3 .0.0"
79+ String projectVersion = " 2.0 .0.0-rc1 "
8080
81812. times {i ->
8282 testClusters {
8383 " ${ baseName} $i " {
8484 testDistribution = " ARCHIVE"
85- versions = [" 1.0 .0" ," 1.3 .0-SNAPSHOT " ]
85+ versions = [" 1.3 .0" ," 2.0 .0-rc1 " ]
8686 numberOfNodes = 3
8787 plugin(provider(new Callable<RegularFile > () {
8888 @Override
You can’t perform that action at this time.
0 commit comments