Merge autopkgtest-cloud:another-allowed-team into autopkgtest-cloud:master

Proposed by Brian Murray
Status: Merged
Approved by: Tim Andersson
Approved revision: edc206a6ed75fac8ff6783c60a10832385bea41f
Merged at revision: edc206a6ed75fac8ff6783c60a10832385bea41f
Proposed branch: autopkgtest-cloud:another-allowed-team
Merge into: autopkgtest-cloud:master
Diff against target: 12 lines (+1/-1)
1 file modified
charms/focal/autopkgtest-web/webcontrol/request/submit.py (+1/-1)
Reviewer Review Type Date Requested Status
Tim Andersson Approve
Review via email: mp+445898@code.launchpad.net

Description of the change

Add the Canonical Foundations team to the list of teams which are allowed to trigger autopkgtests. This will reduce the amount of busywork for the team as Canonical Foundations team members performing +1 maintenance will no long need to request an Ubuntu Core developer trigger a test for them.

For the record this has already been cowboy'ed into production.

To post a comment you must log in.
Revision history for this message
Tim Andersson (andersson123) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/charms/focal/autopkgtest-web/webcontrol/request/submit.py b/charms/focal/autopkgtest-web/webcontrol/request/submit.py
2index ac2d5c0..ec97969 100644
3--- a/charms/focal/autopkgtest-web/webcontrol/request/submit.py
4+++ b/charms/focal/autopkgtest-web/webcontrol/request/submit.py
5@@ -27,7 +27,7 @@ ENV = re.compile(r"^[a-zA-Z][a-zA-Z0-9_]+=[a-zA-Z0-9.:~/ -=]*$")
6 # URL and optional branch name
7 GIT = re.compile(r"^https?://[a-zA-Z0-9._/~+-]+(#[a-zA-Z0-9._/-]+)?$")
8
9-ALLOWED_TEAMS = ["canonical-kernel-distro-team"]
10+ALLOWED_TEAMS = ["canonical-kernel-distro-team", "canonical-foundations"]
11 # not teams
12 ALLOWED_USERS_PERPACKAGE = {"snapcraft": ["snappy-m-o"]}
13

Subscribers

People subscribed via source and target branches