[openstack-dev] [tripleo] Repo structure for ansible-k8s-roles-* under TripleO's umbrella

Alex Schultz aschultz at redhat.com
Mon Oct 9 19:36:15 UTC 2017

On Mon, Oct 9, 2017 at 3:29 AM, Flavio Percoco <flavio at redhat.com> wrote:
> Greetings,
> I've been working on something called triple-apbs (and it's respective
> roles) in
> the last couple of months. You can find more info about this work
> here[0][1][2]
> This work is at the point where I think it would be worth start discussing
> how
> we want these repos to exist under the TripleO umbrella. As far as I can
> tell,
> we have 2 options (please comment with alternatives if there are more):
> 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.

I think we've proven that this is a better way to handle these types
of things so I would prefer option #1. I would say that it might be
useful to also create a basic cookiecutter template for these repos so
we can quickly bootstrap new ones. One thing that has a been a
repeated problem when you do split these modules is having to do bulk
updates for requirements or shared structure items and making sure we
don't accrue a ton of tech-debt over time.


> 2. Everything in a single repo: this would ease the import process and
> integration with the rest of TripleO. It'll make the early days of this work
> a
> bit easier but it will take us in a direction that doesn't serve one of the
> goals of this work.
> My preferred option is #1 because one of the goals of this work is to have
> independent roles that can also be consumed standalone. In other words, I
> would
> like to stay closer to the ansible recommended structure for roles. Some
> examples[3][4]
> Any thoughts? preferences?
> Flavio
> [0] http://blog.flaper87.com/deploy-mariadb-kubernetes-tripleo.html
> [1]
> http://blog.flaper87.com/glance-keystone-mariadb-on-k8s-with-tripleo.html
> [2] https://github.com/tripleo-apb
> [3] https://github.com/tripleo-apb/ansible-role-k8s-mariadb
> [4] https://github.com/tripleo-apb/ansible-role-k8s-glance
> --
> @flaper87
> Flavio Percoco
> __________________________________________________________________________
> 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

More information about the OpenStack-dev mailing list