-
Notifications
You must be signed in to change notification settings - Fork 32
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 Puppet forge publish procedure contained in the Packages_builder
pipeline to GHA
#5649
Migrate the Puppet forge publish procedure contained in the Packages_builder
pipeline to GHA
#5649
Comments
Packages_builder
pipeline to GHAPackages_builder
pipeline to GHA
Packages_builder
pipeline to GHAPackages_builder
pipeline to Jenkins
Packages_builder
pipeline to JenkinsPackages_builder
pipeline to GHA
The workflow for creating the Wazuh Puppet module was created in the wazuh/wazuh-puppet repository and its execution was tested: It was verified that the workflow creates the module, uploads it as an artifact to Github Actions and the functionality of uploading the file to the corresponding S3 bucket was also tested. |
Hi @vcerenu , Here are some specs regarding this issue that are related to the https://github.com/wazuh/internal-devel-requests/issues/187 criteria:
NOTE:
|
DescriptionThe upload path to S3 was modified, the name of the Puppet module file was added for executions of different stages before the production package, and the workflow inputs were modified to have a better relationship with the other workflows created. TestExecution for stage environments: Execution for Production environments: |
UpdateAdded modification of the key version value within the metadata.json file and added a stage to modify it in case of a development version. Testhttps://github.com/wazuh/wazuh-puppet/actions/runs/10909059398 |
UpdateThe revision number was deleted from metadata file. Tests:Stage Execution: No stage execution: |
I am reopening this issue because our package generation script needs an undocumented mandatory input field and behaviors. Specs:
run-name: Puppet module ${{ inputs.is_stage && ' - is stage' || '' }}${{ inputs.checksum && ' - checksum' || '' }} ${{ inputs.id }}
id:
type: string
required: false
checksum:
type: boolean
required: false
id:
type: string
description: |
ID used to identify the workflow uniquely.
required: false
checksum:
type: boolean
description: |
Generate package checksum.
Default is 'false'.
required: false
|
Checksum development was here wazuh/wazuh-puppet#1119 |
Description
Because of the
Wazuh packages redesign tier 2
objective we need to migrate the Puppet forge build and publication from thePackages_builder
pipeline to a GHA.Tasks
pre-release
locationChanges
packages-dev.internal.wazuh.com
. https://github.com/wazuh/internal-devel-requests/issues/1555puppet_module_builder_gha_workflow
policy to only allow performing actions within thepackages-dev.internal.wazuh.com
in the previously defined folder.packages-dev.internal.wazuh.com
Additional changes
metadata.json
file (-1
by default). In case of a new revision, the value will be updated in the new branch for that release/revision.is_stage
GHA input isfalse
the value of the version in metadata.json should be updated before the module generation. The new name will have the module version, revision, and commit. This will replace the currentModify name for stage build
step.The text was updated successfully, but these errors were encountered: