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

Setup PKG Build Workflow for macOS #137

Open
6 tasks
vikman90 opened this issue Sep 11, 2024 · 0 comments
Open
6 tasks

Setup PKG Build Workflow for macOS #137

vikman90 opened this issue Sep 11, 2024 · 0 comments
Labels
level/subtask Subtask issue phase/mvp Minimum Viable Product type/enhancement Enhancement issue

Comments

@vikman90
Copy link
Member

vikman90 commented Sep 11, 2024

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

  • 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.
  • 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/subtask Subtask issue phase/mvp Minimum Viable Product type/enhancement Enhancement issue
Projects
None yet
Development

No branches or pull requests

1 participant