commit | 3d8c7a19eb0255662846bab8fda7b7ae01a5a96b | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Wed Apr 17 13:13:13 2024 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Fri Apr 26 15:30:34 2024 +0000 |
tree | 37539f92135a39e760af85f7d21778fbe61aad99 | |
parent | f5d6d95ca7bdf748d40d793b0ad986430aa6db7a [diff] |
Remove all references to Docker daemon and tcp port 2375 The Gerrit-CI is now a lot more secure and there isn't anymore the need to allow anyone to access the Docker daemon that is running Jenkins. Change-Id: Iaacd85c95068188e049653535bafa06f8d199194
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 --require-hashes 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/