commit | 46ff3891b577e9f6700895d997757279756f0f7b | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Thu Apr 22 12:27:34 2021 +0200 |
committer | Antonio Barone <syntonyze@gmail.com> | Thu Apr 22 12:27:34 2021 +0200 |
tree | 16a522e5685df05900c91309c3bd16045c915a66 | |
parent | 5704e1415b651cfa32fda74f9dd3625a110ecc11 [diff] |
Build events-gcloud-pubsub master against gerrit-3.4 Change-Id: I7f8c7afca4275cb4ba0a0942dfecb7fbd9e3ba7c
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/