Skip to content

Commit 43ef7fc

Browse files
OSE:Updated build script for opensearch-security 3.3.0.0
1 parent f7fbf61 commit 43ef7fc

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

o/opensearch-project-security/build_info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"maintainer": "Pratik.Tonage@ibm.com",
2+
"maintainer": "Prachi.Gaonkar@ibm.com",
33
"package_name": "opensearch-project-security",
44
"github_url": "https://github.com/opensearch-project/security",
55
"version": "3.3.0.0",

o/opensearch-project-security/security_3.3.0.0_ubi9.6.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Tested on : UBI 9.6
77
# Language : Java
88
# Ci-Check : True
9-
# Maintainer : Pratik Tonage <Pratik.Tonage@ibm.com>
9+
# Maintainer : Prachi Gaonkar <Prachi.Gaonkar@ibm.com>
1010
# Script License : Apache License, Version 2.0 or later
1111
#
1212
# Disclaimer : This script has been tested in root mode on the specified
@@ -22,6 +22,7 @@ PACKAGE_ORG="opensearch-project"
2222
PACKAGE_VERSION="3.3.0.0"
2323
COMMON_UTILS_VERSION="3.2.0.0"
2424
PACKAGE_URL="https://github.com/${PACKAGE_ORG}/${PACKAGE_NAME}.git"
25+
OPENSEARCH_VERSION="${PACKAGE_VERSION::-2}"
2526
SCRIPT_PATH=$(dirname $(realpath $0))
2627
RUNTESTS=1
2728
BUILD_HOME="$(pwd)"
@@ -59,6 +60,17 @@ export PATH=$PATH:/usr/local/jdk-21.0.9+10/bin/
5960
ln -sf /usr/local/jdk-21.0.9+10/bin/java /usr/bin/
6061
rm -rf OpenJDK21U-jdk_ppc64le_linux_hotspot_21.0.9_10.tar.gz
6162

63+
# ------------------------------
64+
# Build Opensearch
65+
# ------------------------------
66+
cd ${BUILD_HOME}
67+
git clone https://github.com/opensearch-project/OpenSearch.git
68+
cd OpenSearch
69+
git checkout $OPENSEARCH_VERSION
70+
./gradlew -p distribution/archives/linux-ppc64le-tar assemble
71+
./gradlew -Prelease=true publishToMavenLocal
72+
./gradlew :build-tools:publishToMavenLocal
73+
6274
# ------------------------------
6375
# Build Opensearch common-utils
6476
# ------------------------------

0 commit comments

Comments
 (0)