[openstack-dev] [fuel] librarian-puppet integration, need help with build tasks for fuel-library

Alex Schultz aschultz at mirantis.com
Fri Jul 17 11:37:29 UTC 2015


Hey Alex,

On Jul 17, 2015 4:32 AM, "Aleksandr Didenko" <adidenko at mirantis.com> wrote:
>
> Hi,
>
> I think that we should provide a separate script that will fetch the
upstream modules into fuel-library/deployment/puppet/ directory. It will
allow us to have everything in a single place and use this script in ISO
build process and CI jobs.
>

Right. That is what I'm going for. The issue I need help with is the best
way to execute this as part of the build process.  From what i understand
of the build process is that we are using git archive for all pieces so I'm
not sure how to wedge in an extra script execution to do the module fetch.
The creation of the script isn't the issue, the issue is how can I properly
run it as part of the build process.


> Regards,
> Alex
>

Thanks,
-Alex

> On Thu, Jul 16, 2015 at 11:17 PM, Alex Schultz <aschultz at mirantis.com>
wrote:
>>
>> Hello everyone,
>>
>> I have committed the initial configuration required to start leveraging
librarian-puppet as part of the way we pull in upstream puppet modules[0].
Additionally, I have also committed a change that would pull in the
openstack-ironic module[1].  The one piece that is missing from this being
a complete solution is the ability to run librarian-puppet as part of our
build process for the fuel-library.  I've looked into the fuel-main build
scripts and I think it's over my head to figure this out just by looking.
Can anyone explain to me or assist me in how I could go about modifying the
existing build system to be able to run librarian-puppet to prepare the
source for the package?  In my initial investigation, it looks like it
would be a modification of the fuel-main/packages/module.mk[3] file.  I
basically need to do the prepare_library[3] function from the 202763
review[0] after we've pulled all the sources together to fetch the upstream
modules.
>>
>>
>> Thanks,
>> -Alex
>>
>> [0] https://review.openstack.org/202763
>> [1] https://review.openstack.org/202767
>> [2]
https://github.com/stackforge/fuel-main/blob/master/packages/module.mk#L63-L82
>> [3]
https://review.openstack.org/#/c/202763/1/utils/jenkins/fuel_noop_tests.rb
>>
>>
__________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150717/56291535/attachment.html>


More information about the OpenStack-dev mailing list