wazuh / wazuh-installation-assistant

Wazuh - Installation assistant
https://wazuh.com/
GNU General Public License v2.0
0 stars 3 forks source link

Installation assistant distributed test rework and migration #60

Closed davidcr01 closed 1 month ago

davidcr01 commented 1 month ago

Description

Related: #20

The aim of this PR is to add the Installation assistant distributed installation workflow, which is a rework of the old Test_unattended_distributed workflow.

The aim of the workflow is to test a distributed installation using the Installation assistant. The deployed infrastructure is the following:

Thus, this test validates a Wazuh distributed deployment (including a Wazuh indexer and Wazuh manager cluster) using the assistant.

Because of the matrix strategy, the pipeline includes a "tier" option, which allows it to launch a job per selected system. The workflow can be called selecting multiple OSs.

:heavy_check_mark: CentOS_8, CentOS_7, Ubuntu_22 and RHEL_8 test: https://github.com/wazuh/wazuh-installation-assistant/actions/runs/10881208924

:heavy_check_mark: The inventory compression and upload were also tested here: https://github.com/wazuh/wazuh-installation-assistant/actions/runs/10881795057

Also, a README.md file was created to explain the workflow functionality.

[!WARNING] Some tests may fail because of the following PR: https://github.com/wazuh/wazuh/pull/25598. This PR fixes an error related to the Wazuh manager database.

[!NOTE] The provision and deletion of the Allocator instance is parallelized, in order to agilize these operations.