commit | 2ecf9f266c8865783a269a9306623c08559daa12 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Tue Nov 17 14:11:15 2020 -0500 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Fri Nov 20 16:30:34 2020 +0000 |
tree | 1a672d9ce450aa401bdc5112653b42c420130c5b | |
parent | fdda4590beaa97706ff1af58c10f2ee8e2f60d12 [diff] |
Revert "Disable elasticsearch tests in Gerrit-CI builds" This reverts commit 6103b5ae0c7293f32c69be574de1d51061f53a64. Now that these tests are meant to pass again based on [1]'s fix. Keep excluding the elastic tests though for EOL branches [2] -in [3]. The reverted commit only disabled the elastic tests for the stable-2.16 branch, explicitly that is. [1] https://gerrit-review.googlesource.com/c/gerrit/+/287983 [2] https://gerrit-review.googlesource.com/c/gerrit-ci-scripts/+/270340 [3] jenkins/gerrit-bazel-verifier-test.sh Change-Id: Ic0b3c5598843f978ef4589df3586e843bc470f08
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/