зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1149432 - Add initial indexing to builds r=pmoore
--HG-- extra : rebase_source : 75886a7266a3041bea4e067379a0aa52a4f349e3
This commit is contained in:
Родитель
7d01e012f1
Коммит
50318d70ed
|
@ -221,6 +221,10 @@ class Graph(object):
|
|||
@CommandArgument('--project',
|
||||
required=True,
|
||||
help='Project to use for creating task graph. Example: --project=try')
|
||||
@CommandArgument('--pushlog-id',
|
||||
dest='pushlog_id',
|
||||
required=False,
|
||||
default=0)
|
||||
@CommandArgument('--owner',
|
||||
required=True,
|
||||
help='email address of who owns this graph')
|
||||
|
@ -247,6 +251,8 @@ class Graph(object):
|
|||
job_graph = parse_commit(message, jobs)
|
||||
# Template parameters used when expanding the graph
|
||||
parameters = dict(gaia_info().items() + {
|
||||
'project': project,
|
||||
'pushlog_id': params.get('pushlog_id', 0),
|
||||
'docker_image': docker_image,
|
||||
'base_repository': params['base_repository'] or \
|
||||
params['head_repository'],
|
||||
|
|
|
@ -17,6 +17,9 @@ task:
|
|||
provisionerId: aws-provisioner
|
||||
schedulerId: task-graph-scheduler
|
||||
|
||||
routes:
|
||||
- 'index.gecko.v1.{{project}}.revision.{{head_rev}}.{{build_name}}.{{build_type}}'
|
||||
- 'index.gecko.v1.{{project}}.latest.{{build_name}}.{{build_type}}'
|
||||
scopes:
|
||||
# Nearly all of our build tasks use tc-vcs so just include the scope across
|
||||
# the board.
|
||||
|
@ -54,6 +57,8 @@ task:
|
|||
MOZHARNESS_REF: '{{mozharness_ref}}'
|
||||
|
||||
extra:
|
||||
index:
|
||||
rank: {{pushlog_id}}
|
||||
treeherder:
|
||||
groupSymbol: tc
|
||||
groupName: Submitted by taskcluster
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_desktop_base.yml'
|
||||
variables:
|
||||
build_name: 'b2g-desktop'
|
||||
build_type: 'debug'
|
||||
|
||||
task:
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_desktop_base.yml'
|
||||
variables:
|
||||
build_name: 'b2g-desktop'
|
||||
build_type: 'opt'
|
||||
|
||||
task:
|
||||
scopes:
|
||||
- 'docker-worker:cache:workspace-b2g-desktop-objects-opt'
|
||||
|
|
|
@ -15,4 +15,3 @@ task:
|
|||
extra:
|
||||
locations:
|
||||
img: 'private/build/dolphin.zip'
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_emulator_base.yml'
|
||||
variables:
|
||||
build_name: 'emulator-ics'
|
||||
build_type: 'debug'
|
||||
task:
|
||||
workerType: emulator-ics-debug
|
||||
scopes:
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_emulator_base.yml'
|
||||
variables:
|
||||
build_type: 'opt'
|
||||
build_name: 'emulator-ics'
|
||||
task:
|
||||
workerType: emulator-ics
|
||||
scopes:
|
||||
|
@ -18,4 +21,3 @@ task:
|
|||
|
||||
env:
|
||||
TARGET: 'emulator'
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_emulator_base.yml'
|
||||
variables:
|
||||
build_name: 'emualtor-jb'
|
||||
build_type: 'debug'
|
||||
task:
|
||||
workerType: emulator-jb-debug
|
||||
scopes:
|
||||
|
@ -22,4 +25,3 @@ task:
|
|||
env:
|
||||
TARGET: 'emulator-jb'
|
||||
B2G_DEBUG: 1
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_emulator_base.yml'
|
||||
variables:
|
||||
build_name: 'emualtor-jb'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
workerType: emulator-jb
|
||||
scopes:
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_emulator_base.yml'
|
||||
variables:
|
||||
build_name: 'emualtor-kk'
|
||||
build_type: 'debug'
|
||||
task:
|
||||
workerType: emulator-kk-debug
|
||||
scopes:
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_emulator_base.yml'
|
||||
variables:
|
||||
build_name: 'emualtor-kk'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
workerType: emulator-kk
|
||||
scopes:
|
||||
|
@ -22,4 +25,3 @@ task:
|
|||
workspace-emulator-kk-opt: /home/worker/workspace
|
||||
env:
|
||||
TARGET: 'emulator-kk'
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_emulator_base.yml'
|
||||
variables:
|
||||
build_name: 'emualtor-l'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
workerType: emulator-l-debug
|
||||
scopes:
|
||||
|
@ -25,4 +28,3 @@ task:
|
|||
env:
|
||||
TARGET: 'emulator-l'
|
||||
B2G_DEBUG: 1
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_emulator_base.yml'
|
||||
variables:
|
||||
build_name: 'emualtor-l'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
workerType: emulator-l
|
||||
scopes:
|
||||
|
@ -22,5 +25,3 @@ task:
|
|||
workspace-emulator-l-opt: /home/worker/workspace
|
||||
env:
|
||||
TARGET: 'emulator-l'
|
||||
|
||||
|
||||
|
|
|
@ -31,4 +31,3 @@ task:
|
|||
tests: 'public/build/b2g-tests.zip'
|
||||
symbols: 'public/build/b2g-crashreporter-symbols.zip'
|
||||
sources: 'public/build/sources.xml'
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_emulator_x86_base.yml'
|
||||
variables:
|
||||
build_name: 'emualtor-x86-kk'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
workerType: emualtor-x86-kk
|
||||
scopes:
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_emulator_base.yml'
|
||||
variables:
|
||||
build_name: 'emualtor-x86-l'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
workerType: emulator-l
|
||||
scopes:
|
||||
|
@ -29,6 +32,3 @@ task:
|
|||
workspace-emulator-l-x86-opt: /home/worker/workspace
|
||||
env:
|
||||
TARGET: 'emulator-x86-l'
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_phone_base.yml'
|
||||
variables:
|
||||
build_name: 'flame-kk-eng'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
workerType: flame-kk
|
||||
scopes:
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_phone_base.yml'
|
||||
variables:
|
||||
build_name: 'flame-kk-nightly'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
workerType: flame-kk
|
||||
scopes:
|
||||
|
@ -29,4 +32,3 @@ task:
|
|||
locations:
|
||||
img: 'private/build/flame-kk.zip'
|
||||
mar: 'public/build/b2g-flame-gecko-update.mar'
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_phone_base.yml'
|
||||
variables:
|
||||
build_name: 'flame-kk'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
workerType: flame-kk
|
||||
scopes:
|
||||
|
@ -27,4 +30,3 @@ task:
|
|||
platform: b2g-device-image
|
||||
locations:
|
||||
img: 'private/build/flame-kk.zip'
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_phone_base.yml'
|
||||
variables:
|
||||
build_name: 'hamachi-eng'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
scopes:
|
||||
- 'docker-worker:cache:build-hamachi-eng'
|
||||
|
@ -15,4 +18,3 @@ task:
|
|||
extra:
|
||||
locations:
|
||||
img: 'private/build/hamachi.zip'
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_phone_base.yml'
|
||||
variables:
|
||||
build_name: 'hamachi'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
scopes:
|
||||
- 'docker-worker:cache:build-hamachi-user'
|
||||
|
@ -14,4 +17,3 @@ task:
|
|||
extra:
|
||||
locations:
|
||||
img: 'private/build/hamachi.zip'
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_phone_base.yml'
|
||||
variables:
|
||||
build_name: 'helix'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
scopes:
|
||||
- 'docker-worker:cache:build-helix-user'
|
||||
|
@ -14,4 +17,3 @@ task:
|
|||
extra:
|
||||
locations:
|
||||
img: 'private/build/helix.zip'
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_phone_base.yml'
|
||||
variables:
|
||||
build_name: 'nexus-4-eng'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
scopes:
|
||||
- 'docker-worker:cache:build-nexus-4-eng'
|
||||
|
@ -14,4 +17,3 @@ task:
|
|||
extra:
|
||||
locations:
|
||||
img: 'private/build/nexus-4.zip'
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/builds/b2g_phone_base.yml'
|
||||
variables:
|
||||
build_name: 'nexus-4-user'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
scopes:
|
||||
- 'docker-worker:cache:build-nexus-4-user'
|
||||
|
@ -21,4 +24,3 @@ task:
|
|||
platform: b2g-device-image
|
||||
locations:
|
||||
img: 'private/build/nexus-4.zip'
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$inherits:
|
||||
from: 'tasks/build.yml'
|
||||
variables:
|
||||
build_name: 'mulet'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
metadata:
|
||||
name: '[TC] Mulet Linux'
|
||||
|
|
|
@ -67,6 +67,7 @@ tasks:
|
|||
- >
|
||||
source ./bin/decision.sh &&
|
||||
./mach taskcluster-graph
|
||||
--pushlog-id='{{pushlog_id}}'
|
||||
--message='{{comment}}'
|
||||
--project='{{project}}'
|
||||
--owner='{{owner}}'
|
||||
|
@ -78,4 +79,3 @@ tasks:
|
|||
extra:
|
||||
treeherder:
|
||||
symbol: D
|
||||
|
||||
|
|
|
@ -73,6 +73,7 @@ tasks:
|
|||
checkout-gecko workspace &&
|
||||
cd workspace/gecko &&
|
||||
./mach taskcluster-graph
|
||||
--pushlog-id='{{pushlog_id}}'
|
||||
--project='{{project}}'
|
||||
--message='{{comment}}'
|
||||
--owner='{{owner}}'
|
||||
|
@ -84,4 +85,3 @@ tasks:
|
|||
extra:
|
||||
treeherder:
|
||||
symbol: D
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче