2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Bug 1781248 - part 1: Bump taskgraph to version 2.0.0

This commit is contained in:
Johan Lorenzo 2022-07-26 17:27:52 +02:00 committed by mergify[bot]
parent 279782aa40
commit ceca802939
17 changed files with 43 additions and 43 deletions

View File

@ -19,7 +19,7 @@ only-for-abis:
- armeabi-v7a - armeabi-v7a
- arm64-v8a - arm64-v8a
job-defaults: task-defaults:
attributes: attributes:
artifact_prefix: public/test_info artifact_prefix: public/test_info
nightly: true nightly: true
@ -100,7 +100,7 @@ job-defaults:
- linux64-minidump-stackwalk - linux64-minidump-stackwalk
- linux64-node-16 - linux64-node-16
jobs: tasks:
tp6m: tp6m:
page-load-tests: page-load-tests:
- amazon - amazon

View File

@ -13,7 +13,7 @@ kind-dependencies:
- toolchain - toolchain
job-defaults: task-defaults:
# Builds generate multiple APKs with different ABIs. For each APK described # Builds generate multiple APKs with different ABIs. For each APK described
# by `gradlew printVariant`, an artifact will be generated. `variant` and # by `gradlew printVariant`, an artifact will be generated. `variant` and
# the per-apk config from `printVariant` can be used as substitutions in # the per-apk config from `printVariant` can be used as substitutions in
@ -44,7 +44,7 @@ job-defaults:
chain-of-trust: true chain-of-trust: true
jobs: tasks:
debug: debug:
attributes: attributes:
code-review: true code-review: true

View File

@ -11,7 +11,7 @@ transforms:
- taskgraph.transforms.job:transforms - taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms - taskgraph.transforms.task:transforms
job-defaults: task-defaults:
treeherder: treeherder:
kind: build kind: build
symbol: bump(a-c) symbol: bump(a-c)
@ -40,7 +40,7 @@ job-defaults:
max-run-time: 7200 max-run-time: 7200
chain-of-trust: true chain-of-trust: true
jobs: tasks:
android-components: android-components:
attributes: attributes:
bump-type: android-components bump-type: android-components

View File

@ -14,11 +14,11 @@ transforms:
- taskgraph.transforms.code_review:transforms - taskgraph.transforms.code_review:transforms
- taskgraph.transforms.task:transforms - taskgraph.transforms.task:transforms
job-defaults: task-defaults:
worker-type: succeed worker-type: succeed
jobs: tasks:
pr: pr:
description: PR Summary Task description: PR Summary Task
run-on-tasks-for: [github-pull-request] run-on-tasks-for: [github-pull-request]

View File

@ -10,7 +10,7 @@ transforms:
- taskgraph.transforms.cached_tasks:transforms - taskgraph.transforms.cached_tasks:transforms
- taskgraph.transforms.task:transforms - taskgraph.transforms.task:transforms
jobs: tasks:
android-build: android-build:
symbol: I(agb) symbol: I(agb)
parent: base parent: base

View File

@ -9,10 +9,10 @@ transforms:
- taskgraph.transforms.job:transforms - taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms - taskgraph.transforms.task:transforms
job-defaults: task-defaults:
docker-image: {in-tree: base} docker-image: {in-tree: base}
jobs: tasks:
android-sdk-3859397: android-sdk-3859397:
description: Android SDK description: Android SDK
fetch: fetch:

View File

@ -4,12 +4,12 @@ transforms:
- taskgraph.transforms.job:transforms - taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms - taskgraph.transforms.task:transforms
job-defaults: task-defaults:
worker-type: always-optimized worker-type: always-optimized
run: run:
using: index-search using: index-search
jobs: tasks:
nightly: nightly:
description: "upstream nightly job" description: "upstream nightly job"
run: run:

View File

@ -13,7 +13,7 @@ kind-dependencies:
- toolchain - toolchain
job-defaults: task-defaults:
attributes: attributes:
code-review: true code-review: true
retrigger: true retrigger: true
@ -33,7 +33,7 @@ job-defaults:
docker-image: {in-tree: base} docker-image: {in-tree: base}
max-run-time: 7200 max-run-time: 7200
jobs: tasks:
compare-locales: compare-locales:
description: 'Validate strings.xml with compare-locales' description: 'Validate strings.xml with compare-locales'
run: run:

View File

@ -8,7 +8,7 @@ transforms:
- taskgraph.transforms.job:transforms - taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms - taskgraph.transforms.task:transforms
job-defaults: task-defaults:
description: Run a simple UI test to verify Nightly build can start description: Run a simple UI test to verify Nightly build can start
treeherder: treeherder:
kind: test kind: test
@ -44,7 +44,7 @@ job-defaults:
signing: signing-nightly signing: signing-nightly
signing-android-test: signing-android-test-nightly signing-android-test: signing-android-test-nightly
jobs: tasks:
nightly-x86: nightly-x86:
run: run:
commands: commands:

View File

@ -13,7 +13,7 @@ kind-dependencies:
- toolchain - toolchain
job-defaults: task-defaults:
attributes: attributes:
retrigger: true retrigger: true
description: Test Fenix description: Test Fenix
@ -93,7 +93,7 @@ job-defaults:
docker-image: {in-tree: base} docker-image: {in-tree: base}
max-run-time: 7200 max-run-time: 7200
jobs: tasks:
debug: debug:
attributes: attributes:
build-type: debug build-type: debug

View File

@ -2,7 +2,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this # License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
--- ---
job-defaults: task-defaults:
run: run:
using: toolchain-script using: toolchain-script
treeherder: treeherder:

View File

@ -2,7 +2,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this # License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
--- ---
job-defaults: task-defaults:
run: run:
using: index-search using: index-search
run-on-projects: [] run-on-projects: []

