[Numpy-discussion] CI Testing
sseibert at anaconda.com
Fri Sep 14 15:24:58 EDT 2018
On Thu, Sep 13, 2018 at 9:48 AM, Charles R Harris <charlesr.harris at gmail.com
> On Thu, Sep 13, 2018 at 8:30 AM Stanley Seibert <sseibert at anaconda.com>
>> Another minor annoyance is that the link on the Github "Checks" page that
>> says "View More Details on Azure Pipelines" takes you to a login page,
>> which then forwards you to the public (no login required) pipeline build
>> results page. As a result, people might not realize you can view the build
>> results for public projects without a Microsoft account, so you'll probably
>> want to put a build status badge with a direct link somewhere prominent in
>> the README.
>> On Thu, Sep 13, 2018 at 9:25 AM, Stanley Seibert <sseibert at anaconda.com>
>>> I'm still trying to wrap my head around the security model here. The
>>> onboarding wizard makes it pretty easy to get started, but the UI
>>> afterwards has a lot of complexity for managing fine grained permissions.
>>> As I understand it, I made a "numba" project with my Microsoft account, but
>>> I can add other Microsoft accounts to the project and give them varying
>>> access to administer the project. None of these user accounts or
>>> permissions connect directly to Github accounts, so that is annoying if you
>>> have a large core dev team you want to give permission to manage builds.
>>> They will all need Microsoft accounts, and you will have to grant them
>>> admin access to the project. (Still trying to figure out how to do that
>>> for Numba...)
>>> Azure Pipeline's connection to Github itself (to post CI status under
>>> PRs, etc) can be done either by granting permission via a Github user's
>>> account, or by installing it as an "app" in the Github organization, which
>>> is the route I opted for.
> Does Azure Pipeline respond to the Github hooks? We have hooks for all the
> other testing sites.
I added Azure Pipelines as a "Github App" (or rather their setup wizard
did), which does similar things to web hooks, but for the entire Github
organization. I think if had used their other setup method, it would have
installed as a Github webhook. Either way, the behavior is the same,
though. The Azure Pipeline builder automatically responds to Github events
like commits to master and new/updated PRs by running the pipeline, and
then updating the PR "checks" accordingly with the results.
I should also note that if someone adds Azure Pipeline support to NumPy's
repo and has a question, tag the product manager for Azure Pipelines
(github ID: @chrisrpatterson) in your PR. He found the Numba PR where we
added Azure support, and was able to escalate one bug we had with the
Ubuntu workers very quickly. They seem to be very eager to help adoption
by the open source community.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion