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 470946 dd8116d56ae61cb158ae2fd6196d4713ae0d7c1d
parent 470945 e9590b1fe2a9bf6ebbf21a902bf147742c88f3bc
child 470947 55250b0aee56da3d29118455f2a6a1d78b507d98
push id112883
push userjames@hoppipolla.co.uk
push dateWed, 24 Apr 2019 10:45:08 +0000
treeherdermozilla-inbound@a9e8bb1d8a16 [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