-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New version of opensearch in automate (#8670)
* Testing changes Signed-off-by: Yashvi Jain <[email protected]> * Testing changes Signed-off-by: Yashvi Jain <[email protected]> * Adding env in user bin Signed-off-by: Yashvi Jain <[email protected]> * Cleaning the docs correction in integration tests, exclusing system level index Signed-off-by: Yashvi Jain <[email protected]> * fixing pipelines Signed-off-by: Yashvi Jain <[email protected]> * Adding Signed-off-by: Yashvi Jain <[email protected]> * Adding Signed-off-by: Yashvi Jain <[email protected]> * Adding index names in cleanup Signed-off-by: Yashvi Jain <[email protected]> * Adding correct number of indicies Signed-off-by: Yashvi Jain <[email protected]> --------- Signed-off-by: Yashvi Jain <[email protected]> Co-authored-by: Yashvi Jain <[email protected]>
- Loading branch information
1 parent
2fd657a
commit b066026
Showing
11 changed files
with
73 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,14 @@ | |
pkg_name="automate-opensearch" | ||
pkg_description="Wrapper package for core/elasticsearch" | ||
pkg_origin="chef" | ||
pkg_version="1.3.19" | ||
pkg_version="2.18.0" | ||
pkg_maintainer="Chef Software Inc. <[email protected]>" | ||
pkg_license=("Chef-MLSA") | ||
pkg_upstream_url="https://www.chef.io/automate" | ||
pkg_source="https://artifacts.opensearch.org/releases/bundle/opensearch/1.3.19/opensearch-1.3.19-linux-x64.tar.gz" | ||
pkg_shasum=af901097211df4c3d2ef75f0c3699452d82a87adac60c240520a3ca03f969595 | ||
pkg_source="https://artifacts.opensearch.org/releases/bundle/opensearch/2.18.0/opensearch-2.18.0-linux-x64.tar.gz" | ||
pkg_shasum=ae3cb4107b2e0cdbb9b98bb4e5f2f019b736b68e995442c718e459d39ff01df1 | ||
# pkg_source="https://artifacts.opensearch.org/releases/bundle/opensearch/2.11.1/opensearch-2.11.1-linux-x64.tar.gz" | ||
# pkg_shasum=926eb3f99f592e7518d5dc1e250ae11d1bb45ef766a90222a8df11bb2ee35a9c | ||
|
||
|
||
pkg_build_deps=( | ||
|
@@ -52,7 +54,20 @@ do_build() { | |
return 0 | ||
} | ||
|
||
do_after() { | ||
if [ ! -f /usr/bin/env ]; then | ||
echo "inside the /usr/ib/env" | ||
cp $(pkg_path_for core/coreutils)/bin/env /usr/bin/env | ||
fi | ||
|
||
} | ||
|
||
do_install() { | ||
if [ ! -f /usr/bin/env ]; then | ||
echo "inside the /isr/ib/env" | ||
cp $(pkg_path_for core/coreutils)/bin/env /usr/bin/env | ||
fi | ||
|
||
cd "$HAB_CACHE_SRC_PATH/opensearch-${pkg_version}" | ||
chown -RL hab:hab ${pkg_prefix} | ||
mkdir -p "${pkg_prefix}/os" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters