-
Notifications
You must be signed in to change notification settings - Fork 60
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
Tar error in the package build workflow #167
Comments
ResearchThe issue seems to be related to a large output from a command in the GitHub Actions. directory_name=$(tar -tzf wazuh-dashboard.tar.gz | head -1 | sed 's#/.*##' | sort -u) Used in the base generaction script to get the name of the subfolder of the Dashboard package regardless of the version and how was it constructed. |
Update 17/4To resolve the issue, a workaround was implemented: instead of retrieving all the compressed package content to get the subfolder name, we get the last folder created in the directory after extracting the package directory_name=$(ls -t | head -1) This was implemented in three different sections on which this problem was present. Additionally, it was noticed that the building process didn't stop if a plugin failed to install. New logic was added to detect those events and end the script execution in that case. |
I'm reopening the issue because due to the branch changes for compatibility with 2.13, the workflow is showning some new errors |
Description
The package name revision for the base file seems to be not correct (see revision)
It has been possible to see the following error too:
This error appears to be related to the security plugin
We need to check if those errors are related or not, also, the workflow finished as a success, but it should not
Related
The text was updated successfully, but these errors were encountered: