<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Feb 6, 2015 at 1:36 PM, Sean Dague <span dir="ltr"><<a href="mailto:sean@dague.net" target="_blank">sean@dague.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">For those that didn't notice, on the Devstack team we've started to push<br>
back on new in-tree support for all the features. That's intentional.<br>
We've got an external plugin interface now -<br>
<a href="http://docs.openstack.org/developer/devstack/plugins.html#externally-hosted-plugins" target="_blank">http://docs.openstack.org/developer/devstack/plugins.html#externally-hosted-plugins</a>,<br>
and have a few projects like the ec2api and glusterfs that are<br>
successfully using it. Our Future direction is to do more of this -<br>
<a href="https://review.openstack.org/#/c/150789/" target="_blank">https://review.openstack.org/#/c/150789/</a><br>
<br>
The question people ask a lot is 'but, how do I do a gate job with the<br>
external plugin?'.<br>
<br>
Starting with the stackforge/ec2api we have an example up on how to do<br>
that: <a href="https://review.openstack.org/#/c/153659/" target="_blank">https://review.openstack.org/#/c/153659/</a><br>
<br>
The important bits are as follows:<br>
<br>
1. the git repo that you have your external plugin in *must* be in<br>
gerrit. stackforge is fine, but it has to be hosted in the OpenStack<br>
infrastructure.<br>
<br>
2. The job needs to add your PROJECT to the projects list, i.e.:<br>
<br>
    export PROJECTS="stackforge/ec2-api $PROJECTS"<br>
<br>
3. The job needs to add a DEVSTACK_LOCAL_CONFIG line for the plugin<br>
enablement:<br>
<br>
    export DEVSTACK_LOCAL_CONFIG="enable_plugin ec2-api<br>
git://<a href="http://git.openstack.org/stackforge/ec2-api" target="_blank">git.openstack.org/stackforge/ec2-api</a>"<br>
<br>
Beyond that you can define your devstack job however you like. It can<br>
test with Tempest. It can instead use a post_test_hook for functional<br>
testing. Whatever is appropriate for your project.<br>
<span class=""><font color="#888888"><br></font></span></blockquote><div>This is awesome Sean! Thanks for the inspiration here. In fact, I just pushed a series of patches [1] [2] which do the same for the networking-odl stackforge project.<br><br>Thanks,<br>Kyle<br><br>[1] <a href="https://review.openstack.org/#/c/153704/">https://review.openstack.org/#/c/153704/</a><br>[2] <a href="https://review.openstack.org/#/c/153705/">https://review.openstack.org/#/c/153705/</a><br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888">
        -Sean<br>
<br>
--<br>
Sean Dague<br>
<a href="http://dague.net" target="_blank">http://dague.net</a><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</font></span></blockquote></div><br></div></div>