commit | 6100edea29dc050606b0bfa94e66f2894fb372f6 | [log] [tgz] |
---|---|---|
author | Jacek Centkowski <geminica.programs@gmail.com> | Sat May 04 10:37:05 2024 +0200 |
committer | Jacek Centkowski <geminica.programs@gmail.com> | Sat May 11 09:51:26 2024 +0000 |
tree | 543840d82365cee9d57eff2061611d20db1c4575 | |
parent | 816e549f8a1c8845a0a67f9e17a39dbfa423d4f9 [diff] |
Adjust its-base CI to the existing branches The plugin's master is no longer compatible with Gerrit 3.9+ but still compatible with 3.7 and 3.8 therefore `stable-3.[7|8]` branches were created out of it to keep the compatibility. Apart from that there is a pending change against plugin's master that fixes compatibility against Gerrit `3.9`+. This change adjusts CI to it. Bug: Issue 338535762 Change-Id: I540345f8d48cf7d5ff154882d598693410561f9b
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/