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

Fix plugin bundling for tar packages Github Workflow #465

Closed
f-galland opened this issue Oct 16, 2024 · 1 comment · Fixed by #466
Closed

Fix plugin bundling for tar packages Github Workflow #465

f-galland opened this issue Oct 16, 2024 · 1 comment · Fixed by #466
Assignees
Labels
level/task Task issue type/bug Bug issue

Comments

@f-galland
Copy link
Member

Description:

When running the build github workflow for tar packages, an error is observed:

 -> Downloading file:/home/runner/work/wazuh-indexer/wazuh-indexer/artifacts/tmp/linux-tar/wazuh-indexer-5.0.0/../../plugins/wazuh-indexer-setup-5.0.0.0.zip
Retrieving zip from file:/home/runner/work/wazuh-indexer/wazuh-indexer/artifacts/tmp/linux-tar/wazuh-indexer-5.0.0/../../plugins/wazuh-indexer-setup-5.0.0.0.zip
-> Failed installing file:/home/runner/work/wazuh-indexer/wazuh-indexer/artifacts/tmp/linux-tar/wazuh-indexer-5.0.0/../../plugins/wazuh-indexer-setup-5.0.0.0.zip
Error: Exception in thread "main" java.io.FileNotFoundException: /home/runner/work/wazuh-indexer/wazuh-indexer/artifacts/tmp/linux-tar/wazuh-indexer-5.0.0/../../plugins/wazuh-indexer-setup-5.0.0.0.zip (No such file or directory)

The error does not show up on rpm packages.

@f-galland
Copy link
Member Author

@QU3B1M and I were able to pin the problem down to assemble.sh 's assemble_tar function.

@f-galland f-galland linked a pull request Oct 16, 2024 that will close this issue
3 tasks
@wazuhci wazuhci moved this to In progress in Release 5.0.0 Oct 16, 2024
@wazuhci wazuhci moved this from In progress to Pending review in Release 5.0.0 Oct 17, 2024
@AlexRuiz7 AlexRuiz7 added level/task Task issue type/bug Bug issue labels Oct 18, 2024
@wazuhci wazuhci moved this from Pending review to Done in Release 5.0.0 Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/bug Bug issue
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants