Commit f369e80f authored by Tom Prince's avatar Tom Prince Committed by Tom Prince
Browse files

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](https://hg.mozilla.org/ci/taskgraph/rev/932b4cf48cc785c31b03f0b9f2cba654bc67bc00)
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.
parent 7b170c44
......@@ -8,7 +8,7 @@ tasks:
- $let:
taskgraph:
branch: taskgraph
revision: 7a51e874018f13aa236f5dc64ae7bbcaf942fcf3
revision: 932b4cf48cc785c31b03f0b9f2cba654bc67bc00
trustDomain: mobile
in:
$let:
......
---
loader: taskgraph.loader.transform:loader
transforms:
- taskgraph.transforms.index_search:transforms
- taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms
job-defaults:
worker-type: always-optimized
run:
using: index-search
jobs:
nightly:
description: "upstream nightly job"
index-search:
- gecko.v2.mozilla-central.nightly.latest.mobile.android-x86_64-opt
run:
index-search:
- gecko.v2.mozilla-central.nightly.latest.mobile.android-x86_64-opt
......@@ -79,8 +79,8 @@ job-defaults:
- '--activity=org.mozilla.fenix.browser.BrowserPerformanceTestActivity'
- '--download-symbols=ondemand'
fetches:
linux64-minidump-stackwalk:
- artifact: minidump_stackwalk.tar.xz
toolchain:
- linux64-minidump-stackwalk
jobs:
tp6m-1-cold:
......
---
loader: taskgraph.loader.transform:loader
transforms:
- taskgraph.transforms.index_search:transforms
- taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms
job-defaults:
worker-type: always-optimized
run:
using: index-search
jobs:
linux64-minidump-stackwalk:
description: "minidump_stackwalk toolchain"
index-search:
- gecko.cache.level-3.toolchains.v3.linux64-minidump-stackwalk.latest
attributes:
toolchain-artifact: public/build/minidump_stackwalk.tar.gz
run:
index-search:
- gecko.cache.level-3.toolchains.v3.linux64-minidump-stackwalk.latest
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment