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

Automate package generation using a GH Workflow #63

Closed
Tracked by #61
AlexRuiz7 opened this issue Nov 24, 2023 · 2 comments · Fixed by #65
Closed
Tracked by #61

Automate package generation using a GH Workflow #63

AlexRuiz7 opened this issue Nov 24, 2023 · 2 comments · Fixed by #65
Assignees
Labels
level/subtask Subtask issue type/enhancement Enhancement issue

Comments

@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Nov 24, 2023

Description

Create a GitHub workflow to build minimal packages of wazuh-indexer. These packages must contain Wazuh's configuration files and changes, accomplish with the new packages naming convention and support x64 and arm64 architectures.

For a complete list of requirements, see #54. This issue must complete the Build phase milestone, which is defined in #60.

@AlexRuiz7
Copy link
Member Author

AlexRuiz7 commented Nov 24, 2023

To be done:

For all packages:

  • Apply packages naming convention
  • Add VERSION file

For RPM packages:

  • Rename /etc/init.d/opensearch to /etc/init.d/wazuh-indexer
  • Rename /etc/opensearch to /etc/wazuh-indexer
  • Rename /etc/sysconfig/opensearch to /etc/sysconfig/wazuh-indexer
  • Rename /usr/lib/sysctl.d/opensearch.conf to /usr/lib/sysctl.d/wazuh-indexer.conf
  • Rename /usr/lib/systemd/system/opensearch.service to /usr/lib/systemd/system/wazuh-indexer.service
  • Rename /usr/lib/tmpfiles.d/opensearch.conf to /usr/lib/tmpfiles.d/wazuh-indexer.conf
  • Rename /usr/share/opensearch/ folder to /usr/share/wazuh-indexer/
  • Rename /var/lib/opensearch/ folder to /var/lib/wazuh-indexer/
  • Rename /var/log/opensearch/ folder to /var/log/wazuh-indexer/

For DEB packages:

  • Rename /etc/default/opensearch to /etc/default/wazuh-indexer
  • Rename /etc/init.d/opensearch to /etc/init.d/wazuh-indexer
  • Rename /etc/opensearch/ folder to /etc/wazuh-indexer/
  • Rename /usr/lib/sysctl.d/opensearch.conf to /usr/lib/sysctl.d/wazuh-indexer.conf
  • Rename /usr/lib/systemd/system/opensearch.service to /usr/lib/systemd/system/wazuh-indexer.service
  • Rename /usr/lib/tmpfiles.d/opensearch.conf to /usr/lib/tmpfiles.d/wazuh-indexer.conf
  • Rename /usr/share/doc/opensearch/ folder to /usr/share/doc/wazuh-indexer/
  • Rename /usr/share/opensearch/ folder to /usr/share/wazuh-indexer/
  • Rename /var/lib/opensearch/ folder to /var/lib/wazuh-indexer/
  • Rename /var/log/opensearch/ folder to /var/log/wazuh-indexer/

image

@AlexRuiz7
Copy link
Member Author

To be done in different issue. The objective of the issue is completed.

@AlexRuiz7 AlexRuiz7 mentioned this issue Nov 28, 2023
24 tasks
@wazuhci wazuhci moved this from In progress to Done in Release 4.9.0 Nov 28, 2023
@AlexRuiz7 AlexRuiz7 mentioned this issue Nov 29, 2023
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/subtask Subtask issue type/enhancement Enhancement issue
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant