commit | e821ecebb8a220178d8fdc5b91d1168ef8b6c061 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Thu Nov 28 07:05:20 2019 -0500 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Wed Dec 04 17:18:51 2019 +0000 |
tree | d048e9cc7790f10ae6151227e771b5346462cb34 | |
parent | a3cd347afc07014295903e45cee8626bc9930b42 [diff] |
Speedup git fetch by disabling negotiation When fetching from Gerrit using the default fetch negotiation protocol, the operation takes a lot more than the effective download of the packfiles. Switch off negotiation to speedup git fetches during the branch indexing and job builds. Change-Id: Id836c3a88e3af6cb62ceea3de8dbb8024b619948
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/