| commit | a47497db4aec475c6e821b2608af59906f9bb036 | [log] [tgz] |
|---|---|---|
| author | Luca Milanesio <luca.milanesio@gmail.com> | Mon Sep 29 22:22:35 2025 +0100 |
| committer | Luca Milanesio <luca.milanesio@gmail.com> | Fri Oct 03 00:57:08 2025 -0700 |
| tree | 466e61b2a36a4287a102df125df3695c9d8a4a1d | |
| parent | 2dca56ecf6941310d6dc1b104410c1a0f95372cb [diff] |
Convert the checkers_definitions.txt into a runnable script Transform the definition of Gerrit checkers into something that can be just executed, making easier to update the checkers and avoiding any potential human error. Change-Id: I139f81b51e47a5ecac750916b29acdc21fbf50ac
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/