1
0
Fork 0

Bug 1619795: Use toolchain-style fetches (and `toolchain-artifact` attribute).

The mozilla-central ffmpeg toolchain (used in Bug 1613479/#8780) has an
artifact that does not start with `public/build/` (it starts with just
`public/`). To easily support that, we want to set the `toolchain-artfiact`
attribute for that task.

We switched `index_search` to be a job-type in
[taskgraph](932b4cf48c)
which pass through `attributes` from the task definition (and is also more
future proof for adding fenix-specific toolchain tasks). This updates taskgraph
and the consumers of the current toolchain.
master
Tom Prince 2020-03-04 08:41:06 -08:00 committed by Tom Prince
parent 7b170c4428
commit f369e80fd7
4 changed files with 23 additions and 9 deletions

View File

@ -8,7 +8,7 @@ tasks:
- $let: - $let:
taskgraph: taskgraph:
branch: taskgraph branch: taskgraph
revision: 7a51e874018f13aa236f5dc64ae7bbcaf942fcf3 revision: 932b4cf48cc785c31b03f0b9f2cba654bc67bc00
trustDomain: mobile trustDomain: mobile
in: in:
$let: $let:

View File

@ -1,11 +1,17 @@
--- ---
loader: taskgraph.loader.transform:loader loader: taskgraph.loader.transform:loader
transforms: transforms:
- taskgraph.transforms.index_search:transforms - taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms - taskgraph.transforms.task:transforms
job-defaults:
worker-type: always-optimized
run:
using: index-search
jobs: jobs:
nightly: nightly:
description: "upstream nightly job" description: "upstream nightly job"
index-search: run:
- gecko.v2.mozilla-central.nightly.latest.mobile.android-x86_64-opt index-search:
- gecko.v2.mozilla-central.nightly.latest.mobile.android-x86_64-opt

View File

@ -79,8 +79,8 @@ job-defaults:
- '--activity=org.mozilla.fenix.browser.BrowserPerformanceTestActivity' - '--activity=org.mozilla.fenix.browser.BrowserPerformanceTestActivity'
- '--download-symbols=ondemand' - '--download-symbols=ondemand'
fetches: fetches:
linux64-minidump-stackwalk: toolchain:
- artifact: minidump_stackwalk.tar.xz - linux64-minidump-stackwalk
jobs: jobs:
tp6m-1-cold: tp6m-1-cold:

View File

@ -1,11 +1,19 @@
--- ---
loader: taskgraph.loader.transform:loader loader: taskgraph.loader.transform:loader
transforms: transforms:
- taskgraph.transforms.index_search:transforms - taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms - taskgraph.transforms.task:transforms
job-defaults:
worker-type: always-optimized
run:
using: index-search
jobs: jobs:
linux64-minidump-stackwalk: linux64-minidump-stackwalk:
description: "minidump_stackwalk toolchain" description: "minidump_stackwalk toolchain"
index-search: attributes:
- gecko.cache.level-3.toolchains.v3.linux64-minidump-stackwalk.latest toolchain-artifact: public/build/minidump_stackwalk.tar.gz
run:
index-search:
- gecko.cache.level-3.toolchains.v3.linux64-minidump-stackwalk.latest