How do I kill an AppVeyor build?
Hi,
It seems only some select people have the ability to kill or re-launch AppVeyor builds?
Regards
Antoine.
You need to log on as the Appveyor account in order to manage builds. It's possible to link a Github team with an Appveyor admin role to allow the team to all have the ability to (effectively) log in as the appveyor account. It's a bit fiddly to set up (and use :-() but it does work. If whoever currently owns the cpython appveyor account wants help setting things up, I've done it for pip so I can assist.
Paul
On 18 July 2017 at 17:20, Antoine Pitrou <antoine@python.org> wrote:
Hi,
It seems only some select people have the ability to kill or re-launch AppVeyor builds?
Regards
Antoine.
python-committers mailing list python-committers@python.org https://mail.python.org/mailman/listinfo/python-committers Code of Conduct: https://www.python.org/psf/codeofconduct/
I set up the account and Zach has access. If you have instructions to point me at, Paul, I can see if I can set it up.
On Tue, 18 Jul 2017 at 09:26 Paul Moore <p.f.moore@gmail.com> wrote:
You need to log on as the Appveyor account in order to manage builds. It's possible to link a Github team with an Appveyor admin role to allow the team to all have the ability to (effectively) log in as the appveyor account. It's a bit fiddly to set up (and use :-() but it does work. If whoever currently owns the cpython appveyor account wants help setting things up, I've done it for pip so I can assist.
Paul
On 18 July 2017 at 17:20, Antoine Pitrou <antoine@python.org> wrote:
Hi,
It seems only some select people have the ability to kill or re-launch AppVeyor builds?
Regards
Antoine.
python-committers mailing list python-committers@python.org https://mail.python.org/mailman/listinfo/python-committers Code of Conduct: https://www.python.org/psf/codeofconduct/
python-committers mailing list python-committers@python.org https://mail.python.org/mailman/listinfo/python-committers Code of Conduct: https://www.python.org/psf/codeofconduct/
I'll get something for you, but it may not be for a couple of days. Paul
On 18 July 2017 at 18:23, Brett Cannon <brett@python.org> wrote:
I set up the account and Zach has access. If you have instructions to point me at, Paul, I can see if I can set it up.
On Tue, 18 Jul 2017 at 09:26 Paul Moore <p.f.moore@gmail.com> wrote:
You need to log on as the Appveyor account in order to manage builds. It's possible to link a Github team with an Appveyor admin role to allow the team to all have the ability to (effectively) log in as the appveyor account. It's a bit fiddly to set up (and use :-() but it does work. If whoever currently owns the cpython appveyor account wants help setting things up, I've done it for pip so I can assist.
Paul
On 18 July 2017 at 17:20, Antoine Pitrou <antoine@python.org> wrote:
Hi,
It seems only some select people have the ability to kill or re-launch AppVeyor builds?
Regards
Antoine.
python-committers mailing list python-committers@python.org https://mail.python.org/mailman/listinfo/python-committers Code of Conduct: https://www.python.org/psf/codeofconduct/
python-committers mailing list python-committers@python.org https://mail.python.org/mailman/listinfo/python-committers Code of Conduct: https://www.python.org/psf/codeofconduct/
On Tue, Jul 18, 2017 at 12:23 PM, Brett Cannon <brett@python.org> wrote:
I set up the account and Zach has access. If you have instructions to point me at, Paul, I can see if I can set it up.
Looks like https://ci.appveyor.com/gitHubTeams while logged in as 'python'.
That looks like the right place to make the changes, anyway; I haven't tried to actually make any :)
-- Zach
That's the one. If you select the github team you want (for PyPA I set up an "Appveyor Admins" team) and choose the Administrator role. That may well be all you need to do - I don't recall if you need to do anything on the github side.
Once you do that, people in the relevant github group, when logging into Appveyor with github will get a message "Specified user belongs to multiple accounts" and the "Account" dropdown will contain their own account and "python". They need to select "python" to get the option to manage (cancel or restart) builds.
One reason we might want to restrict access is that logging in like this gives the user full access to the Appveyor account, including (as far as I can tell) the ability to grant further privileges. It's possible to create additional roles, but I don't see a "Cancel and restart builds" privilege.
I think that's all that's needed - give me a shout if I've missed anything. Paul
On 18 July 2017 at 19:07, Zachary Ware <zachary.ware+pydev@gmail.com> wrote:
On Tue, Jul 18, 2017 at 12:23 PM, Brett Cannon <brett@python.org> wrote:
I set up the account and Zach has access. If you have instructions to point me at, Paul, I can see if I can set it up.
Looks like https://ci.appveyor.com/gitHubTeams while logged in as 'python'.
That looks like the right place to make the changes, anyway; I haven't tried to actually make any :)
-- Zach
python-committers mailing list python-committers@python.org https://mail.python.org/mailman/listinfo/python-committers Code of Conduct: https://www.python.org/psf/codeofconduct/
BTW, the docs for all this are at https://www.appveyor.com/docs/team-setup/#github-integration although I found them a bit hard to follow, personally.
Paul
On 18 July 2017 at 19:15, Paul Moore <p.f.moore@gmail.com> wrote:
That's the one. If you select the github team you want (for PyPA I set up an "Appveyor Admins" team) and choose the Administrator role. That may well be all you need to do - I don't recall if you need to do anything on the github side.
Once you do that, people in the relevant github group, when logging into Appveyor with github will get a message "Specified user belongs to multiple accounts" and the "Account" dropdown will contain their own account and "python". They need to select "python" to get the option to manage (cancel or restart) builds.
One reason we might want to restrict access is that logging in like this gives the user full access to the Appveyor account, including (as far as I can tell) the ability to grant further privileges. It's possible to create additional roles, but I don't see a "Cancel and restart builds" privilege.
I think that's all that's needed - give me a shout if I've missed anything. Paul
On 18 July 2017 at 19:07, Zachary Ware <zachary.ware+pydev@gmail.com> wrote:
On Tue, Jul 18, 2017 at 12:23 PM, Brett Cannon <brett@python.org> wrote:
I set up the account and Zach has access. If you have instructions to point me at, Paul, I can see if I can set it up.
Looks like https://ci.appveyor.com/gitHubTeams while logged in as 'python'.
That looks like the right place to make the changes, anyway; I haven't tried to actually make any :)
-- Zach
python-committers mailing list python-committers@python.org https://mail.python.org/mailman/listinfo/python-committers Code of Conduct: https://www.python.org/psf/codeofconduct/
On Tue, 18 Jul 2017 at 11:08 Zachary Ware <zachary.ware+pydev@gmail.com> wrote:
I set up the account and Zach has access. If you have instructions to
On Tue, Jul 18, 2017 at 12:23 PM, Brett Cannon <brett@python.org> wrote: point
me at, Paul, I can see if I can set it up.
Looks like https://ci.appveyor.com/gitHubTeams while logged in as 'python'.
That looks like the right place to make the changes, anyway; I haven't tried to actually make any :)
I went ahead and clicked buttons. :) I set Python core as users and release managers as admins (on top of Zach and me already being admins).
On 18 July 2017 at 20:59, Brett Cannon <brett@python.org> wrote:
I went ahead and clicked buttons. :) I set Python core as users and release managers as admins (on top of Zach and me already being admins).
Cool - when I log in now I have "python" as an option. I can't restart a build, but that's as expected - as admins, only RMs will be able to restart or cancel builds.
It might be that adding the privilege "Projects -> Run Project Builds" (either to the "Users" role or to a specific new role linked with the core dev GH group) would give the ability to restart/cancel builds. But I haven't tested that.
Paul
On Tue, 18 Jul 2017 at 13:33 Paul Moore <p.f.moore@gmail.com> wrote:
On 18 July 2017 at 20:59, Brett Cannon <brett@python.org> wrote:
I went ahead and clicked buttons. :) I set Python core as users and release managers as admins (on top of Zach and me already being admins).
Cool - when I log in now I have "python" as an option. I can't restart a build, but that's as expected - as admins, only RMs will be able to restart or cancel builds.
It might be that adding the privilege "Projects -> Run Project Builds" (either to the "Users" role or to a specific new role linked with the core dev GH group) would give the ability to restart/cancel builds. But I haven't tested that.
I had to delete the Python core team access, create a new type of role, and then re-add the Python team access (sorry to anyone who logged in already using that access, I think AppVeyor reset things), but I now have a role where we can tweak settings and I added the "run project builds" to the Super User role everyone has access through.
participants (4)
-
Antoine Pitrou
-
Brett Cannon
-
Paul Moore
-
Zachary Ware