[SSSD] [RFC] Add basic support for CI test execution

Nikolai Kondrashov Nikolai.Kondrashov at redhat.com
Fri Jun 13 10:40:53 UTC 2014


On 06/13/2014 10:48 AM, Lukas Slebodnik wrote:
> On (11/06/14 17:29), Nikolai Kondrashov wrote:
>> On 06/11/2014 05:28 PM, Nikolai Kondrashov wrote:
>>>>> A package missing from CI dependencies would be immediately obvious as CI
>>>>> builds would fail and it would be easy to then update the lists.
>>>> RPM dependencies are subset of CI dependencies.
>>>>
>>>> you can install CI dependencies with yum install and sssd dependencies with
>>>> yum-builddep
>>>
>>> Sure, but this will be more complicated than just installing them with
>>> yum-builddep.
>>
>> I meant "yum install" here, of course, sorry.
>
> I asked developers from FreeIPA how they install build dependencies in CI.
> They extract build depdendencies from spec file.
> yub-builddep was not used just simple parsing of spec with grep and awk.
> https://github.com/tbabej/labtool/blob/master/ipa-fun-install-build-dependencies.sh

Thank you, Lukas.

This is somewhat better, because it doesn't need trusting "yum-builddep", but
it ignores the .spec file conditionals and possible macro expansion, is
somewhat fragile, still creates additional dependency list source and still
requires duplicating autoconf substitution code, all just for one distribution
family.

Nick



More information about the sssd-devel mailing list