-
Notifications
You must be signed in to change notification settings - Fork 19
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
Phase II: Assembly - Automate the generation of final packages #76
Comments
RPMThe The script will:
Running in DockerPre-requisites:
MIN_PKG_PATH="./artifacts"
docker run --rm \
-v ./scripts/:/home/wazuh-indexer/scripts \
-v $MIN_PKG_PATH:/home/wazuh-indexer/artifacts \
-v ./distribution/packages/src:/home/wazuh-indexer/distribution/packages/src \
-w /home/wazuh-indexer \
-it ubuntu:jammy /bin/bash
apt-get update
apt-get install -y rpm2cpio rpm cpio
bash scripts/assemble.sh -v 2.11.0 -p linux -a x64 -d rpm Issues:
x86-64RPM package created successfully. Reviewing the content, these files present problems:
File permissions are fine: find /etc -user wazuh-indexer -not -regex ".*wazuh\-indexer.*" -name "*"
find /usr -user wazuh-indexer -not -regex ".*wazuh\-indexer.*" -name "*"
find /var -user wazuh-indexer -not -regex ".*wazuh\-indexer.*" -name "*"
find /bin -user wazuh-indexer -not -regex ".*wazuh\-indexer.*" -name "*"
find /etc -group wazuh-indexer -not -regex ".*wazuh\-indexer.*" -name "*"
find /usr -group wazuh-indexer -not -regex ".*wazuh\-indexer.*" -name "*"
find /var -group wazuh-indexer -not -regex ".*wazuh\-indexer.*" -name "*"
find /bin -group wazuh-indexer -not -regex ".*wazuh\-indexer.*" -name "*" Warnings:
arm64FAILED: requires an ARM runner
|
On hold due to wazuh/wazuh-packages#2697 I'll be testing the new package for wazuh-indexer. |
#85 has been merged, but the work continues (see list on top). |
Issue closed partially. All problems found have been transformed into issues. The generation of |
Description
Building packages for
wazuh-indexer
takes 2 steps:wazuh-indexer
project.This issue focuses on the Assembly phase, following the requirements defined in its parent issue.
We need to generate final packages for:
linux-arm64.tar.gz
linux-x64.tar.gz
aarch64.rpm
(ARM runners needed)x86_64.rpm
amd64.deb
arm64.deb
(ARM runners needed)For each of them, these tasks are needed:
Tasks
Functional requirements
The text was updated successfully, but these errors were encountered: