2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00

[fenix] Bug 1619795: Use toolchain-style fetches (and toolchain-artifact attribute).

The mozilla-central ffmpeg toolchain (used in Bug 1613479/https://github.com/mozilla-mobile/fenix/pull/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.
This commit is contained in:
Tom Prince 2020-03-04 08:41:06 -08:00 committed by Tom Prince
parent 2088e60c28
commit 5aafb319d1
4 changed files with 23 additions and 9 deletions

View File

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

View File

@ -1,11 +1,17 @@
---
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

View File

@ -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:

View File

@ -1,11 +1,19 @@
---
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