<div dir="ltr"><div><div><div><div>Abnishek,<br><br></div> If you use jenkins job builder and have something similar to infrastructure team's jjb configuration [1] , you would need to add an export there. E.g.<br><br>...<br></div>export <span><span>DEVSTACK_GATE_PROJECTS_OVERRIDE="</span></span><span><span><span class="">openstack/cinder</span> openstack/nova openstack/neutron"<br>...<br><br></span></span></div><span><span>Obviously, change the project list to the projects you want to use. This should force devstack-vm-gate-wrap.sh only to checkout those projects.<br><br></span></span></div><span><span>Sidenote: if you use nodepool and do use snapshot image builds based on using prepare_node_devstack.sh scripts, you can also limit which project repositories are cached to that image by changing your cache_git_repos.py [2].<br><br>[1] </span></span><span><span><a href="https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/devstack-gate.yaml#L16-L20">https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/devstack-gate.yaml#L16-L20</a><br>[2] <a href="https://github.com/openstack-infra/project-config/blob/master/nodepool/scripts/cache_git_repos.py">https://github.com/openstack-infra/project-config/blob/master/nodepool/scripts/cache_git_repos.py</a><br></span></span><div><div><div><span><span><br></span></span></div><div><span><span>cheers,<br><br></span></span></div><div><span><span>Mikhail Medvedev (mmedvede)<br></span></span></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 21, 2015 at 12:50 PM, Doug Wiegley <span dir="ltr"><<a href="mailto:dougwig@parksidesoftware.com" target="_blank">dougwig@parksidesoftware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">You can also override ENABLED_SERVICES with the minus syntax. Example:<div><br></div><div><a href="https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/tests/contrib/gate_hook.sh" target="_blank">https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/tests/contrib/gate_hook.sh</a></div><div><br></div><div>Thanks,</div><div>doug</div><div><br></div><div><br><div><blockquote type="cite"><span class=""><div>On Jul 21, 2015, at 11:43 AM, Abhishek Shrivastava <<a href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>> wrote:</div><br></span><div><span class=""><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi Mikhail,</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Thanks for the suggestion, can you tell me one more thing that how to use this, I mean can you show me some examples regarding its syntax.</div></div></span><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Jul 21, 2015 at 10:20 PM, Mikhail Medvedev <span dir="ltr"><<a href="mailto:mihailmed@gmail.com" target="_blank">mihailmed@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><span><div>Abnishek,<br><br></div>I think you can use DEVSTACK_GATE_PROJECTS_OVERRIDE variable to limit the projects you want.<br><br>Mikhail Medvedev (mmedvede)</span></span><div class="gmail_extra"><br><div class="gmail_quote"><span class=""><span>On Tue, Jul 21, 2015 at 11:24 AM, Abhishek Shrivastava <span dir="ltr"><<a href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>></span> wrote:<br></span></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><span class=""><div class="gmail_default" style="font-family:monospace,monospace">Hi Folks,</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">I have setup the CI using Ramy's guide and found a lot of ways to setup configs of Cinder, Tempest and DevStack using the Devstack Gate scripts mentioned and used in the guide.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Even though we are able to set the Devstack services according to our needs, but still we have to download a lot of "<b>openstack-projects" </b>out of which only few are of our use. </div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">So, if anyone knows anything about how to download only required projects in CI please do reply.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace"><div dir="ltr" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px"><div class="gmail_default"><ul><li style="margin-left:15px"><font face="monospace, monospace">The project list mentioned in the "<b>devstack-vm-gate-wrap</b>" script[1].</font></li><li style="margin-left:15px"><font face="monospace, monospace">Downloaded using "<b>functions.sh</b>" script through function "<b>setup workspace</b>"[2]</font></li></ul><div><font face="monospace, monospace">[1] <a href="https://github.com/openstack-infra/devstack-gate/blob/master/devstack-vm-gate-wrap.sh#L35" target="_blank">https://github.com/openstack-infra/devstack-gate/blob/master/devstack-vm-gate-wrap.sh#L35</a></font></div><div><font face="monospace, monospace">[2] <a href="https://github.com/openstack-infra/devstack-gate/blob/master/functions.sh#L416" target="_blank">https://github.com/openstack-infra/devstack-gate/blob/master/functions.sh#L416</a></font></div><span><font color="#888888"><div><br></div></font></span></div></div></div></span><span><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span class=""><div><div dir="ltr"><div><font color="#0b5394"><b><img src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"><br></b></font></div><div><font face="times new roman, serif" size="2"><b>Thanks & Regards,<br></b></font></div><font><font face="times new roman, serif" size="2"><b>Abhishek</b></font><br></font></div></div></span><div><i><u><font color="#0000ff"><a href="http://www.cloudbyte.com/" target="_blank">Cloudbyte Inc.</a></font></u></i></div></div></div></div></div></div></div>
</font></span></div>
<br></div></div><span class=""><span>_______________________________________________<br>
OpenStack-Infra mailing list<br>
<a href="mailto:OpenStack-Infra@lists.openstack.org" target="_blank">OpenStack-Infra@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra</a><br>
<br></span></span></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span class=""><div><div dir="ltr"><div><font color="#0b5394"><b><img src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"><br></b></font></div><div><font face="times new roman, serif" size="2"><b>Thanks & Regards,<br></b></font></div><font><font face="times new roman, serif" size="2"><b>Abhishek</b></font><br></font></div></div></span><div><i><u><font color="#0000ff"><a href="http://www.cloudbyte.com/" target="_blank">Cloudbyte Inc.</a></font></u></i></div></div></div></div></div></div></div>
</div><span class="">
_______________________________________________<br>OpenStack-Infra mailing list<br><a href="mailto:OpenStack-Infra@lists.openstack.org" target="_blank">OpenStack-Infra@lists.openstack.org</a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra</a><br></span></div></blockquote></div><br></div></div></blockquote></div><br></div>