Bug 1538610 [wpt PR 16021] - Put TaskCluster environment variables into the yml file, a=testonly
authorJames Graham <james@hoppipolla.co.uk>
Thu, 18 Apr 2019 10:14:02 +0000
changeset 470816 bb5073a44273b16a79184d615917d23d0a6b7a5b
parent 470815 e85676994b08ea3e19575906e9f04cbdd8b495aa
child 470817 44dd3cf183df2b137c0a3bd87d7ece83778aa89a
push id35911
push usercbrindusan@mozilla.com
push dateWed, 24 Apr 2019 21:55:25 +0000
treeherdermozilla-central@c7a9affeb604 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1538610, 16021
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1538610 [wpt PR 16021] - Put TaskCluster environment variables into the yml file, a=testonly Automatic update from web-platform-tests Log when we can't load TASK_EVENT -- wpt-commits: a007c4be0a1daeb48dcd6d6ded3a39dc9015244d wpt-pr: 16021
testing/web-platform/tests/tools/ci/run_tc.py
--- a/testing/web-platform/tests/tools/ci/run_tc.py
+++ b/testing/web-platform/tests/tools/ci/run_tc.py
@@ -215,16 +215,17 @@ def setup_environment(args):
         checkout_revision(args.checkout)
 
 
 def main():
     args = get_parser().parse_args()
     try:
         event = json.loads(os.environ["TASK_EVENT"])
     except KeyError:
+        print("WARNING: Missing TASK_EVENT environment variable")
         # For example under local testing
         event = {}
 
     if event:
         set_variables(event)
 
     if os.environ.get("GITHUB_BRANCH"):
         # Ensure that the remote base branch exists