commit | bc369dd0b3f2d2b7d8dddf20aca02b426807a1f6 | [log] [tgz] |
---|---|---|
author | Darius Jokilehto <dariusjokilehto+os@gmail.com> | Tue Apr 26 10:04:11 2022 +0100 |
committer | Darius Jokilehto <dariusjokilehto@gmail.com> | Tue Apr 26 09:08:15 2022 +0000 |
tree | cb0a191510f0db0465af5c498674bd0f8636d7c1 | |
parent | 863008ab54cf9daeb0bdf8ee5345ffb3433c2160 [diff] |
Simplify analytics master build This saves us from having the master build ending `master-master`. Change-Id: I4b1bf3d57e779460d02948b32226e4cbb784813a
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/