Skip to content

Commit

Permalink
Bug 1338871 - Enable Talos tests for linux64-stylo builds r=jmaher DO…
Browse files Browse the repository at this point in the history
…NTBUILD
  • Loading branch information
kmoir committed Mar 23, 2017
1 parent e8d8184 commit eb87e6b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 38 deletions.
11 changes: 0 additions & 11 deletions .cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,3 @@ jobs:
- mozilla-central
when:
- {hour: 18, minute: 0}

- name: nightly-stylo-talos
job:
type: decision-task
treeherder-symbol: T
target-tasks-method: stylo_talos
run-on-projects:
- mozilla-central
when:
- {hour: 4, minute: 0}

18 changes: 9 additions & 9 deletions taskcluster/ci/test/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ talos-chrome:
treeherder-symbol: tc-T(c)
run-on-projects:
by-test-platform:
linux64-stylo/.*: []
linux64-stylo/.*: ['mozilla-central', 'try']
default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
max-run-time: 3600
mozharness:
Expand All @@ -1179,7 +1179,7 @@ talos-dromaeojs:
treeherder-symbol: tc-T(d)
run-on-projects:
by-test-platform:
linux64-stylo/.*: []
linux64-stylo/.*: ['mozilla-central', 'try']
default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
max-run-time: 3600
mozharness:
Expand All @@ -1200,7 +1200,7 @@ talos-g1:
treeherder-symbol: tc-T(g1)
run-on-projects:
by-test-platform:
linux64-stylo/.*: []
linux64-stylo/.*: ['mozilla-central', 'try']
default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
max-run-time: 3600
mozharness:
Expand All @@ -1222,7 +1222,7 @@ talos-g2:
max-run-time: 3600
run-on-projects:
by-test-platform:
linux64-stylo/.*: []
linux64-stylo/.*: ['mozilla-central', 'try']
default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
mozharness:
script: talos_script.py
Expand All @@ -1242,7 +1242,7 @@ talos-g3:
treeherder-symbol: tc-T(g3)
run-on-projects:
by-test-platform:
linux64-stylo/.*: []
linux64-stylo/.*: ['mozilla-central', 'try']
default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
max-run-time: 3600
mozharness:
Expand All @@ -1263,7 +1263,7 @@ talos-g4:
treeherder-symbol: tc-T(g4)
run-on-projects:
by-test-platform:
linux64-stylo/.*: []
linux64-stylo/.*: ['mozilla-central', 'try']
default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
max-run-time: 3600
mozharness:
Expand All @@ -1284,7 +1284,7 @@ talos-other:
treeherder-symbol: tc-T(o)
run-on-projects:
by-test-platform:
linux64-stylo/.*: []
linux64-stylo/.*: ['mozilla-central', 'try']
default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
max-run-time: 3600
mozharness:
Expand All @@ -1305,7 +1305,7 @@ talos-svgr:
treeherder-symbol: tc-T(s)
run-on-projects:
by-test-platform:
linux64-stylo/.*: []
linux64-stylo/.*: ['mozilla-central', 'try']
default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
max-run-time: 3600
mozharness:
Expand All @@ -1326,7 +1326,7 @@ talos-tp5o:
treeherder-symbol: tc-T(tp)
run-on-projects:
by-test-platform:
linux64-stylo/.*: []
linux64-stylo/.*: ['mozilla-central', 'try']
default: ['mozilla-beta', 'mozilla-aurora', 'mozilla-central', 'mozilla-inbound', 'autoland', 'try']
max-run-time: 3600
mozharness:
Expand Down
18 changes: 0 additions & 18 deletions taskcluster/taskgraph/target_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,21 +279,3 @@ def filter(task):
return False
return True
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]


@_target_task('stylo_talos')
def target_stylo_talos(full_task_graph, parameters):
"""Target stylotasks that only run on the m-c branch."""
def filter(task):
platform = task.attributes.get('build_platform')
# only stylo platforms
if platform != ('linux64-stylo'):
return False
# no non-e10s tests
if task.attributes.get('unittest_suite'):
if not task.attributes.get('e10s'):
return False
# only run talos
if task.attributes.get('unittest_suite') == 'talos':
return True
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]

0 comments on commit eb87e6b

Please sign in to comment.