commit | 79782a6d958a9b62cb84647c4eb501d561836e0d | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Thu Jul 30 09:22:47 2020 +0200 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Wed Sep 30 15:56:35 2020 +0000 |
tree | 928946a38ce29260495423b549ac5d11b5f9be63 | |
parent | 8c0a6b77bbb9167cc85c6d799ca6383fad058756 [diff] |
Remove xvfb from the Gerrit verification job The PolyGerrit tests rely on Chrome's headless mode which doesn't require any DISPLAY and therefore there is no need to start Xvfb either. Avoiding to start Xvfb would save precious minutes from the build container startup time. Bug: Issue 13201 Change-Id: I2ea9a43d2e00444be94ec8a888b0a29de9d6a14a
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/