wazuh / wazuh-agent

Wazuh agent, the Wazuh agent for endpoints.
GNU Affero General Public License v3.0
25 stars 16 forks source link

Setup RPM Build Workflow for Wazuh Agent #136

Open vikman90 opened 1 month ago

vikman90 commented 1 month ago

Parent Issue:

Description

This issue focuses on creating a GitHub Actions workflow to automate the building of RPM packages for the Wazuh agent on CentOS 7 or a similar RHEL-based distribution. The workflow will target amd64 and aarch64 architectures, ensuring that the Wazuh agent can be consistently built and distributed for these platforms.

Requirements

Tasks

mjcr99 commented 1 week ago

Update

(28/10/2024) Updated docker images upload workflow to make it capable of managing the new 5.0.0 images. The new images are being uploaded. (29/10/2024) Found problems related to RAM consumption while building the package dependencies. Implement a mechanism to let the package-building procedure use our remote binary caching repository to build the package faster and avoid RAM problems. (30/10/2024) Still having problems related to job getting killed, investigating solutions. The VCPKG_MAX_CONCURRENCY has been tested with no success. (31/10/2024) Problem related to jobs getting killed has been solved. Working on a solution to use the remote binary caching and use the RPM installed version which can not detect the installed packages in the package testing step. (04/11/2024) Remote binary caching finally working for packages building. Moved mono installation to Dockerfiles. Set RPM version to 4.15.1 in RPM Dockerfile to avoid problems with the RPM db has seen here: