commit | 791948488f907bd2c1c785de354b9caa01bbe27e | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Mon Feb 15 15:00:02 2021 +0100 |
committer | Antonio Barone <syntonyze@gmail.com> | Wed Feb 17 15:06:34 2021 +0000 |
tree | eb58b609a1954c227ebe7926402519847f0bfd9d | |
parent | ce80619eea24cced8ac584e42ae7caa3bc8a14c6 [diff] |
Default params for gatling against single-master gerrit Add missing default parameters to allow testing a single Gerrit instance in AWS with Gatling. The deployment uses a 'jenkins' user in the GerritForge AWS account, which has the relevant permissions to create and destroy the stack. Gatling HTTP username and password are retrieved from the vault. Bug: Issue 13829 Change-Id: I443a82aab2175ff157e2e7f59ca02184dbfd2417
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/