commit | a1ad8a5333c6cea1df664fa5d98735a452986ba9 | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Mon Nov 04 22:25:30 2024 +0100 |
committer | Antonio Barone <syntonyze@gmail.com> | Mon Nov 04 22:25:30 2024 +0100 |
tree | d4d9a2c17f3f72f8bd137e6dd6cf1fc8b4ed4017 | |
parent | 8865018bc6a8701b6a3de8248e30fa2d78b53c5b [diff] |
Update gerrit-release.sh usage example The usage example in `gerrit-release.sh` referenced the outdated `stable-2.16` branch and lacked a value for the fourth parameter, `migration-version`. This update replaces the old branch with a more recent version and includes a sample `migration-version` value for completeness. Change-Id: Idb7b306807feabb2970e6f8c4136503c82851c9a
This project uses Jenkins Jobs Builder [1] to generate jobs from yaml descriptor files.
To add new jobs reuse existing templates, defaults etc. as much as possible. E.g. adding a job to build an additional branch of a project may be as easy as adding the name of the branch to an existing project.
To ensure well readable yaml-files, use yamllint [2] to lint the yaml-files. Yamllint can be downloaded using Python Pip:
pip3 install --require-hashes yamllint
To run the linter, execute this command from the project's root directory:
yamllint -c yamllint-config.yaml jenkins/**/*.yaml
Yamllint will not fix detected issues itself.
[1] https://docs.openstack.org/infra/jenkins-job-builder/index.html [2] https://pypi.org/project/yamllint/