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

Installation assistant test and tier workflow migration #46

Merged
merged 48 commits into from
Sep 18, 2024

Conversation

davidcr01
Copy link
Contributor

@davidcr01 davidcr01 commented Sep 3, 2024

Description

Related: #20
The aim of this PR is to migrate the Test_unattended Jenkins pipeline to GHA. This PR adds a new workflow, Test_installation_assistant.yml which performs an AIO installation in the selected system.

Because of the matrix strategy, the Test_unattended_tier pipeline has been included in the new workflow, launching a job per selected system.

In addition to migrating the pipeline itself, different features have also been added:

  • If the base instance has been created, it is destroyed if the workflow fails or is canceled, as long as the destroy option is checked.
  • If the destroy option is not checked, an artifact is generated with the necessary data to access the instance, such as the inventory or the private key that is generated with the execution of the allocator.

Testing (single system)

The performed testing is the following:

Warning

The AL2 system does not finish in success because of: wazuh/wazuh#25534, but it completes almost every step of the workflow: https://github.com/wazuh/wazuh-installation-assistant/actions/runs/10683582122

Testing - using the tier

@davidcr01 davidcr01 self-assigned this Sep 3, 2024
@davidcr01 davidcr01 linked an issue Sep 3, 2024 that may be closed by this pull request
8 tasks
@davidcr01 davidcr01 force-pushed the enhancement/20-assisntant-workflow-development branch from 1efadab to 7f37280 Compare September 4, 2024 14:58
@davidcr01 davidcr01 changed the title Installation assistant test workflow migration Installation assistant test and tier workflow migration Sep 5, 2024
c-bordon
c-bordon previously approved these changes Sep 16, 2024
CarlosALgit
CarlosALgit previously approved these changes Sep 17, 2024
teddytpc1
teddytpc1 previously approved these changes Sep 17, 2024
@c-bordon c-bordon merged commit 8cd8a86 into 4.10.0 Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate the Installation assistant test pipelines to GHA
4 participants