commit | 2ff928bb8265972ba7167c72eb35ea5bbb2c888f | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@digital.ai> | Mon Jun 22 09:54:49 2020 +0900 |
committer | David Pursehouse <dpursehouse@digital.ai> | Mon Jun 22 09:54:51 2020 +0900 |
tree | 25905f89c1e8e10caac9fa2b3c2b66e1f748fc8e | |
parent | ed9ff39c939b2bd03471332533fef3e9c060b33c [diff] |
Update Buildifier to 3.2.1 Change-Id: I9b506dc77cb027e07f10cae0a730619da52a905a
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/