[Freeipa-devel] [Pki-devel] faster ways to build/test dogtag?

Endi Sukma Dewata edewata at redhat.com
Tue Jun 3 15:08:26 UTC 2014


Hi Fraser,

If you haven't got an answer yet, this is how I set up my lab environment:

1. As a non-root user (e.g. edewata) I checked out the source code into 
my home directory (e.g. ~/Projects/pki). In the lab the home directory 
is remotely mounted so it's slow, but it's useful to share files among 
multiple machines.

2. As root user I build Dogtag on root's home directory with this command:

   compose_pki_core_packages --work-dir /root/<build dir> hybrid_rpms

It's faster because root's home directory is local.

I also have some scripts that I use to simplify the build/installation 
tasks. Feel free to use them but they may require certain directory layout.

   http://fedorapeople.org/cgit/edewata/public_git/pki-dev.git/

Ideally there should be a faster way to compile & refresh Dogtag 
installation without building & reinstalling the RPM packages, but we 
just haven't got a chance to do it yet. It may require converting some 
of the installation code in the RPM spec file into CMake.

-- 
Endi S. Dewata

On 5/27/2014 2:00 AM, Fraser Tweedale wrote:
> Hi all,
>
> I've been working on a fix for a profile issue
> (https://fedorahosted.org/freeipa/ticket/2915).  Unfortunately I
> find the scripts/compose_pki_core_packages -> yum install -> test
> cycle frustratingly slow on idm.lab.bos.  Is there a quicker way
> to build and test the software - particularly as part of the larger
> IPA/certmonger/dogtag ecosystem?
>
> Cheers,
>
> Fraser
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
>
> _______________________________________________
> Pki-devel mailing list
> Pki-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/pki-devel
>





More information about the Freeipa-devel mailing list