Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build workflow to build indexer plugins #360

Merged
merged 28 commits into from
Aug 28, 2024
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
3446503
Update build workflow to include Wazuh plugins
AlexRuiz7 Aug 16, 2024
a06bed7
Try new approach to build wazuh-indexer with plugins
AlexRuiz7 Aug 16, 2024
20eddf0
Remove old code
AlexRuiz7 Aug 16, 2024
167809a
Remove ADMINS.md
AlexRuiz7 Aug 16, 2024
6ebc18f
Sync mavel local path across jobs
AlexRuiz7 Aug 20, 2024
1eb2403
Fix versioning of wazuh-indexer-plugins
AlexRuiz7 Aug 20, 2024
c693b68
Fix versioning of wazuh-indexer-plugins
AlexRuiz7 Aug 20, 2024
c444752
Pass version and revision to publishToMavenLocal
AlexRuiz7 Aug 20, 2024
7b74df4
Add version check test
AlexRuiz7 Aug 21, 2024
b4a61fa
Format files
AlexRuiz7 Aug 21, 2024
979407e
Use upload-artifact and download-artifact to share the plugins' zips …
AlexRuiz7 Aug 22, 2024
12eecba
Add repo path
AlexRuiz7 Aug 22, 2024
39d123f
Fix plugin name
AlexRuiz7 Aug 22, 2024
38ecf65
Roll back
AlexRuiz7 Aug 22, 2024
d4219f8
Remove exit 1
AlexRuiz7 Aug 22, 2024
4e5d0ea
Fix relative path to the plugins
AlexRuiz7 Aug 22, 2024
e415653
List plugins folder
AlexRuiz7 Aug 22, 2024
dd0560e
Fix relative path
AlexRuiz7 Aug 22, 2024
3feb43f
again
AlexRuiz7 Aug 22, 2024
758e572
Change relative path to absolute
AlexRuiz7 Aug 23, 2024
b9fa45b
Clean code
AlexRuiz7 Aug 23, 2024
7a3f180
Update README.ms
AlexRuiz7 Aug 23, 2024
667af71
Apply naming convention
AlexRuiz7 Aug 27, 2024
f74dd34
Add breif steps to build wazuh-indexer with plugins
AlexRuiz7 Aug 27, 2024
e9c3389
Skip job to build plugins on no input
AlexRuiz7 Aug 28, 2024
a031b89
Improve conditional
AlexRuiz7 Aug 28, 2024
ed86236
Remove build-plugins job from build's job dependencies
AlexRuiz7 Aug 28, 2024
d4c8bf6
Roll back
AlexRuiz7 Aug 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change relative path to absolute
  • Loading branch information
AlexRuiz7 committed Aug 23, 2024

Verified

This commit was signed with the committer’s verified signature.
AlexRuiz7 Álex Ruiz
commit 758e57236b0bf1c112aa31ebc8d7020785db596a
2 changes: 1 addition & 1 deletion packaging_scripts/assemble.sh
Original file line number Diff line number Diff line change
@@ -244,7 +244,7 @@ function install_plugins() {
pwd
ls -lR ../../plugins
# Working directory at this point is: wazuh-indexer/artifacts/tmp/{rpm|deb|tar}
plugin_path="../../plugins/${plugin_name}-${indexer_plugin_version}.zip"
plugin_path="$(pwd)/../../plugins/${plugin_name}-${indexer_plugin_version}.zip"
fi

OPENSEARCH_PATH_CONF=$PATH_CONF "${PATH_BIN}/opensearch-plugin" install --batch --verbose "file:${plugin_path}"