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 PKG packages for the Wazuh agent on macOS 14+. The workflow will target both Intel and Apple Silicon architectures.
Requirements
Configure GitHub Actions to build PKG packages for macOS 14+.
Set up the environment using tools like pkgbuild to create PKG installers.
Target both Intel and Apple Silicon architectures.
Ensure the PKG installer sets up the Wazuh agent as a launch daemon.
Ensure the workflow generates .pkg files and stores them as artifacts for download.
Tasks
Create a GitHub Actions workflow YAML file for the PKG build process.
Install necessary tools for building PKG installers.
Implement steps to build the Wazuh agent PKG installer for both target architectures.
Store the generated .pkg files as artifacts in the proper Amazon S3 bucket.
Include a manual trigger option for rebuilding the packages on-demand.
The text was updated successfully, but these errors were encountered:
(04/12/2024) Analyzing workflow structure and ways to improve it. (05/12/2024) Changing workflow structure to better modularize it steps. Dealing with problems regarding mac os sonoma machine usage. (11/12/2024) Developing packaging job and trying to use composite actions to deal with allocator. (12/12/2024) Divided workflow into 3 different jobs, source build, packaging, and package testing. Successfully using composite actions to deal with allocator. Still pending to test the entire workflow. (13/12/2024) Workflow almost fully functional. Pending solve some minor details regarding checksum. (16/12/2024) Workflow fully functional for the tested intel64 arch, pending to add the ARM machines to test this arch. (17/12/2024) Updated PRs with requested changes and required improvements. Succesfully tested intel64 architecture, but found problems while compiling with arm64. This issue will be investigated, seems to be related to a lack of dependencies. (18/12/2024) Solved signing problems and solved the problem with arm64 machine, the fix is pending to be implemented by the DevOps team. Several tests run with intel64, and everything working properly. (19/12/2024) Developing a triggerable workflow to build a package as a PR check.
Parent Issue:
Description
This issue focuses on creating a GitHub Actions workflow to automate the building of PKG packages for the Wazuh agent on macOS 14+. The workflow will target both Intel and Apple Silicon architectures.
Requirements
pkgbuild
to create PKG installers..pkg
files and stores them as artifacts for download.Tasks
.pkg
files as artifacts in the proper Amazon S3 bucket.The text was updated successfully, but these errors were encountered: