commit | a7f0040e32a60fba9e03049131ea2178ee31f27c | [log] [tgz] |
---|---|---|
author | Marcin Czech <maczech@gmail.com> | Thu Sep 24 14:42:40 2020 +0200 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu Oct 08 23:00:27 2020 +0000 |
tree | 3985c3c6ccdcf90640deb48f2fb348426d66371e | |
parent | e8628636d39b8436e9d323ec0b3731338efeb0ae [diff] |
Setup GerritAccount and XSRF_TOKEN parameters Gatling performance tests uses GerritAccount and XSRF_TOKEN to authenticate. By adding manual step to fetch both parameters we can automate tests execution Feature: Issue 13429 Change-Id: I2557c182d743c2975f1e5e44a4a77655aa1ebf15
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/