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

Fix Jobflow examples

Open rauldpm opened this issue 1 year ago • 2 comments

Description

We need to review the Jobflow examples as some YAML set Windows instances size to small instead of large, which causes the instance to fail

We need to change the examples so we have a main template outside the examples directory, for example in:

deployability/modules/jobflow/templates

This directory should contain the following YAML

  • Complete agent test
  • Complete manager test
  • Complete central component test

Those YAML should not reference any version or revision values (instead of 4.8.0 it must say: major.minor.patch

We need to check the depends_on references as:

  • manager provision should depend on manager allocation
  • agent deployment should depend on manager provision or allocation
  • clean is successful

Related

  • https://github.com/wazuh/wazuh/issues/24935

rauldpm avatar Jul 25 '24 20:07 rauldpm

Update

  • [x] Windows instances size small
  • [x] Located in: deployability/modules/jobflow/templates
  • [x] Contains [Complete agent test, Complete manager test, Complete central component test]
  • [x] YAML do not reference any version or revision values (It says major.minor.patch)
  • [x] The depends_on references checked
  • [x] Testing the examples

pro-akim avatar Jul 31 '24 12:07 pro-akim

Update

Moved to on-hold due to https://github.com/wazuh/wazuh-jenkins/issues/6775

pro-akim avatar Jul 31 '24 13:07 pro-akim

Update

While testing, I found that Windows-Desktop-10, on several occasions, times out after being started. agent_01.txt

Further testing will be done to upload 100% working YAMLs

pro-akim avatar Aug 14 '24 16:08 pro-akim

Test results:

CC :green_circle: central.txt

Manager :green_circle: manager.txt

Agent :green_circle: agent.txt

pro-akim avatar Aug 16 '24 09:08 pro-akim

Updates

Changes done after review

pro-akim avatar Aug 16 '24 14:08 pro-akim

LGTM

fcaffieri avatar Aug 16 '24 20:08 fcaffieri