[openstack-dev] [tripleo] Repo structure for ansible-k8s-roles-* under TripleO's umbrella
Flavio Percoco
flavio at redhat.com
Mon Oct 16 15:14:50 UTC 2017
On 11/10/17 07:48 +0200, Flavio Percoco wrote:
>On 10/10/17 10:34 -0600, Alex Schultz wrote:
>>On Tue, Oct 10, 2017 at 5:24 AM, Flavio Percoco <flavio at redhat.com> wrote:
>>>On 09/10/17 12:41 -0700, Emilien Macchi wrote:
>>>>
>>>>On Mon, Oct 9, 2017 at 2:29 AM, Flavio Percoco <flavio at redhat.com> wrote:
>>>>[...]
>>>>>
>>>>>1. A repo per role: Each role would have its own repo - this is the way
>>>>>I've
>>>>>been developing it on Github. This model is closer to the ansible way of
>>>>>doing
>>>>>things and it'll make it easier to bundle, ship, and collaborate on,
>>>>>individual
>>>>>roles. Going this way would produce something similar to what the
>>>>>openstack-ansible folks have.
>>>>
>>>>
>>>>+1 on #1 for the composability.
>>>>
>>>>[...]
>>>>
>>>>Have we considered renaming it to something without tripleo in the name?
>>>>Or is it too specific to TripleO that we want it in the name?
>>>
>>>
>>>The roles don't have tripleo in their names. The only role that mentions
>>>tripleo
>>>is tripleo specific. As for the APB, yeah, I had thought about renaming that
>>>repo to something without tripleo in there: Perhaps just `ansible-k8s-apbs`.
>>>
>>>I'm about to refactor this repo to remove all the code duplication. We
>>>should be
>>>able to generate most of the APB code that's in there from a python script.
>>>We
>>>could even have this script in tripleo_common, if it sounds sensible.
>>>
>>
>>It should be it's own thing and not in tripleo_common. When I was
>>proposing a cookiecutter repo it was because in Puppet we do the same
>>thing to bootstrap the modules[0]. It would be a good idea to
>>establish this upfront with the appropriate repo & zuul v3
>>configurations that could be used to test these modules. We have a
>>similar getting started with a new module doc[1] that we should
>>probably establish for these ansible-k8s-* roles.
>
>Yes, I shall work on a cookiecutter repo for these roles. Good thinking.
I've moved ahead with this. I created a cookiecutter template and I've proceeded
to use this repo as the first one to migrate under `openstack/` for this work.
https://review.openstack.org/#/c/512323/
Please, provide feedback there. I'll soon create the governance patch.
Flavio
--
@flaper87
Flavio Percoco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20171016/a1218701/attachment.sig>
More information about the OpenStack-dev
mailing list