wazuh-packages icon indicating copy to clipboard operation
wazuh-packages copied to clipboard

Unification of base creation in stack package Dockerfiles

Open c-bordon opened this issue 2 years ago • 0 comments

Related issue
related https://github.com/wazuh/wazuh-jenkins/issues/3898

Description

Changes are made to the package build scripts and Dokefiles are modified so that they compile the base before building the package

Logs example

-rw-r--r--  1 root    root    141651400 ago 30 12:42 wazuh-dashboard_4.4.0-1_amd64.deb
-rw-r--r--  1 root    root          164 ago 30 12:42 wazuh-dashboard_4.4.0-1_amd64.deb.sha512
-rw-r--r--  1 root    root    172479780 ago 30 11:46 wazuh-dashboard-4.4.0-1.x86_64.rpm
-rw-r--r--  1 root    root          165 ago 30 11:46 wazuh-dashboard-4.4.0-1.x86_64.rpm.sha512
-rw-r--r--  1 root    root    392185442 ago 30 11:52 wazuh-indexer_4.4.0-1_amd64.deb
-rw-r--r--  1 root    root          162 ago 30 11:52 wazuh-indexer_4.4.0-1_amd64.deb.sha512
-rw-r--r--  1 root    root    414533500 ago 30 11:55 wazuh-indexer-4.4.0-1.x86_64.rpm
-rw-r--r--  1 root    root          163 ago 30 11:55 wazuh-indexer-4.4.0-1.x86_64.rpm.sha512

Tests

  • Build the package in any supported platform
    • [x] Linux
    • [ ] Windows
    • [ ] macOS
    • [ ] Solaris
    • [ ] AIX
    • [ ] HP-UX
  • [x] Package installation
  • [ ] Package upgrade
  • [ ] Package downgrade
  • [ ] Package remove
  • [x] Package install/remove/install
  • [ ] Change added to CHANGELOG.md
  • Tests for Linux RPM
    • [x] Build the package for x86_64
    • [ ] Build the package for i386
    • [ ] Build the package for armhf
    • [ ] Build the package for aarch64
    • [ ] %files section is correctly updated if necessary
  • Tests for Linux deb
    • [x] Build the package for x86_64
    • [ ] Build the package for i386
    • [ ] Build the package for armhf
    • [ ] Build the package for aarch64
    • [ ] Package install/remove/install
    • [ ] Package install/purge/install
    • [ ] Check file permissions after installing the package
  • Tests for macOS
    • [ ] Test the package from macOS Sierra to Mojave
  • Tests for Solaris
    • [ ] Test the package on Solaris 10
    • [ ] Test the package on Solaris 11
    • [ ] Check file permissions on Solaris 11 template
  • Tests for IBM AIX
    • [ ] %files section is correctly updated if necessary
    • [ ] Check the changes from IBM AIX 5 to 7

c-bordon avatar Aug 30 '22 18:08 c-bordon