skia2/infra/bots/tasks.json
borenet db182c770f [task scheduler] Add gen_tasks.go
This mimics the flow of infra/bots/recipes/swarm_trigger.py
but it builds the tasks.json file instead of triggering the
actual tasks.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2386663002

Review-Url: https://codereview.chromium.org/2386663002
2016-09-30 12:53:12 -07:00

174 lines
4.4 KiB
JSON

{
"jobs": {
"Build-Ubuntu-GCC-x86_64-Release-GN": {
"priority": 0.8,
"tasks": [
"Build-Ubuntu-GCC-x86_64-Release-GN"
]
},
"Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN": {
"priority": 0.8,
"tasks": [
"Upload-Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN"
]
},
"Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN": {
"priority": 0.8,
"tasks": [
"Upload-Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN"
]
}
},
"tasks": {
"Build-Ubuntu-GCC-x86_64-Release-GN": {
"dimensions": [
"gpu:none",
"os:Ubuntu",
"pool:Skia"
],
"extra_args": [
"--workdir",
"../../..",
"swarm_compile",
"buildername=Build-Ubuntu-GCC-x86_64-Release-GN",
"mastername=fake-master",
"buildnumber=2",
"slavename=fake-buildslave",
"swarm_out_dir=${ISOLATED_OUTDIR}",
"revision=<(REVISION)"
],
"isolate": "compile_skia.isolate",
"priority": 0.8
},
"Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN": {
"cipd_packages": [
{
"name": "skia/bots/skimage",
"path": "skimage",
"version": "version:8"
},
{
"name": "skia/bots/skp",
"path": "skp",
"version": "version:10"
},
{
"name": "skia/bots/svg",
"path": "svg",
"version": "version:3"
}
],
"dependencies": [
"Build-Ubuntu-GCC-x86_64-Release-GN"
],
"dimensions": [
"cpu:x86-64-avx2",
"gpu:none",
"os:Ubuntu",
"pool:Skia"
],
"extra_args": [
"--workdir",
"../../..",
"swarm_perf",
"buildername=Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN",
"mastername=fake-master",
"buildnumber=2",
"slavename=fake-buildslave",
"swarm_out_dir=${ISOLATED_OUTDIR}",
"revision=<(REVISION)"
],
"isolate": "perf_skia.isolate",
"priority": 0.8
},
"Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN": {
"cipd_packages": [
{
"name": "skia/bots/skimage",
"path": "skimage",
"version": "version:8"
},
{
"name": "skia/bots/skp",
"path": "skp",
"version": "version:10"
},
{
"name": "skia/bots/svg",
"path": "svg",
"version": "version:3"
}
],
"dependencies": [
"Build-Ubuntu-GCC-x86_64-Release-GN"
],
"dimensions": [
"cpu:x86-64-avx2",
"gpu:none",
"os:Ubuntu",
"pool:Skia"
],
"extra_args": [
"--workdir",
"../../..",
"swarm_test",
"buildername=Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN",
"mastername=fake-master",
"buildnumber=2",
"slavename=fake-buildslave",
"swarm_out_dir=${ISOLATED_OUTDIR}",
"revision=<(REVISION)"
],
"isolate": "test_skia.isolate",
"priority": 0.8
},
"Upload-Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN": {
"dependencies": [
"Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN"
],
"dimensions": [
"cpu:x86-64-avx2",
"gpu:none",
"os:Ubuntu",
"pool:Skia"
],
"extra_args": [
"--workdir",
"../../..",
"upload_nano_results",
"buildername=Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN",
"mastername=fake-master",
"buildnumber=2",
"slavename=fake-buildslave",
"swarm_out_dir=${ISOLATED_OUTDIR}",
"revision=<(REVISION)"
],
"isolate": "upload_nano_results.isolate",
"priority": 0.8
},
"Upload-Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN": {
"dependencies": [
"Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN"
],
"dimensions": [
"cpu:x86-64-avx2",
"gpu:none",
"os:Ubuntu",
"pool:Skia"
],
"extra_args": [
"--workdir",
"../../..",
"upload_dm_results",
"buildername=Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-GN",
"mastername=fake-master",
"buildnumber=2",
"slavename=fake-buildslave",
"swarm_out_dir=${ISOLATED_OUTDIR}",
"revision=<(REVISION)"
],
"isolate": "upload_dm_results.isolate",
"priority": 0.8
}
}
}