commit | 00a596acf8fbacb51e5ec6f6581d407cd87ba96b | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Wed Nov 17 14:21:00 2021 +0100 |
committer | Antonio Barone <syntonyze@gmail.com> | Wed Nov 17 14:21:00 2021 +0100 |
tree | 2a93c7235eae0f537eb8c25c27f8e9b24e1a8e22 | |
parent | 0cbb34740cabe6c529f7f839dd3f200f76d62ab8 [diff] |
Build high-availability against gerrit stable-3.5 Bug: Issue 15285 Change-Id: I45f16253959aba47e0066e56b8c8117392785e6b
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 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/