commit | 3c1f12811ddaf93a08f4e6824d3a1f18079bf405 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu Mar 05 16:25:14 2020 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Thu Mar 05 11:08:53 2020 +0000 |
tree | cdae13010a0b3a103327a5877ed5b0f5760a8b7d | |
parent | abd66f3a231d6e82a319687f23c74d11c6f68546 [diff] |
Upgrade buildifier to 1.0.0 in docker image Change-Id: I2f1fc099f38fb844d40185d36270de67139d1e76
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/