commit | ba4a43e6e076d1c29cc1b95f351fdaff6bf5e7c6 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Tue May 09 12:57:58 2023 +0200 |
committer | Chris Poucet <poucet@google.com> | Tue May 16 10:30:56 2023 +0000 |
tree | f1667a0c23a25575dfa86ea8e397296e8bb28fb2 | |
parent | c6a9cc0487d51da76fea9e18d4d19cba705c4f14 [diff] |
Disable polygerrit check definition for master branch We disable running verifications of frontend only change on GerritForge CI on master branch and relies on LUCI verification. Change-Id: Ib2937cec95d3b6b85cbfd5d3b689f579b41e7cc0
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/