Skip to content

Commit

Permalink
Incremented version to 1.2.4. (opensearch-project#276)
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Sai Kumar <karanas@amazon.com>
  • Loading branch information
dblock authored and saikaranam-amazon committed Jan 11, 2022
1 parent c8f7828 commit c9a497c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v2
- name: Build and run Replication tests
run: |
./gradlew clean release -Dopensearch.version=1.2.0
./gradlew clean release -Dbuild.snapshot=true -Dopensearch.version=1.2.4-SNAPSHOT
- name: Upload failed logs
uses: actions/upload-artifact@v2
if: failure()
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bwc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Build and run Replication tests
run: |
echo "Running backwards compatibility tests ..."
./gradlew clean release -Dopensearch.version=1.2.0 -x test -x IntegTest
./gradlew clean release -Dbuild.snapshot=true -Dopensearch.version=1.2.4-SNAPSHOT -x test -x IntegTest
./gradlew mixedClusterTask --stacktrace
./gradlew fullRestartClusterTask --stacktrace
- name: Upload failed logs
Expand All @@ -37,4 +37,4 @@ jobs:
build/testclusters/*ClusterTask*/logs/*
build/testclusters/bwcLeader*/logs/*
build/testclusters/bwcFollower*/logs/*
build/reports/tests/*
build/reports/tests/*
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import org.opensearch.gradle.test.RestIntegTestTask
buildscript {
ext {
isSnapshot = "true" == System.getProperty("build.snapshot", "false")
opensearch_version = System.getProperty("opensearch.version", "1.2.0")
opensearch_version = System.getProperty("opensearch.version", "1.2.4-SNAPSHOT")
// Taken from https://github.com/opensearch-project/alerting/blob/main/build.gradle#L33
// 1.0.0 -> 1.0.0.0, and 1.0.0-SNAPSHOT -> 1.0.0.0-SNAPSHOT
opensearch_build = opensearch_version.replaceAll(/(\.\d)([^\d]*)$/, '$1.0$2')
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/security/scripts/SecurityAdminWrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

BUILD_DIR=$1
LEADER_CONFIG_DIR=$BUILD_DIR/testclusters/leaderCluster-0/config
LEADER_PLUGIN_DIR=$BUILD_DIR/testclusters/leaderCluster-0/distro/1.2.0-INTEG_TEST/plugins/opensearch-security/
LEADER_PLUGIN_DIR=$BUILD_DIR/testclusters/leaderCluster-0/distro/1.2.4-INTEG_TEST/plugins/opensearch-security/
FOLLOWER_CONFIG_DIR=$BUILD_DIR/testclusters/followCluster-0/config
FOLLOWER_PLUGIN_DIR=$BUILD_DIR/testclusters/followCluster-0/distro/1.2.0-INTEG_TEST/plugins/opensearch-security/
FOLLOWER_PLUGIN_DIR=$BUILD_DIR/testclusters/followCluster-0/distro/1.2.4-INTEG_TEST/plugins/opensearch-security/

"$LEADER_PLUGIN_DIR/tools/securityadmin.sh" -p 9300 \
-cd "$LEADER_PLUGIN_DIR/securityconfig" \
Expand Down

0 comments on commit c9a497c

Please sign in to comment.