wazuh / wazuh-virtual-machines

Wazuh - Virtual Machines (OVA and AMI)
https://wazuh.com/
GNU General Public License v2.0
1 stars 1 forks source link

Added venv to AMI and OVA workflows #112

Closed CarlosALgit closed 2 weeks ago

CarlosALgit commented 3 weeks ago

Related issue

Description

The aim of this PR is to fix the error that the Github Actions runners were giving due to be updated to a newer version of Ubuntu as we were using the ubuntu-latest runners.

In order to keep using the ubuntu-latest runners, as we consider this to be the right way of work, we needed to use the Python virtual envinronments called venvs. With venvs, we can create isolated environments that don’t interfere with the system's Python modules, making it the safest option.

To achieve this, we had to modify the AMI and OVA workflows.

Tests

Both workflows have been tested and finished with success: