commit | 804df3ed5f292142e2385ae75f7e71972695e4bd | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Wed Aug 25 00:02:54 2021 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Fri Aug 27 02:29:08 2021 +0000 |
tree | c5a57afc4a6b52a561607b3ba62c20f534acf069 | |
parent | 81cd91579cc8b2a9c979e884154c192410b1b25e [diff] |
Upgrade docker plugin to v1.2.3 Upgrade the Docker integration plugin for Jenkins to v1.2.3 and also Jenkins server to v2.222.4 as pre-requisite. All the other dependencies upgrades are a consequence of the upgrade of the docker plugin. The config.xml test configuration needs also updating because of the different confirmation format of the docker plugin and the new Jenkins version. The upgrade of the Docker plugin is needed because of the support for --cap-add option for the Docker containers created. Chrome v92 in headless mode requires the extra capability SYS_ADMIN otherwise it won't be albe to start. Change-Id: I18805cd7d1317638b8717cef529a6aff895a0fcb
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/