wazuh / wazuh-packages

Wazuh - Tools for packages creation
https://wazuh.com
GNU General Public License v2.0
105 stars 98 forks source link

Change version to tag ref in the Filebeat template #3095

Closed Enaraque closed 2 months ago

Enaraque commented 2 months ago
Related issue
https://github.com/wazuh/wazuh-packages/issues/3092

Description

The Installation Assistant, when it has to download the Filebeat template, uses the branch as a reference in the URL. This can cause problems when testing the correct functioning of the components because, if this file is updated in the branch, it would be using a version that does not belong to the current stage.

To solve this problem, a variable has been added in installVariables.sh file that refers to the stage of the current version.

[!IMPORTANT] With this, whenever we have to bump a version we will need to change the new tag reference.

Logs example

Every test doing in this process can be seen here: