Bug 1763188 - Add Snap upstream builds on mc/autoland for MozRegression r=jcristau,taskgraph-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D246187
This commit is contained in:
Alexandre Lissy
2025-04-23 14:20:45 +00:00
parent 508a763b85
commit 7b9d9beda1
4 changed files with 52 additions and 98 deletions

View File

@@ -138,7 +138,7 @@ So pushing to try is basically just:
.. code-block:: shell
$ mach try fuzzy --full -q "'snap 'upstream 'try"
$ mach try fuzzy --full -q "'snap 'upstream 'local"
Because of the build process, a full opt build will take around 1h45-2h while a
debug build will be around 60 minutes, the difference coming from the use of

View File

@@ -143,15 +143,15 @@ treeherder:
'ms-stage': 'Autograph-stage MAR signing test'
'Rel': 'Release promotion'
'Snap': 'Snap image generation'
'B-local': 'Snap builds local gecko checkout'
'B-nightly': 'Snap builds Nightly'
'B-try': 'Snap builds Try'
'B-beta': 'Snap builds Beta'
'B-beta24': 'Snap builds Beta Core24'
'B-stable': 'Snap builds Stable'
'B-stable24': 'Snap builds Stable Core24'
'B-esr': 'Snap builds ESR'
'Sel-nightly': 'Snap selenium Nightly'
'Sel-try': 'Snap selenium Try'
'Sel-local': 'Snap selenium local gecko checkout'
'Sel-beta': 'Snap selenium Beta'
'Sel-beta24': 'Snap selenium Beta Core24'
'Sel-stable': 'Snap selenium Stable'

View File

