Skip to content

Commit 468588e

Browse files
Remove checked-in zip files (#1774) (#1775)
Signed-off-by: cliu123 <[email protected]> (cherry picked from commit 096d3c1) Co-authored-by: Chang Liu <[email protected]>
1 parent 6670c95 commit 468588e

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,13 @@ jobs:
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

bwc-test/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ext {
4747

4848
buildscript {
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";
7777
String baseName = "securityBwcCluster"
7878
String bwcFilePath = "src/test/resources/"
79-
String projectVersion = "1.3.0.0"
79+
String projectVersion = "2.0.0.0-rc1"
8080

8181
2.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
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)