]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commit
library/jenkins_node: Allow to work on centos7 by adding xml parser
authorDan Mick <dmick@redhat.com>
Thu, 8 Feb 2024 04:13:09 +0000 (20:13 -0800)
committerDan Mick <dmick@redhat.com>
Thu, 8 Feb 2024 09:45:00 +0000 (01:45 -0800)
commiteb33c39a1d039d38e8e2591152ceb6c61a0fcf66
tree6a8dbff71e1ee6594b9f061d005fb0a549dc29fb
parent731d8c35a76f43b11da31d9f503965e810ee0dd7
library/jenkins_node: Allow to work on centos7 by adding xml parser

xmltodict is exactly what I needed, but it's too hard to dig up
for centos7 (and overkill anyway).  Supply an implementation that
allows jenkins XML parsing and use it instead.

Also, use python3 on centos7, and tweak the packages a bit in
examples/builder.yml

Signed-off-by: Dan Mick <dmick@redhat.com>
ansible/examples/builder.yml
ansible/library/jenkins_node