aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Madill <jmadill@chromium.org>2021-07-20 09:46:27 -0400
committerAngle LUCI CQ <angle-scoped@luci-project-accounts.iam.gserviceaccount.com>2021-07-20 14:10:29 +0000
commitfd0579ac7d5a51267fa7efcfd27d1bd37c5f1258 (patch)
treecbceabc320b9871480b7a4a63d055b2a39dde42b
parent7108f83c8ad1bad4072e4f32da3db6d59cf51400 (diff)
downloadangle-fd0579ac7d5a51267fa7efcfd27d1bd37c5f1258.tar.gz
trigger.py: Add -realm to swarming args.
This should fix recent permissions changes. Bug: chromium:1231092 Change-Id: Ie9b39449c861f3ab774334c4d392d1700c638ea9 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3040565 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@google.com> Commit-Queue: Jamie Madill <jmadill@chromium.org>
-rwxr-xr-xscripts/trigger.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/trigger.py b/scripts/trigger.py
index f089b28cf3..9c91cefdc0 100755
--- a/scripts/trigger.py
+++ b/scripts/trigger.py
@@ -20,6 +20,7 @@ import sys
DEFAULT_TASK_PRIORITY = 30
DEFAULT_POOL = 'chromium.tests.gpu'
DEFAULT_LOG_LEVEL = 'info'
+DEFAULT_REALM = 'chromium:try'
GOLD_SERVICE_ACCOUNT = 'chrome-gpu-gold@chops-service-accounts.iam.gserviceaccount.com'
@@ -107,7 +108,7 @@ def main():
]
# Set priority. Don't abuse this!
- swarming_args += ['-priority', str(args.priority)]
+ swarming_args += ['-priority', str(args.priority), '-realm', DEFAULT_REALM]
# Define a user tag.
try:
@@ -134,7 +135,7 @@ def main():
cmd_args += ['luci-auth', 'context', '--']
for env in args.env:
- swarming_args += ['--env', env]
+ swarming_args += ['-env', env]
cmd_args += swarming_cmd