[OpenStack-Infra] Help With CI/CD Setup

Asselin, Ramy ramy.asselin at hpe.com
Mon Nov 28 19:09:03 UTC 2016


Hi Amit,


1.      Sounds like you’re doing ‘3rd party ci’ in which case you don’t need Gerrit, but instead would use openstack’s Gerrit instance.

2.      To use http://docs.openstack.org/infra/openstackci/, you’ll need an openstack cloud provider (that has access to your driver backend) that you can install any way you like. To run the actual CI tests, most folks use devstack & devstack-gate. Here again, you can install openstack on the test node any way you like, configure your driver, and run the cinder/manila tempest tests (and/or anything else)

3.      See links Josh provided.

Also, there is a weekly 3rd party ci meeting https://wiki.openstack.org/wiki/Meetings/ThirdParty you can join to ask questions and raise issues in additional to the freenode irc #openstack-infra & #openstack-third-party-ci channels.

Ramy

From: Joshua Hesketh [mailto:joshua.hesketh at gmail.com]
Sent: Monday, November 21, 2016 10:12 PM
To: Amit Manel <Amit.Manel at veritas.com>
Cc: openstack-infra at lists.openstack.org
Subject: Re: [OpenStack-Infra] Help With CI/CD Setup

Hello Amit,

1. It /should/ be okay to have Jenkins+Gerrit on the one node, but I have not tried it so I can't be certain. You would have to configure apache or whatever you're using to point to jenkins/gerrit on separate vhosts, paths, or ports etc, but otherwise it should be okay. You could attempt to use containers, but again no idea how that would go.

2. You could mean two things here.
a) You are asking about managing test nodes. In this case you don't need to install openstack, you just need a way to manage your test nodes. nodepool[0] can help with this if you have access to a cloud somewhere.
b) You are talking about installing OpenStack to test your driver. In this case it's a little more specific to what it is that you want to test. You'll need to come up with a test scenario that exercises your driver with cinder+manila etc. which might mean figuring out a way to do that. Devstack plugins can make this easy.

3. If you're talking about 3rd party testing, here is a guide: http://docs.openstack.org/infra/system-config/third_party.html
Further reading: http://docs.openstack.org/infra/system-config/ and http://docs.openstack.org/infra/openstackci/

Cheers,
Josh

[0] http://docs.openstack.org/infra/nodepool/

On Tue, Nov 22, 2016 at 4:25 PM, Amit Manel <Amit.Manel at veritas.com<mailto:Amit.Manel at veritas.com>> wrote:
Hello Infra Team,

I am presently  working on to setup CI/CD for openstack to test my driver related with cinder and manila. I am bit confused about following point, appreciate any help on this .


1.       Do we need an  OpenStack Node for the CI/CD and is it okay to have Jenkins , Gerrit on one node.

2.       If we may have to install OpenStack, should that be of Devstack on Ubuntu  or will  openstack installed with Packstack on RHEL 7.3 will work.

3.       Any  step by step documentation link will be preferable.




_______________________________________________
OpenStack-Infra mailing list
OpenStack-Infra at lists.openstack.org<mailto:OpenStack-Infra at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20161128/140361cb/attachment-0001.html>


More information about the OpenStack-Infra mailing list