@@ -1643,7 +1643,7 @@ def target_tasks_snap_upstream_tasks(full_task_graph, parameters, graph_config):
support for running tests (bug 1855463)
"""
for name, task in full_task_graph.tasks.items():
if "snap-upstream" in name and not "-try" in name:
if "snap-upstream" in name and not "-local" in name:
yield name

View File

@@ -43,10 +43,6 @@ tasks:
attributes:
build_platform: linux64-snap
build_type: opt
index:
product: firefox
job-name: amd64-nightly
type: generic
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 9000
@@ -63,10 +59,6 @@ tasks:
attributes:
build_platform: linux64-snap
build_type: debug
index:
product: firefox
job-name: amd64-nightly-debug
type: generic
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 7200
@@ -83,10 +75,6 @@ tasks:
attributes:
build_platform: linux-armhf-snap
build_type: opt
index:
product: firefox
job-name: armhf-nightly
type: generic
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 9000
@@ -103,10 +91,6 @@ tasks:
attributes:
build_platform: linux-armhf-snap
build_type: debug
index:
product: firefox
job-name: armhf-nightly-debug
type: generic
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 7200
@@ -123,10 +107,6 @@ tasks:
attributes:
build_platform: linux-arm64-snap
build_type: opt
index:
product: firefox
job-name: arm64-nightly
type: generic
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 9000
@@ -143,10 +123,6 @@ tasks:
attributes:
build_platform: linux-arm64-snap
build_type: debug
index:
product: firefox
job-name: arm64-nightly-debug
type: generic
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 7200
@@ -163,10 +139,6 @@ tasks:
attributes:
build_platform: linux64-snap
build_type: opt
index:
product: firefox
job-name: amd64-beta
type: generic
worker:
docker-image: {in-tree: snap-build-core22}
max-run-time: 9000
@@ -183,10 +155,6 @@ tasks:
attributes:
build_platform: linux64-snap
build_type: debug
index:
product: firefox
job-name: amd64-beta-debug
type: generic
worker:
docker-image: {in-tree: snap-build-core22}
max-run-time: 7200
@@ -203,10 +171,6 @@ tasks:
attributes:
build_platform: linux64-snap
build_type: opt
index:
product: firefox
job-name: amd64-betacore24
type: generic
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 9000
@@ -223,10 +187,6 @@ tasks:
attributes:
build_platform: linux64-snap
build_type: debug
index:
product: firefox
job-name: amd64-betacore24-debug
type: generic
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 7200
@@ -243,10 +203,6 @@ tasks:
attributes:
build_platform: linux64-snap
build_type: opt
index:
product: firefox
job-name: amd64-stable
type: generic
worker:
docker-image: {in-tree: snap-build-core22}
max-run-time: 9000
@@ -263,10 +219,6 @@ tasks:
attributes:
build_platform: linux64-snap
build_type: debug
index:
product: firefox
job-name: amd64-stable-debug
type: generic
worker:
docker-image: {in-tree: snap-build-core22}
max-run-time: 7200
@@ -283,10 +235,6 @@ tasks:
attributes:
build_platform: linux64-snap
build_type: opt
index:
product: firefox
job-name: amd64-stablecore24
type: generic
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 9000
@@ -303,10 +251,6 @@ tasks:
attributes:
build_platform: linux64-snap
build_type: debug
index:
product: firefox
job-name: amd64-stablecore24-debug
type: generic
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 7200
@@ -323,10 +267,6 @@ tasks:
attributes:
build_platform: linux64-snap
build_type: opt
index:
product: firefox
job-name: amd64-esr128
type: generic
worker:
docker-image: {in-tree: snap-build-core22}
max-run-time: 9000
@@ -343,10 +283,6 @@ tasks:
attributes:
build_platform: linux64-snap
build_type: debug
index:
product: firefox
job-name: amd64-esr128-debug
type: generic
worker:
docker-image: {in-tree: snap-build-core22}
max-run-time: 7200
@@ -358,15 +294,18 @@ tasks:
platform: linux64-snap/debug
symbol: B-esr(amd64)
amd64-try/opt:
description: Build Firefox Nightly as a Snap using upstream definition and try repo
amd64-local/opt:
description: Build Firefox Nightly as a Snap using upstream definition and local gecko checkout
attributes:
build_platform: linux64-snap
build_type: opt
cron: false
run-on-projects:
- mozilla-central
- autoland
index:
product: firefox
job-name: amd64-try
type: generic
job-name: snap-amd64-opt
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 9000
@@ -376,17 +315,20 @@ tasks:
./run.sh try amd64
treeherder:
platform: linux64-snap/opt
symbol: B-try(amd64)
symbol: B-local(amd64)
amd64-try/debug:
description: Build Firefox Nightly (debug) as a Snap using upstream definition and try repo
amd64-local/debug:
description: Build Firefox Nightly (debug) as a Snap using upstream definition and local gecko checkout
attributes:
build_platform: linux64-snap
build_type: debug
cron: false
run-on-projects:
- mozilla-central
- autoland
index:
product: firefox
job-name: amd64-try-debug
type: generic
job-name: snap-amd64-debug
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 7200
@@ -396,17 +338,20 @@ tasks:
./run.sh try amd64 --debug
treeherder:
platform: linux64-snap/debug
symbol: B-try(amd64)
symbol: B-local(amd64)
armhf-try/opt:
description: Build Firefox Nightly as a Snap using upstream definition and try repo
armhf-local/opt:
description: Build Firefox Nightly as a Snap using upstream definition and local gecko checkout
attributes:
build_platform: linux-armhf-snap
build_type: opt
cron: false
run-on-projects:
- mozilla-central
- autoland
index:
product: firefox
job-name: armhf-try
type: generic
job-name: snap-armhf-opt
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 9000
@@ -416,17 +361,20 @@ tasks:
./run.sh try armhf
treeherder:
platform: linux64-snap/opt
symbol: B-try(armhf)
symbol: B-local(armhf)
armhf-try/debug:
description: Build Firefox Nightly (debug) as a Snap using upstream definition and try repo
armhf-local/debug:
description: Build Firefox Nightly (debug) as a Snap using upstream definition and local gecko checkout
attributes:
build_platform: linux-armhf-snap
build_type: debug
cron: false
run-on-projects:
- mozilla-central
- autoland
index:
product: firefox
job-name: armhf-try-debug
type: generic
job-name: snap-armhf-debug
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 7200
@@ -436,17 +384,20 @@ tasks:
./run.sh try armhf --debug
treeherder:
platform: linux64-snap/debug
symbol: B-try(armhf)
symbol: B-local(armhf)
arm64-try/opt:
description: Build Firefox Nightly as a Snap using upstream definition and try repo
arm64-local/opt:
description: Build Firefox Nightly as a Snap using upstream definition and local gecko checkout
attributes:
build_platform: linux-arm64-snap
build_type: opt
cron: false
run-on-projects:
- mozilla-central
- autoland
index:
product: firefox
job-name: arm64-try
type: generic
job-name: snap-arm64-opt
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 9000
@@ -456,17 +407,20 @@ tasks:
./run.sh try arm64
treeherder:
platform: linux64-snap/opt
symbol: B-try(arm64)
symbol: B-local(arm64)
arm64-try/debug:
description: Build Firefox Nightly (debug) as a Snap using upstream definition and try repo
arm64-local/debug:
description: Build Firefox Nightly (debug) as a Snap using upstream definition and local gecko checkout
attributes:
build_platform: linux-arm64-snap
build_type: debug
cron: false
run-on-projects:
- mozilla-central
- autoland
index:
product: firefox
job-name: arm64-try-debug
type: generic
job-name: snap-arm64-debug
worker:
docker-image: {in-tree: snap-build-core24}
max-run-time: 7200
@@ -476,4 +430,4 @@ tasks:
./run.sh try arm64 --debug
treeherder:
platform: linux64-snap/debug
symbol: B-try(arm64)
symbol: B-local(arm64)