<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 5 Oct 2020 at 19:04, Chris MacNaughton <<a href="mailto:chris.macnaughton@canonical.com">chris.macnaughton@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 04-10-2020 08:54, Xav Paice wrote:<br>
> I was writing a patch recently and in order to test it, I needed to<br>
> make changes to the test bundles. I ended up making the same change<br>
> across several files, and missing one (thanks to the reviewer for<br>
> noticing that!).<br>
><br>
> Some of the other projects I'm involved with use symlinks to a base<br>
> bundle with overlays:<br>
-- snip --<br>
> This means that I can edit base.yaml just once, and if a change is<br>
> specific to any of the particular bundles there's a place for that in<br>
> the individual overlays. When we have bundles for each release going<br>
> back to Mitaka, this could be quite an effort saver.<br>
<br>
I'd be quite interested in seeing where this could go, as there is a lot<br>
of duplication in the charms' test code that could probably be<br>
dramatically reduced by taking this approach! Could you propose a change<br>
to one of the repos as an example that we could functionally validate,<br>
as well as confirming the assumption that the only differences between<br>
the bundles is the series, and openstack-origin/source configs?<br>
<br></blockquote><div><br></div><div>Here's a simple example, where there's two base bundles and a pile of overlays - <a href="https://review.opendev.org/#/c/756399/">https://review.opendev.org/#/c/756399/</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Chris MacNaughton<br>
<br>
</blockquote></div></div>