<div dir="ltr"><div dir="ltr"></div><div class="gmail_quote"><div><div><div><div><div>Hello all,</div><div><br></div><div><tl;dr></div><div>The Charms projects are increasingly heavy users of external GitHub dependencies, and we are facing intermittent issues with this at the gate.<br></div><div><br></div><div><div>Does anyone have ideas as to how we should handle this from the point of view of Charm teams?<br></div><div><br></div><div>Anyone from Zuul have ideas/pointers on how we could help improve the external GitHub dependency support?</div><div></tl;dr><br></div></div><div><br></div><div><br></div><div>As many of you know the OpenStack Charms project is in the process of replacing the framework for performing functional deployment testing of Charms with ``Zaza`` [0].</div><div><br></div><div>Two of the key features of the Zaza framework is reusability of tests simply by referencing already written tests with a Python module path in a test definition in a YAML file, and general applicability across other Charms, not just OpenStack specific ones.</div><div><br></div><div>Because of this the Zaza project, which also contains the individual functional test modules, is hosted on GitHub and not on the OpenStack Infrastructure.</div><div><br></div><div><br></div><div>Whenever a change is proposed to a charm that require new or changes to existing functional tests, we need a effective way for the individual contributor to have their Charm change (which is proposed on OpenStack Infrastructure) tested with code from their Zaza change (which is proposed as a PR on GitHub).</div><div><br></div><div>We have had some success with adding ``Depends-On:`` and the full URL to the GitHub PR in the commit message. There is experimental support for using that as a gate check in Zuul, and Canonical's third party Charm CI is configured to pull the correct version of Zaza based on Depends-On referencing GitHub PRs.</div><div><br></div><div>However, we often have to go through extra hoops to land things as the gate code appears to not always successfully handle GitHub PR references in Depends-On.</div><div><br></div><div><br></div><div>For reference, after discussion in #openstack-infra I got a log excerpt [1] and a reference to a WIP PR [2] that might be relevant.<br></div><div><br></div><div>0: <a href="https://zaza.readthedocs.io/en/latest/" target="_blank">https://zaza.readthedocs.io/en/latest/</a><br></div><div>1: <a href="http://paste.openstack.org/show/744664/" target="_blank">http://paste.openstack.org/show/744664/</a><br></div><div>2: <a href="https://review.openstack.org/#/c/613143/" target="_blank">https://review.openstack.org/#/c/613143/</a><br></div><div><br></div><div><div><div>-- <br><div class="gmail-m_1031027092937014529gmail-m_-4127806206110122278gmail_signature"><div><div><div><div><div><div>Frode Nordahl</div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>