forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build & Assemble reporting plugin (#431)
* Build & Assemble reporting plugin * Add working-directto ls * Swap reporting plugin in wazuh-indexer package (specs) * Fix changelog chronological order * Normalize artifact names * Use env.plugin_name
- Loading branch information
Showing
4 changed files
with
77 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,7 @@ For more information, see: https://www.wazuh.com/ | |
%build | ||
|
||
%define observability_plugin %( if [ -f %{_topdir}/etc/wazuh-indexer/opensearch-observability/observability.yml ]; then echo "1" ; else echo "0"; fi ) | ||
%define reportsscheduler_plugin %( if [ -f %{_topdir}/etc/wazuh-indexer/opensearch-reports-scheduler/reports-scheduler.yml ]; then echo "1" ; else echo "0"; fi ) | ||
%define reportsscheduler_plugin %( if [ -f %{_topdir}/etc/wazuh-indexer/wazuh-indexer-reports-scheduler/reports-scheduler.yml ]; then echo "1" ; else echo "0"; fi ) | ||
|
||
%install | ||
set -e | ||
|
@@ -77,7 +77,7 @@ fi | |
|
||
# Pre-populate the folders to ensure rpm build success even without all plugins | ||
mkdir -p %{buildroot}%{config_dir}/opensearch-observability | ||
mkdir -p %{buildroot}%{config_dir}/opensearch-reports-scheduler | ||
mkdir -p %{buildroot}%{config_dir}/wazuh-indexer-reports-scheduler | ||
mkdir -p %{buildroot}%{product_dir}/performance-analyzer-rca | ||
|
||
# Pre-populate PA configs if not present | ||
|
@@ -144,7 +144,7 @@ if [ %observability_plugin -eq 1 ]; then | |
fi | ||
|
||
if [ %reportsscheduler_plugin -eq 1 ]; then | ||
set -- "$@" "%{config_dir}/opensearch-reports-scheduler/reports-scheduler.yml" | ||
set -- "$@" "%{config_dir}/wazuh-indexer-reports-scheduler/reports-scheduler.yml" | ||
fi | ||
|
||
for i in "$@" | ||
|
@@ -251,7 +251,7 @@ exit 0 | |
%endif | ||
|
||
%if %reportsscheduler_plugin | ||
%config(noreplace) %attr(660, %{name}, %{name}) %{config_dir}/opensearch-reports-scheduler/reports-scheduler.yml | ||
%config(noreplace) %attr(660, %{name}, %{name}) %{config_dir}/wazuh-indexer-reports-scheduler/reports-scheduler.yml | ||
%endif | ||
|
||
|
||
|
@@ -265,13 +265,13 @@ exit 0 | |
%attr(750, %{name}, %{name}) %{product_dir}/performance-analyzer-rca/bin/* | ||
|
||
%changelog | ||
* Fri Sep 06 2024 support <[email protected]> - 5.0.0 | ||
* Fri Dec 06 2024 support <[email protected]> - 5.0.0 | ||
- More info: https://documentation.wazuh.com/current/release-notes/release-5.0.0-0.html | ||
* Tue Aug 20 2024 support <[email protected]> - 4.10.0 | ||
* Fri Nov 06 2024 support <[email protected]> - 4.10.1 | ||
- More info: https://documentation.wazuh.com/current/release-notes/release-4-10-1.html | ||
* Mon Sep 23 2024 support <[email protected]> - 4.10.0 | ||
- More info: https://documentation.wazuh.com/current/release-notes/release-4-10-0.html | ||
* Fri Sep 06 2024 support <[email protected]> - 4.9.2 | ||
- More info: https://documentation.wazuh.com/current/release-notes/release-4-9-1.html | ||
* Thu Aug 15 2024 support <[email protected]> - 4.9.1 | ||
* Fri Sep 20 2024 support <[email protected]> - 4.9.1 | ||
- More info: https://documentation.wazuh.com/current/release-notes/release-4-9-1.html | ||
* Thu Aug 15 2024 support <[email protected]> - 4.9.0 | ||
- More info: https://documentation.wazuh.com/current/release-notes/release-4-9-0.html | ||
|