← Back to team overview

canonical-ubuntu-qa team mailing list archive

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

 

Brian Murray has proposed merging autopkgtest-cloud:another-allowed-team into autopkgtest-cloud:master.

Requested reviews:
  Canonical's Ubuntu QA (canonical-ubuntu-qa)

For more details, see:
https://code.launchpad.net/~ubuntu-release/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/445898

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.
-- 
Your team Canonical's Ubuntu QA is requested to review the proposed merge of autopkgtest-cloud:another-allowed-team into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-web/webcontrol/request/submit.py b/charms/focal/autopkgtest-web/webcontrol/request/submit.py
index ac2d5c0..ec97969 100644
--- a/charms/focal/autopkgtest-web/webcontrol/request/submit.py
+++ b/charms/focal/autopkgtest-web/webcontrol/request/submit.py
@@ -27,7 +27,7 @@ ENV = re.compile(r"^[a-zA-Z][a-zA-Z0-9_]+=[a-zA-Z0-9.:~/ -=]*$")
 # URL and optional branch name
 GIT = re.compile(r"^https?://[a-zA-Z0-9._/~+-]+(#[a-zA-Z0-9._/-]+)?$")
 
-ALLOWED_TEAMS = ["canonical-kernel-distro-team"]
+ALLOWED_TEAMS = ["canonical-kernel-distro-team", "canonical-foundations"]
 # not teams
 ALLOWED_USERS_PERPACKAGE = {"snapcraft": ["snappy-m-o"]}