View File

@ -13,6 +13,6 @@ transforms:
- taskgraph.transforms.task:transforms - taskgraph.transforms.task:transforms
jobs-from: tasks-from:
- android.yml - android.yml
- gecko-derived.yml - gecko-derived.yml

View File

@ -9,7 +9,7 @@ transforms:
- taskgraph.transforms.job:transforms - taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms - taskgraph.transforms.task:transforms
job-defaults: task-defaults:
attributes: attributes:
build-type: debug build-type: debug
code-review: true code-review: true
@ -100,7 +100,7 @@ job-defaults:
retry-exit-status: [20] retry-exit-status: [20]
worker-type: b-android worker-type: b-android
jobs: tasks:
x86-debug: x86-debug:
description: Test Fenix description: Test Fenix
run-on-tasks-for: [github-pull-request, github-push] run-on-tasks-for: [github-pull-request, github-push]

View File

@ -28,15 +28,15 @@ def resolve_keys(config, tasks):
@transforms.add @transforms.add
def make_task_description(config, jobs): def make_task_description(config, tasks):
for job in jobs: for task in tasks:
product = "Fenix" product = "Fenix"
version = config.params["version"] or "{ver}" version = config.params["version"] or "{ver}"
job["worker"][ task["worker"][
"release-name" "release-name"
] = "{product}-{version}-build{build_number}".format( ] = "{product}-{version}-build{build_number}".format(
product=product, product=product,
version=version, version=version,
build_number=config.params.get("build_number", 1), build_number=config.params.get("build_number", 1),
) )
yield job yield task

View File

@ -1,6 +1,6 @@
# For instructions on managing dependencies, see: # For instructions on managing dependencies, see:
# https://taskcluster-taskgraph.readthedocs.io/en/latest/howto/bootstrap-taskgraph.html # https://taskcluster-taskgraph.readthedocs.io/en/latest/howto/bootstrap-taskgraph.html
taskcluster-taskgraph>=1.3.1 taskcluster-taskgraph
mozilla-version mozilla-version
redo redo

View File

@ -8,9 +8,9 @@ appdirs==1.4.4 \
--hash=sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41 \ --hash=sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41 \
--hash=sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128 --hash=sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128
# via taskcluster-taskgraph # via taskcluster-taskgraph
attrs==21.4.0 \ attrs==22.1.0 \
--hash=sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4 \ --hash=sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 \
--hash=sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd --hash=sha256:86efa402f67bf2df34f51a335487cf46b1ec130d02b8d39fd248abfd30da551c
# via # via
# mozilla-version # mozilla-version
# taskcluster-taskgraph # taskcluster-taskgraph
@ -91,18 +91,18 @@ slugid==2.0.0 \
--hash=sha256:a950d98b72691178bdd4d6c52743c4a2aa039207cf7a97d71060a111ff9ba297 \ --hash=sha256:a950d98b72691178bdd4d6c52743c4a2aa039207cf7a97d71060a111ff9ba297 \
--hash=sha256:aec8b0e01c4ad32e38e12d609eab3ec912fd129aaf6b2ded0199b56a5f8fd67c --hash=sha256:aec8b0e01c4ad32e38e12d609eab3ec912fd129aaf6b2ded0199b56a5f8fd67c
# via taskcluster-taskgraph # via taskcluster-taskgraph
taskcluster-taskgraph==1.7.1 \ taskcluster-taskgraph==2.0.0 \
--hash=sha256:736054efee8c56987417d4ad2960cfc99c91338253580eadece072a43e042718 \ --hash=sha256:3d22ab488071ddc82997b33fc6c1c524a44bdc7e14b30a274d99dbbdd7389502 \
--hash=sha256:9cb13e19ddf74331c51a9f1dd68afde179f148e7856269e8e5f6182e0a2e5732 --hash=sha256:93eff40ba39a29cd290fc25a2124ed9bf5806d87891edd7e8de35df568708141
# via -r requirements.in # via -r requirements.in
taskcluster-urls==13.0.1 \ taskcluster-urls==13.0.1 \
--hash=sha256:5e25e7e6818e8877178b175ff43d2e6548afad72694aa125f404a7329ece0973 \ --hash=sha256:5e25e7e6818e8877178b175ff43d2e6548afad72694aa125f404a7329ece0973 \
--hash=sha256:b25e122ecec249c4299ac7b20b08db76e3e2025bdaeb699a9d444556de5fd367 \ --hash=sha256:b25e122ecec249c4299ac7b20b08db76e3e2025bdaeb699a9d444556de5fd367 \
--hash=sha256:f66dcbd6572a6216ab65949f0fa0b91f2df647918028436c384e6af5cd12ae2b --hash=sha256:f66dcbd6572a6216ab65949f0fa0b91f2df647918028436c384e6af5cd12ae2b
# via taskcluster-taskgraph # via taskcluster-taskgraph
urllib3==1.26.9 \ urllib3==1.26.11 \
--hash=sha256:44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14 \ --hash=sha256:c33ccba33c819596124764c23a97d25f32b28433ba0dedeb77d873a38722c9bc \
--hash=sha256:aabaf16477806a5e1dd19aa41f8c2b7950dd3c746362d7e3223dbe6de6ac448e --hash=sha256:ea6e8fb210b19d950fab93b60c9009226c63a28808bc8386e05301e25883ac0a
# via requests # via requests
voluptuous==0.13.1 \ voluptuous==0.13.1 \
--hash=sha256:4b838b185f5951f2d6e8752b68fcf18bd7a9c26ded8f143f92d6d28f3921a3e6 \ --hash=sha256:4b838b185f5951f2d6e8752b68fcf18bd7a9c26ded8f143f92d6d28f3921a3e6 \