commit | 8ebb31d12738a5c12cb27fe615e0298a0be03fc9 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Tue Oct 22 21:07:19 2024 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu Oct 24 00:49:19 2024 +0000 |
tree | 09e1a26475628427c8d53289969f6f250f29f391 | |
parent | 452e5fc8c9170bcc7b3fde8cdbf6f4cd400b4b75 [diff] |
Remove OpenSSH server from Docker build image Jenkins agents do not use anymore SSHD for connectivity with the controller, hence the server-side of OpenSSH can be removed from the image. Gerrit uses the SSH utilities directly, therefore the client-side of OpenSSH should stay. Change-Id: I248fd98f9b28871e93b437200a74236f59664d0e
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/