Bug 1627027 - Use nightly Fenix variant instead of performancetest. (#10648)
parent
a3c6492d5f
commit
fee37e4f12
12
.cron.yml
12
.cron.yml
|
@ -26,18 +26,6 @@ jobs:
|
||||||
treeherder-symbol: fennec-beta
|
treeherder-symbol: fennec-beta
|
||||||
target-tasks-method: fennec-beta
|
target-tasks-method: fennec-beta
|
||||||
when: [] # Force hook only
|
when: [] # Force hook only
|
||||||
- name: raptor
|
|
||||||
job:
|
|
||||||
type: decision-task
|
|
||||||
treeherder-symbol: raptor-D
|
|
||||||
target-tasks-method: raptor
|
|
||||||
when: [{hour: 1, minute: 0}]
|
|
||||||
- name: browsertime
|
|
||||||
job:
|
|
||||||
type: decision-task
|
|
||||||
treeherder-symbol: btime-D
|
|
||||||
target-tasks-method: browsertime
|
|
||||||
when: [{hour: 1, minute: 0}]
|
|
||||||
- name: bump-android-components
|
- name: bump-android-components
|
||||||
job:
|
job:
|
||||||
type: decision-task
|
type: decision-task
|
||||||
|
|
|
@ -13,7 +13,7 @@ kind-dependencies:
|
||||||
primary-dependency: signing
|
primary-dependency: signing
|
||||||
|
|
||||||
only-for-build-types:
|
only-for-build-types:
|
||||||
- performance-test
|
- nightly
|
||||||
|
|
||||||
only-for-abis:
|
only-for-abis:
|
||||||
- armeabi-v7a
|
- armeabi-v7a
|
||||||
|
@ -81,7 +81,7 @@ job-defaults:
|
||||||
- '--app=fenix'
|
- '--app=fenix'
|
||||||
- '--browsertime'
|
- '--browsertime'
|
||||||
- '--cold'
|
- '--cold'
|
||||||
- '--binary=org.mozilla.fenix.performancetest'
|
- '--binary=org.mozilla.fenix.nightly'
|
||||||
- '--activity=org.mozilla.fenix.IntentReceiverActivity'
|
- '--activity=org.mozilla.fenix.IntentReceiverActivity'
|
||||||
- '--download-symbols=ondemand'
|
- '--download-symbols=ondemand'
|
||||||
- '--browsertime-node=$MOZ_FETCHES_DIR/node/bin/node'
|
- '--browsertime-node=$MOZ_FETCHES_DIR/node/bin/node'
|
||||||
|
|
|
@ -11,7 +11,7 @@ kind-dependencies:
|
||||||
- toolchain
|
- toolchain
|
||||||
|
|
||||||
only-for-build-types:
|
only-for-build-types:
|
||||||
- performance-test
|
- nightly
|
||||||
|
|
||||||
only-for-abis:
|
only-for-abis:
|
||||||
- armeabi-v7a
|
- armeabi-v7a
|
||||||
|
@ -76,7 +76,7 @@ job-defaults:
|
||||||
- './test-linux.sh'
|
- './test-linux.sh'
|
||||||
- '--cfg=mozharness/configs/raptor/android_hw_config.py'
|
- '--cfg=mozharness/configs/raptor/android_hw_config.py'
|
||||||
- '--app=fenix'
|
- '--app=fenix'
|
||||||
- '--binary=org.mozilla.fenix.performancetest'
|
- '--binary=org.mozilla.fenix.nightly'
|
||||||
- '--activity=org.mozilla.fenix.IntentReceiverActivity'
|
- '--activity=org.mozilla.fenix.IntentReceiverActivity'
|
||||||
- '--download-symbols=ondemand'
|
- '--download-symbols=ondemand'
|
||||||
fetches:
|
fetches:
|
||||||
|
|
|
@ -33,7 +33,8 @@ def target_tasks_nightly(full_task_graph, parameters, graph_config):
|
||||||
def filter(task, parameters):
|
def filter(task, parameters):
|
||||||
# We don't want to ship nightly while Google Play is still behind manual review.
|
# We don't want to ship nightly while Google Play is still behind manual review.
|
||||||
# See bug 1628413 for more context.
|
# See bug 1628413 for more context.
|
||||||
return task.attributes.get("nightly", False) and task.kind != "push-apk"
|
return task.attributes.get("nightly", False) and task.kind != "push-apk" or \
|
||||||
|
task.kind in ('browsertime', 'visual-metrics', 'raptor')
|
||||||
|
|
||||||
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t, parameters)]
|
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t, parameters)]
|
||||||
|
|
||||||
|
@ -59,22 +60,6 @@ def target_tasks_fennec_nightly(full_task_graph, parameters, graph_config):
|
||||||
return [l for l, t in full_task_graph.tasks.iteritems() if _filter_fennec("beta", t, parameters)]
|
return [l for l, t in full_task_graph.tasks.iteritems() if _filter_fennec("beta", t, parameters)]
|
||||||
|
|
||||||
|
|
||||||
@_target_task('raptor')
|
|
||||||
def target_tasks_raptor(full_task_graph, parameters, graph_config):
|
|
||||||
def filter(task, parameters):
|
|
||||||
return task.kind == 'raptor'
|
|
||||||
|
|
||||||
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t, parameters)]
|
|
||||||
|
|
||||||
|
|
||||||
@_target_task('browsertime')
|
|
||||||
def target_tasks_raptor(full_task_graph, parameters, graph_config):
|
|
||||||
def filter(task, parameters):
|
|
||||||
return task.kind in ('browsertime', 'visual-metrics')
|
|
||||||
|
|
||||||
return [l for l, t in full_task_graph.tasks.iteritems() if filter(t, parameters)]
|
|
||||||
|
|
||||||
|
|
||||||
@_target_task("bump_android_components")
|
@_target_task("bump_android_components")
|
||||||
def target_tasks_bump_android_components(full_task_graph, parameters, graph_config):
|
def target_tasks_bump_android_components(full_task_graph, parameters, graph_config):
|
||||||
"""Select the set of tasks required to update android components."""
|
"""Select the set of tasks required to update android components."""
|
||||||
|
|
Loading…
Reference in New Issue