commit | 9c1023fed84106ab0333fcb8174af78f25984bc7 | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Tue Apr 20 17:32:36 2021 +0200 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Tue Apr 20 17:09:38 2021 +0000 |
tree | 2976785fcdb9ffee8586ec8ec5089bf637f2256c | |
parent | 2b901ed64b79b45902547594bc936f6c92aa6528 [diff] |
Move gcloud-pubsub-events job to events-gcloud-pubsub The gcloud-pubsub-events plugin was originally hosted in GerritHub[1], and then moved to gerrit-review[2] with the name of 'events-gcloud-pubsub'. Adapt the CI to build now against the new repository. [1]https://review.gerrithub.io/admin/repos/GerritForge/gcloud-pubsub-events [2]https://gerrit-review.googlesource.com/admin/repos/plugins/events-gcloud-pubsub Change-Id: I6ca044680399a7c0916c143783266ef65d90a39b
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/