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 packages generation tools I #119

Closed
4 tasks done
Tracked by #117
Tostti opened this issue Nov 16, 2023 · 1 comment · Fixed by #122
Closed
4 tasks done
Tracked by #117

Update packages generation tools I #119

Tostti opened this issue Nov 16, 2023 · 1 comment · Fixed by #122
Assignees
Labels
level/epic type/enhancement New feature or request

Comments

@Tostti
Copy link
Member

Tostti commented Nov 16, 2023

Description

Currently, we can generate packages of Wazuh Dashboard with the Wazuh Dashboard plugin with our tools.
As we have more than one plugin, we need to update the tools to support all the plugins we have and may have.

We also need to support the generation of docker images with the same specifications.

Functional requirements

  • The generated packages must include all the plugins in wazuh-dashboard-plugins, even if we add more plugins in the future.
  • A developer should be able to generate a single package of the required type (.tar.gz, .deb, .rpm, docker image)
  • A developer should be able to generate all the packages at once if needed.
  • All the generated packages should be production-ready, without needing any additional configurations or steps.

Non-functional requirements

  • All the tools should be properly tested.
  • All the tools should be properly documented.
  • There should be documentation in the repo that anyone can read and follow to generate a package.

Plan

  • Update the tar.gz generating tool
  • Update the deb generating tool
  • Update the rpm generating tool
  • Generate the proper documentation
@Tostti Tostti added type/enhancement New feature or request level/epic labels Nov 16, 2023
@Tostti Tostti mentioned this issue Nov 16, 2023
5 tasks
@yenienserrano yenienserrano self-assigned this Nov 21, 2023
@wazuhci wazuhci moved this to In progress in Release 4.9.0 Nov 21, 2023
@yenienserrano yenienserrano linked a pull request Nov 21, 2023 that will close this issue
8 tasks
@yenienserrano
Copy link
Member

A problem was encountered when trying to generate the package for the arm64 architecture, the error is:

/home/runner/work/wazuh-dashboard/wazuh-dashboard/dev-tools/build-packages/base/tmp/wazuh-dashboard-4.9.0-1-linux-arm64/node/fallback/bin/node: Exec format error

@wazuhci wazuhci moved this from In progress to Done in Release 4.9.0 Dec 5, 2023
@yenienserrano yenienserrano reopened this Dec 5, 2023
@yenienserrano yenienserrano moved this from Done to On hold in Release 4.9.0 Dec 5, 2023
@wazuhci wazuhci moved this from On hold to In progress in Release 4.9.0 Dec 18, 2023
@wazuhci wazuhci moved this from In progress to Done in Release 4.9.0 Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/epic type/enhancement New feature or request
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants