You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Configure GitHub Actions to build RPM packages on CentOS 7.
Set up the build environment by installing necessary dependencies such as rpm-build and mock.
Build the Wazuh agent targeting amd64 and aarch64.
Ensure the workflow generates .rpm files and stores them as artifacts for download.
Tasks
Create a GitHub Actions workflow YAML file for the RPM build process.
Install dependencies for RPM package creation.
Implement steps to build Wazuh agent RPMs for both target architectures.
Verify that the RPMs are built correctly and stored in the proper AWS S3 bucket.
Configure the workflows to trigger automatically on GitHub events like pull requests or merges to the main branch.
Include a manual trigger option for rebuilding the packages on-demand.
The text was updated successfully, but these errors were encountered:
(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:
(05/11/2024) Updated workflow file to manage different upload options. Improved packages' building code by cleaning it and removing deprecated options. (06/11/2024) Cleaned additional deprecated options and improved dependencies binary caching.
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
andaarch64
architectures, ensuring that the Wazuh agent can be consistently built and distributed for these platforms.Requirements
rpm-build
andmock
.amd64
andaarch64
..rpm
files and stores them as artifacts for download.Tasks
The text was updated successfully, but these errors were encountered: