[charms] Zaza bundle tests
Xav Paice
xavpaice at gmail.com
Wed Oct 7 06:42:21 UTC 2020
On Mon, 5 Oct 2020 at 19:04, Chris MacNaughton <
chris.macnaughton at canonical.com> wrote:
> On 04-10-2020 08:54, Xav Paice wrote:
> > I was writing a patch recently and in order to test it, I needed to
> > make changes to the test bundles. I ended up making the same change
> > across several files, and missing one (thanks to the reviewer for
> > noticing that!).
> >
> > Some of the other projects I'm involved with use symlinks to a base
> > bundle with overlays:
> -- snip --
> > This means that I can edit base.yaml just once, and if a change is
> > specific to any of the particular bundles there's a place for that in
> > the individual overlays. When we have bundles for each release going
> > back to Mitaka, this could be quite an effort saver.
>
> I'd be quite interested in seeing where this could go, as there is a lot
> of duplication in the charms' test code that could probably be
> dramatically reduced by taking this approach! Could you propose a change
> to one of the repos as an example that we could functionally validate,
> as well as confirming the assumption that the only differences between
> the bundles is the series, and openstack-origin/source configs?
>
>
Here's a simple example, where there's two base bundles and a pile of
overlays - https://review.opendev.org/#/c/756399/
> Chris MacNaughton
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20201007/5f616777/attachment.html>
More information about the openstack-discuss
mailing list