On 9/13/19 9:28 AM, Andrea Bolognani wrote:
On Fri, 2019-09-13 at 13:58 +0000, Jim Fehlig wrote:
> On 9/13/19 2:56 AM, Andrea Bolognani wrote:
>> Jim, does SLES 12 have
>> Python 3?
>
> Yes, python 3.4.6. And python 2.7.13.
That's *amazing* news! \o/
>> And, as a side note: do you think you could find the time to add
>> OpenSUSE support to the libvirt-jenkins-ci project? That'd be very
>> useful, because it makes grepping for this kind of information
>> trivial, and also would open the door to running actual CI jobs on
>> the OS :)
>
> I have internal jobs but agreed it would be nice to have openSUSE included in
> upstream CI on vanilla upstream :-). Any pointers on how to do that?
Sorry for the delay. Thanks again for the below info!
Good to hear you're willing to help with this effort! I've
been
wanting to introduce OpenSUSE support myself for a very long time,
but unfortunately I've never quite managed to scrap together the
necessary time.
The repository is
https://libvirt.org/git/?p=libvirt-jenkins-ci.git
and most of the stuff you'd have to touch is inside the guests/
subdirectory; more specifically, you're definitely going to have to:
* add OpenSUSE 12 and 15 to inventory and host_vars/;
* write an AutoYaST configuration file that can be used to install
a minimal OpenSUSE guest without user interaction and add it to
the configs/ directory along with the existing preseed and
kickstart configurations;
* add mappings from abstract package names, such as 'dtrace', to
the corresponding OpenSUSE concrete package names, such as
'systemtap-sdt-devel', to vars/mappings.yml;
I've completed these steps.
* test installation and see what breaks, fix it, rinse and
repeat :D
But I'm still in the wash, rinse, repeat cycle :-). I'm able to 'lcitool
install' an openSUSE Leap 15.1 guest, still working on 'lcitool update'.
Nonetheless I thought I'd send out my WIP before calling it a week. Any comments
on what I have thus far is appreciated.
Regards,
Jim