You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the works of #155, I've noticed that the scripts used to manage the generation of packages are very tightly coupled, making it difficult to extend the CI pipeline implemented in GH Actions.
The main cause is the fragile method we currently use to share the name of the package from step to step in the workflow.
The package is the main and only resource that the workflow handles, so it would be much easier if it were accessible globally, being calculated beforehand as the first step of the pipeline.
We already calculate some values as initial setup, such as the Git commit and the version number of the project. These values are used to dynamically generate the name of the packages, as follows:
The plan is to use a script to generate the name of the packages.
We'll also need to get rid of the OPENSEARCH_VERSION environment variable used in GH Actions to build and assemble packages. Instead, the packaging scripts should be able to detect the OpenSearch version for which the packages are being built, in other words, the version of OpenSearch that wazuh-indexer is based on. It can be obtained with the following command:
Description
During the works of #155, I've noticed that the scripts used to manage the generation of packages are very tightly coupled, making it difficult to extend the CI pipeline implemented in GH Actions.
The main cause is the fragile method we currently use to share the name of the package from step to step in the workflow.
The package is the main and only resource that the workflow handles, so it would be much easier if it were accessible globally, being calculated beforehand as the first step of the pipeline.
We already calculate some values as initial setup, such as the Git commit and the version number of the project. These values are used to dynamically generate the name of the packages, as follows:
The plan is to use a script to generate the name of the packages.
We'll also need to get rid of the OPENSEARCH_VERSION environment variable used in GH Actions to build and assemble packages. Instead, the packaging scripts should be able to detect the OpenSearch version for which the packages are being built, in other words, the version of OpenSearch that wazuh-indexer is based on. It can be obtained with the following command:
Tasks
...
The text was updated successfully, but these errors were encountered: