-
Notifications
You must be signed in to change notification settings - Fork 2
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
Migrate the Packages_Builder_AMI
pipeline to GHA
#21
Comments
Packages_Builder_AMI
pipeline to GHAPackages_Builder_AMI
pipeline to GHA
Update reportI've been learning how the previous Jenkins pipeline worked and researching how to adapt it to GitHub Actions. For now, it would be necessary to use secrets for access to AWS (access_key and secret_access_key). This won't be necessary if it’s decided to use AWS's OIDC with GitHub in the end. Next approachContinue researching and implement part of the required code. |
Update reportWe have been working on the AMI build workflow. For now, the first version has been implemented, but testing still needs to be done. The playbook needed to install the Wazuh components has also been added. |
Update reportOnce the workflow has been uploaded, tests are being carried out for its correct implementation. |
Update reportVarious tests have been conducted with the workflow. The main issues are related to the execution of the playbook for installing Wazuh components on the generated instance. The primary problems arise from the Using a fresh instance instead of the AMI previously used with Jenkins has also caused issues with modifying files in the Currently, efforts are focused on resolving problems related to this user to move forward with the workflow execution. |
Update reportThe option to save an artifact containing the necessary information for the allocator has been implemented. This step is executed whenever the base instance is created and the "destroy" option is disabled. This allows us to obtain a file with the necessary information to access the instance if desired. The destroy step has also been modified so that it executes whenever (the destroy option must be marked):
It has been verified that the pipeline executes correctly with the image that was previously used in the Jenkins pipeline to generate the image. Once the pipeline is finished, the dashboard can be accessed correctly. Next approachThere are a few more deployments to test but no more code to implement. |
The parameters to use in the workflow are the following:
Instead of (commented in the issue description):
These parameters were changed as some of them were no longer needed. In addition, other necessary parameters were added such as VERBOSITY or DESTROY that appeared in the Jenkins pipeline or references to new repositories, necessary for the execution of the workflow. |
Description
Because of the
Wazuh packages redesign tier 2
objective we need to migrate thePackages_Builder_AMI
pipeline from Jenkins to GHA.Tasks
Packages_Builder_AMI
pipeline in GHARelated
The text was updated successfully, but these errors were encountered: