commit | e2f698f293eab03e963f1ae99b4e32f37d6f1966 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Mon Apr 05 23:48:18 2021 +0200 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Mon Apr 05 22:00:07 2021 +0000 |
tree | f96f899f80f41a769c0d742e524e5fc37beaa2df | |
parent | bcd7ce6ccb2fafc1cb2fa3ad51d30e3925c4acc8 [diff] |
Build Gerrit and validate changes on stable-3.4 Adapt the Gerrit checkers definition and select also all incoming changes on the stable-3.4 branch. Also activate RBE build mode on stable-3.4 branch. Change-Id: I4a4c5fa0efefccb3978a1a4f3486ff33227bedc7
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/