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

Fix the PR checks for wazuh-ansible repository #1449

Open
3 tasks
teddytpc1 opened this issue Oct 29, 2024 · 1 comment · May be fixed by #1457
Open
3 tasks

Fix the PR checks for wazuh-ansible repository #1449

teddytpc1 opened this issue Oct 29, 2024 · 1 comment · May be fixed by #1457
Assignees
Labels
level/task Subtask issue type/change Change requested

Comments

@teddytpc1
Copy link
Member

Description

As part of the DevOps overhaul objective, we need to fix the PR checks and adapt them to start using the Allocator module.

Currently, we have these checks that are using the machulav/ec2-github-runner@v2 module, and we have to use the Allocator module instead:

Tasks

  • Modify the workflows to use the Allocator module
  • Test them
  • Provide evidence they are working properly

Examples/references

The following workflows use the Allocator, we should replicate its use:

@teddytpc1 teddytpc1 added level/task Subtask issue type/change Change requested labels Oct 29, 2024
@wazuhci wazuhci moved this to Backlog in Release 5.0.0 Oct 29, 2024
@wazuhci wazuhci moved this from Backlog to In progress in Release 5.0.0 Oct 30, 2024
@YisDav
Copy link
Member

YisDav commented Nov 14, 2024

Description

In the process of improving and correcting the PR checks for the wazuh-ansible repository, it was decided to maintain and improve the AIO (single instance) deployment but combining in the same workflow the deployment of all OS (CentOS_8, AmazonLinux_2, Ubuntu_22, RHEL8) by means of a matrix-type strategy

On the other hand, analogous to the AIO deployment, it was decided to keep the deployment of a distributed environment (composed of six instances) for each OS in the same combined workflow.

Evidence

Workflow execution links:

AIO workflow

Execution of the single-instance deployment workflow for all OS

image

Successful execution of the Ansible playbook for single-instance deployment in AL2 cluster

image

Distributed workflow

Execution of distributed deployment workflow for all OS

image

Successful execution of the Ansible playbook for distributed deployment in AL2 cluster

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Subtask issue type/change Change requested
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

2 participants