[openstack-dev] [horizon][plugins] Horizon plugins validation on CI
Michael Johnson
johnsomor at gmail.com
Wed Oct 17 18:56:32 UTC 2018
Hi Ivan,
As Octavia PTL I have no issue with adding a tempest-plugin repository
for the octavia-dashboard. I think we have had examples with the main
tempest tests and plugins where trying to do a suite of tests in one
repository becomes messy.
We may also want to consider doing a horizon-tempest-lib type of
repository that can host common code/tools for the dashboard plugins
to leverage. I'm thinking things like login code, etc.
Michael
On Wed, Oct 17, 2018 at 6:19 AM Ivan Kolodyazhny <e0ne at e0ne.info> wrote:
>
> Hi all,
>
> We discussed this topic at PTG both with Horizon and other teams. Sounds like everybody is interested to have some cross-project CI jobs to verify that plugins are not broken with the latest Horizon changes.
>
> The initial idea was to use tempest plugins for this effort like we do for Horizon [1]. We've got a very simple test to verify that Horizon is up and running and a user is able to login.
>
> It's easy to implement such tests for any existing horizon plugin. I tried it for Heat and Manila dashboards.
>
> If I understand correctly how tempest plugins work, for such case we've got such options:
>
> a) to create the same tempest plugins for each plugin - it this case, we need to maintain new repos for tempest plugins
> b) add these tests to Horizon tempest plugin - in such case, it will be harder for plugin maintainers to support these tests.
>
> If we don't want to go forward with tempest plugins, we can create similar tests based on Horizon functional tests.
>
> I want to get more feedback both from Horizon and plugins teams on which direction we should go and start implementation.
>
>
> [1] https://github.com/openstack/tempest-horizon/blob/master/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py#L138
>
> Regards,
> Ivan Kolodyazhny,
> http://blog.e0ne.info/
> __________________________________________________________________________
> 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