File tree 5 files changed +49
-10
lines changed
5 files changed +49
-10
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,17 @@ jobs:
10
10
target-tasks-method : l10n_screenshots
11
11
treeherder-symbol : l10-screenshots
12
12
when : [] # Manual trigger only
13
- - name : tab -performance-test
13
+ - name : bitrise -performance-test
14
14
job :
15
15
type : decision-task
16
- target-tasks-method : tab_performance_test
17
- treeherder-symbol : tab-performance-test
16
+ target-tasks-method : bitrise_performance_test
17
+ treeherder-symbol : bitrise-performance
18
+ when :
19
+ - {hour: 22, minute: 0}
20
+ - name : firebase-performance-test
21
+ job :
22
+ type : decision-task
23
+ target-tasks-method : firebase_performance_test
24
+ treeherder-symbol : firebase-performance
18
25
when :
19
26
- {hour: 22, minute: 0}
Original file line number Diff line number Diff line change @@ -1315,7 +1315,7 @@ workflows:
1315
1315
bitrise.io :
1316
1316
stack : osx-xcode-14.3.x-ventura
1317
1317
machine_type_id : g2-m1.8core
1318
- perfherder-test :
1318
+ Bitrise_Performance_Test :
1319
1319
steps :
1320
1320
- cache-pull@2.1 :
1321
1321
is_always_run : true
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ transforms:
13
13
14
14
tasks :
15
15
tests :
16
- bitrise-workflow : perfherder-test
17
- description : Run performance tests and generate data
16
+ bitrise-workflow : Bitrise_Performance_Test
17
+ description : Run Performance Tests on iOS Simulator in Bitrise
18
18
run-on-tasks-for : []
19
19
treeherder :
20
- symbol : perf
20
+ symbol : bitrise-performance
21
21
kind : test
22
- platform : ios/opt
22
+ platform : ios-simulator-iphone14-16.4 /opt
23
23
tier : 1
Original file line number Diff line number Diff line change
1
+ # This Source Code Form is subject to the terms of the Mozilla Public
2
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
+ ---
5
+ loader : taskgraph.loader.transform:loader
6
+
7
+ transforms :
8
+ - ffios_taskgraph.transforms.bitrise:transforms
9
+ - ffios_taskgraph.transforms.secrets:transforms
10
+ - taskgraph.transforms.job:transforms
11
+ - taskgraph.transforms.task:transforms
12
+
13
+
14
+ tasks :
15
+ tests :
16
+ bitrise-workflow : Firebase_Performance_Test
17
+ description : Run Performance Tests on Physical Devices in Firebase
18
+ run-on-tasks-for : []
19
+ treeherder :
20
+ symbol : firebase-performance
21
+ kind : test
22
+ platform : ios-physical-iphone13pro-15.7/opt
23
+ tier : 1
Original file line number Diff line number Diff line change @@ -15,11 +15,20 @@ def filter(task, parameters):
15
15
16
16
return [l for l , t in full_task_graph .tasks .items () if filter (t , parameters )]
17
17
18
- @_target_task ('tab_performance_test ' )
18
+ @_target_task ('bitrise_performance_test ' )
19
19
def target_tasks_default (full_task_graph , parameters , graph_config ):
20
20
"""Target the tasks which have indicated they should be run on this project
21
21
via the `run_on_projects` attributes."""
22
22
def filter (task , parameters ):
23
- return task .kind == "performance"
23
+ return task .kind == "bitrise-performance"
24
+
25
+ return [l for l , t in full_task_graph .tasks .items () if filter (t , parameters )]
26
+
27
+ @_target_task ('firebase_performance_test' )
28
+ def target_tasks_default (full_task_graph , parameters , graph_config ):
29
+ """Target the tasks which have indicated they should be run on this project
30
+ via the `run_on_projects` attributes."""
31
+ def filter (task , parameters ):
32
+ return task .kind == "firebase-performance"
24
33
25
34
return [l for l , t in full_task_graph .tasks .items () if filter (t , parameters )]
You can’t perform that action at this time.
0 commit comments