tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 4013deb920100d1a6430953aaf2e1cd3465f311b
parent 7b5713df6ffec06189294d497ea4c8bac40b0f64
Author: Andrew Halberstadt <ahal@mozilla.com>
Date:   Thu,  6 Nov 2025 22:10:35 +0000

Bug 1998178 - Switch default 'run-on-repo-type' to both Git and Hg, r=taskgraph-reviewers,mozperftest-reviewers,releng-reviewers,jcristau,sparky

The taskgraph diff is identical as we add an explicit
`run-on-repo-type: ["hg"]` to every task. This way it's easier to grep
for which kinds still haven't been migrated yet, and new kinds will be
more likely to work with Git from the get go.

Differential Revision: https://phabricator.services.mozilla.com/D271271

Diffstat:
Mtaskcluster/android_taskgraph/transforms/beetmover_android_app.py | 7++++++-
Mtaskcluster/gecko_taskgraph/target_tasks.py | 2+-
Mtaskcluster/gecko_taskgraph/test/test_target_tasks.py | 4++--
Mtaskcluster/gecko_taskgraph/transforms/balrog_submit.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/beetmover.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/beetmover_checksums.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/beetmover_emefree_checksums.py | 1+
Mtaskcluster/gecko_taskgraph/transforms/beetmover_geckoview.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/beetmover_integration.py | 1+
Mtaskcluster/gecko_taskgraph/transforms/beetmover_langpack_checksums.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/beetmover_push_to_release.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/beetmover_repackage.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/beetmover_repackage_l10n.py | 1+
Mtaskcluster/gecko_taskgraph/transforms/beetmover_repackage_partner.py | 1+
Mtaskcluster/gecko_taskgraph/transforms/beetmover_source_checksums.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/bootstrap.py | 4++++
Mtaskcluster/gecko_taskgraph/transforms/condprof.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/diffoscope.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/docker_image.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/fetch.py | 3+++
Mtaskcluster/gecko_taskgraph/transforms/geckodriver_mac_notarization.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/geckodriver_signing.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/l10n.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/mar_signing.py | 1+
Mtaskcluster/gecko_taskgraph/transforms/openh264_signing.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/partner_attribution_beetmover.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/release_beetmover_signed_addons.py | 1+
Mtaskcluster/gecko_taskgraph/transforms/release_flatpak_push.py | 1+
Mtaskcluster/gecko_taskgraph/transforms/release_generate_checksums_beetmover.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/release_generate_checksums_signing.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/release_msix_push.py | 1+
Mtaskcluster/gecko_taskgraph/transforms/release_sign_and_push_langpacks.py | 1+
Mtaskcluster/gecko_taskgraph/transforms/repackage.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/repackage_partner.py | 1+
Mtaskcluster/gecko_taskgraph/transforms/repackage_signing.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/repackage_signing_partner.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/signing.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/source_checksums_signing.py | 2++
Mtaskcluster/gecko_taskgraph/transforms/task.py | 4++--
Mtaskcluster/gecko_taskgraph/transforms/test/__init__.py | 3+++
Mtaskcluster/kinds/addon/kind.yml | 1+
Mtaskcluster/kinds/android-l10n/kind.yml | 1+
Mtaskcluster/kinds/android-startup-test/kind.yml | 1+
Mtaskcluster/kinds/artifact-build/kind.yml | 1+
Mtaskcluster/kinds/attribution-l10n/kind.yml | 1+
Mtaskcluster/kinds/attribution/kind.yml | 1+
Mtaskcluster/kinds/balrog/kind.yml | 3+++
Mtaskcluster/kinds/beetmover-android-app/kind.yml | 3+++
Mtaskcluster/kinds/beetmover-apt/kind.yml | 3+++
Mtaskcluster/kinds/beetmover-checksums/kind.yml | 3+++
Mtaskcluster/kinds/beetmover-components/kind.yml | 3+++
Mtaskcluster/kinds/beetmover-geckoview/kind.yml | 3+++
Mtaskcluster/kinds/beetmover-integration/kind.yml | 3+++
Mtaskcluster/kinds/beetmover-repackage/kind.yml | 3+++
Mtaskcluster/kinds/beetmover-source/kind.yml | 3+++
Mtaskcluster/kinds/bootstrap/kind.yml | 3+++
Mtaskcluster/kinds/bouncer-locations/kind.yml | 1+
Mtaskcluster/kinds/browsertime/kind.yml | 1+
Mtaskcluster/kinds/build-apk/kind.yml | 1+
Mtaskcluster/kinds/build-bundle/kind.yml | 1+
Mtaskcluster/kinds/build-components/kind.yml | 1+
Mtaskcluster/kinds/build-extensions/kind.yml | 1+
Mtaskcluster/kinds/build-fat-aar/kind.yml | 1+
Mtaskcluster/kinds/build-mac-notarization/kind.yml | 3+++
Mtaskcluster/kinds/build-mac-signing/kind.yml | 3+++
Mtaskcluster/kinds/build-samples-browser/kind.yml | 1+
Mtaskcluster/kinds/build-signing/kind.yml | 3+++
Mtaskcluster/kinds/build/kind.yml | 1+
Mtaskcluster/kinds/code-review/kind.yml | 1+
Mtaskcluster/kinds/condprof/kind.yml | 1+
Mtaskcluster/kinds/cron-bouncer-check/kind.yml | 1+
Mtaskcluster/kinds/diffoscope/kind.yml | 1+
Mtaskcluster/kinds/docker-image/kind.yml | 3+++
Mtaskcluster/kinds/fetch/kind.yml | 3+++
Mtaskcluster/kinds/fuzzing/kind.yml | 1+
Mtaskcluster/kinds/geckodriver-mac-notarization/kind.yml | 3+++
Mtaskcluster/kinds/geckodriver-signing/kind.yml | 3+++
Mtaskcluster/kinds/generate-baseline-profile-firebase/kind.yml | 1+
Mtaskcluster/kinds/generate-profile/kind.yml | 1+
Mtaskcluster/kinds/hazard/kind.yml | 1+
Mtaskcluster/kinds/instrumented-build-apk/kind.yml | 1+
Mtaskcluster/kinds/instrumented-build-macrobenchmark-apk/kind.yml | 1+
Mtaskcluster/kinds/instrumented-build/kind.yml | 1+
Mtaskcluster/kinds/l10n-bump/kind.yml | 1+
Mtaskcluster/kinds/l10n/kind.yml | 3+++
Mtaskcluster/kinds/mar-signing-autograph-stage/kind.yml | 3+++
Mtaskcluster/kinds/mar-signing-l10n/kind.yml | 3+++
Mtaskcluster/kinds/mar-signing/kind.yml | 3+++
Mtaskcluster/kinds/maybe-release/kind.yml | 1+
Mtaskcluster/kinds/merge-automation/kind.yml | 3+++
Mtaskcluster/kinds/mochitest/kind.yml | 1+
Mtaskcluster/kinds/openh264-plugin/kind.yml | 1+
Mtaskcluster/kinds/openh264-signing/kind.yml | 3+++
Mtaskcluster/kinds/packages/kind.yml | 1+
Mtaskcluster/kinds/partials-signing/kind.yml | 3+++
Mtaskcluster/kinds/partials-zucchini/kind.yml | 3+++
Mtaskcluster/kinds/partials/kind.yml | 3+++
Mtaskcluster/kinds/perftest/kind.yml | 1+
Mtaskcluster/kinds/post-balrog-dummy/kind.yml | 3+++
Mtaskcluster/kinds/post-beetmover-checksums-dummy/kind.yml | 3+++
Mtaskcluster/kinds/post-beetmover-components-dummy/kind.yml | 3+++
Mtaskcluster/kinds/post-beetmover-dummy/kind.yml | 3+++
Mtaskcluster/kinds/post-langpack-dummy/kind.yml | 3+++
Mtaskcluster/kinds/post-signing-dummy/kind.yml | 3+++
Mtaskcluster/kinds/post-update-verify-dummy/kind.yml | 3+++
Mtaskcluster/kinds/push-apks/kind.yml | 3+++
Mtaskcluster/kinds/push-bundle/kind.yml | 3+++
Mtaskcluster/kinds/reftest/kind.yml | 1+
Mtaskcluster/kinds/release-balrog-scheduling/kind.yml | 1+
Mtaskcluster/kinds/release-balrog-submit-toplevel/kind.yml | 1+
Mtaskcluster/kinds/release-beetmover-push-to-release/kind.yml | 1+
Mtaskcluster/kinds/release-beetmover-signed-langpacks-checksums/kind.yml | 3+++
Mtaskcluster/kinds/release-beetmover-signed-langpacks/kind.yml | 3+++
Mtaskcluster/kinds/release-beetmover-source-checksums/kind.yml | 3+++
Mtaskcluster/kinds/release-bouncer-aliases/kind.yml | 1+
Mtaskcluster/kinds/release-bouncer-check/kind.yml | 1+
Mtaskcluster/kinds/release-bouncer-sub/kind.yml | 1+
Mtaskcluster/kinds/release-early-tagging/kind.yml | 1+
Mtaskcluster/kinds/release-eme-free-repack-beetmover-checksums/kind.yml | 3+++
Mtaskcluster/kinds/release-eme-free-repack-beetmover/kind.yml | 3+++
Mtaskcluster/kinds/release-eme-free-repack-mac-notarization/kind.yml | 3+++
Mtaskcluster/kinds/release-eme-free-repack-mac-signing/kind.yml | 3+++
Mtaskcluster/kinds/release-eme-free-repack-repackage-signing/kind.yml | 3+++
Mtaskcluster/kinds/release-eme-free-repack-repackage/kind.yml | 3+++
Mtaskcluster/kinds/release-eme-free-repack/kind.yml | 1+
Mtaskcluster/kinds/release-final-verify/kind.yml | 1+
Mtaskcluster/kinds/release-flatpak-push/kind.yml | 1+
Mtaskcluster/kinds/release-generate-checksums-beetmover/kind.yml | 3+++
Mtaskcluster/kinds/release-generate-checksums-signing/kind.yml | 3+++
Mtaskcluster/kinds/release-generate-checksums/kind.yml | 1+
Mtaskcluster/kinds/release-mark-as-shipped/kind.yml | 1+
Mtaskcluster/kinds/release-msix-push/kind.yml | 1+
Mtaskcluster/kinds/release-notify-av-announce/kind.yml | 1+
Mtaskcluster/kinds/release-notify-promote/kind.yml | 1+
Mtaskcluster/kinds/release-notify-push/kind.yml | 1+
Mtaskcluster/kinds/release-notify-ship/kind.yml | 1+
Mtaskcluster/kinds/release-notify-started/kind.yml | 1+
Mtaskcluster/kinds/release-notify-testrail/kind.yml | 1+
Mtaskcluster/kinds/release-partner-attribution-beetmover/kind.yml | 3+++
Mtaskcluster/kinds/release-partner-attribution/kind.yml | 1+
Mtaskcluster/kinds/release-partner-repack-beetmover/kind.yml | 3+++
Mtaskcluster/kinds/release-partner-repack-bouncer-sub/kind.yml | 1+
Mtaskcluster/kinds/release-partner-repack-chunking-dummy/kind.yml | 3+++
Mtaskcluster/kinds/release-partner-repack-mac-notarization/kind.yml | 3+++
Mtaskcluster/kinds/release-partner-repack-mac-signing/kind.yml | 3+++
Mtaskcluster/kinds/release-partner-repack-repackage-signing/kind.yml | 3+++
Mtaskcluster/kinds/release-partner-repack-repackage/kind.yml | 3+++
Mtaskcluster/kinds/release-partner-repack/kind.yml | 1+
Mtaskcluster/kinds/release-push-langpacks/kind.yml | 3+++
Mtaskcluster/kinds/release-secondary-balrog-scheduling/kind.yml | 1+
Mtaskcluster/kinds/release-secondary-balrog-submit-toplevel/kind.yml | 1+
Mtaskcluster/kinds/release-secondary-final-verify/kind.yml | 1+
Mtaskcluster/kinds/release-secondary-flatpak-push/kind.yml | 1+
Mtaskcluster/kinds/release-secondary-notify-ship/kind.yml | 1+
Mtaskcluster/kinds/release-secondary-update-verify-config/kind.yml | 1+
Mtaskcluster/kinds/release-secondary-update-verify/kind.yml | 1+
Mtaskcluster/kinds/release-source-checksums-signing/kind.yml | 3+++
Mtaskcluster/kinds/release-source-signing/kind.yml | 3+++
Mtaskcluster/kinds/release-source/kind.yml | 1+
Mtaskcluster/kinds/release-update-product-channel-version/kind.yml | 1+
Mtaskcluster/kinds/release-update-verify-config-next/kind.yml | 1+
Mtaskcluster/kinds/release-update-verify-config/kind.yml | 1+
Mtaskcluster/kinds/release-update-verify-next/kind.yml | 1+
Mtaskcluster/kinds/release-update-verify/kind.yml | 1+
Mtaskcluster/kinds/release-version-bump/kind.yml | 1+
Mtaskcluster/kinds/repackage-deb-l10n/kind.yml | 3+++
Mtaskcluster/kinds/repackage-deb/kind.yml | 3+++
Mtaskcluster/kinds/repackage-flatpak/kind.yml | 3+++
Mtaskcluster/kinds/repackage-l10n/kind.yml | 3+++
Mtaskcluster/kinds/repackage-msi/kind.yml | 3+++
Mtaskcluster/kinds/repackage-msix/kind.yml | 3+++
Mtaskcluster/kinds/repackage-rpm/kind.yml | 3+++
Mtaskcluster/kinds/repackage-shippable-l10n-msix/kind.yml | 3+++
Mtaskcluster/kinds/repackage-signing-l10n/kind.yml | 3+++
Mtaskcluster/kinds/repackage-signing-msi/kind.yml | 3+++
Mtaskcluster/kinds/repackage-signing-msix/kind.yml | 3+++
Mtaskcluster/kinds/repackage-signing-shippable-l10n-msix/kind.yml | 3+++
Mtaskcluster/kinds/repackage-signing/kind.yml | 3+++
Mtaskcluster/kinds/repackage/kind.yml | 3+++
Mtaskcluster/kinds/repo-update/kind.yml | 1+
Mtaskcluster/kinds/run-macrobenchmark-firebase/kind.yml | 1+
Mtaskcluster/kinds/scriptworker-canary/kind.yml | 1+
Mtaskcluster/kinds/searchfox/kind.yml | 1+
Mtaskcluster/kinds/sentry/kind.yml | 3+++
Mtaskcluster/kinds/shippable-l10n-mac-notarization/kind.yml | 3+++
Mtaskcluster/kinds/shippable-l10n-mac-signing/kind.yml | 3+++
Mtaskcluster/kinds/shippable-l10n-signing/kind.yml | 3+++
Mtaskcluster/kinds/shippable-l10n/kind.yml | 3+++
Mtaskcluster/kinds/signing-apk/kind.yml | 3+++
Mtaskcluster/kinds/signing-bundle/kind.yml | 3+++
Mtaskcluster/kinds/signing/kind.yml | 3+++
Mtaskcluster/kinds/snap-upstream-build/kind.yml | 1+
Mtaskcluster/kinds/snap-upstream-test/kind.yml | 1+
Mtaskcluster/kinds/source-test/kind.yml | 1+
Mtaskcluster/kinds/spidermonkey/kind.yml | 1+
Mtaskcluster/kinds/startup-test/kind.yml | 1+
Mtaskcluster/kinds/static-analysis-autotest/kind.yml | 1+
Mtaskcluster/kinds/system-symbols-reprocess/kind.yml | 3+++
Mtaskcluster/kinds/system-symbols-upload/kind.yml | 3+++
Mtaskcluster/kinds/system-symbols/kind.yml | 1+
Mtaskcluster/kinds/test-apk/kind.yml | 1+
Mtaskcluster/kinds/test-components/kind.yml | 1+
Mtaskcluster/kinds/test/kind.yml | 1+
Mtaskcluster/kinds/toolchain-dxc-upload/kind.yml | 3+++
Mtaskcluster/kinds/toolchain/kind.yml | 1+
Mtaskcluster/kinds/trigger-comm-central/kind.yml | 1+
Mtaskcluster/kinds/ui-test-apk/kind.yml | 1+
Mtaskcluster/kinds/update-test/kind.yml | 1+
Mtaskcluster/kinds/updatebot/kind.yml | 3+++
Mtaskcluster/kinds/upload-generated-sources-dummy/kind.yml | 3+++
Mtaskcluster/kinds/upload-generated-sources/kind.yml | 3+++
Mtaskcluster/kinds/upload-symbols-dummy/kind.yml | 3+++
Mtaskcluster/kinds/upload-symbols/kind.yml | 3+++
Mtaskcluster/kinds/valgrind/kind.yml | 1+
Mtaskcluster/kinds/web-platform-tests/kind.yml | 1+
Mtaskcluster/kinds/webrender/kind.yml | 1+
216 files changed, 425 insertions(+), 6 deletions(-)

diff --git a/taskcluster/android_taskgraph/transforms/beetmover_android_app.py b/taskcluster/android_taskgraph/transforms/beetmover_android_app.py @@ -7,6 +7,9 @@ Transform the beetmover task into an actual task description. import logging +from gecko_taskgraph.transforms.task import ( + task_description_schema as gecko_task_description_schema, +) from taskgraph.transforms.base import TransformSequence from taskgraph.transforms.task import task_description_schema from taskgraph.util.schema import optionally_keyed_by, resolve_keyed_by @@ -26,6 +29,7 @@ beetmover_description_schema = Schema( Optional("attributes"): task_description_schema["attributes"], Optional("dependencies"): task_description_schema["dependencies"], Optional("bucket-scope"): optionally_keyed_by("level", "build-type", str), + Optional("run-on-repo-type"): gecko_task_description_schema["run-on-repo-type"], }, extra=ALLOW_EXTRA, ) @@ -54,7 +58,7 @@ def make_task_description(config, tasks): **{ "build-type": task["attributes"]["build-type"], "level": config.params["level"], - } + }, ) bucket_scope = task.pop("bucket-scope") @@ -70,6 +74,7 @@ def make_task_description(config, tasks): "dependencies": task["dependencies"], "attributes": attributes, "treeherder": task["treeherder"], + "run-on-repo-type": task.get("run-on-repo-type", ["git", "hg"]), } yield taskdesc diff --git a/taskcluster/gecko_taskgraph/target_tasks.py b/taskcluster/gecko_taskgraph/target_tasks.py @@ -108,7 +108,7 @@ def filter_for_repo_type(task, parameters): This filter is temporarily in-place to facilitate the hg.mozilla.org -> Github migration.""" - run_on_repo_types = set(task.attributes.get("run_on_repo_type", ["hg"])) + run_on_repo_types = set(task.attributes.get("run_on_repo_type", ["git", "hg"])) return match_run_on_repo_type(parameters["repository_type"], run_on_repo_types) diff --git a/taskcluster/gecko_taskgraph/test/test_target_tasks.py b/taskcluster/gecko_taskgraph/test/test_target_tasks.py @@ -418,8 +418,8 @@ class TestTargetTasks(unittest.TestCase): "repository_type": "git", }, }, - False, - id="filter_for_repo_type_default_git_removed", + True, + id="filter_for_repo_type_default_git_not_removed", ), pytest.param( "filter_for_repo_type", diff --git a/taskcluster/gecko_taskgraph/transforms/balrog_submit.py b/taskcluster/gecko_taskgraph/transforms/balrog_submit.py @@ -32,6 +32,7 @@ balrog_description_schema = Schema( # Shipping product / phase Optional("shipping-product"): task_description_schema["shipping-product"], Optional("shipping-phase"): task_description_schema["shipping-phase"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -155,6 +156,7 @@ def make_task_description(config, jobs): "soft-dependencies": soft_dependencies, "attributes": attributes, "run-on-projects": dep_job.attributes.get("run_on_projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": treeherder, "shipping-phase": job.get("shipping-phase", "promote"), "shipping-product": job.get("shipping-product"), diff --git a/taskcluster/gecko_taskgraph/transforms/beetmover.py b/taskcluster/gecko_taskgraph/transforms/beetmover.py @@ -37,6 +37,7 @@ beetmover_description_schema = Schema( Optional("shipping-product"): task_description_schema["shipping-product"], Optional("attributes"): task_description_schema["attributes"], Optional("task-from"): task_description_schema["task-from"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -106,6 +107,7 @@ def make_task_description(config, jobs): "dependencies": dependencies, "attributes": attributes, "run-on-projects": dep_job.attributes.get("run_on_projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": treeherder, "shipping-phase": job["shipping-phase"], } diff --git a/taskcluster/gecko_taskgraph/transforms/beetmover_checksums.py b/taskcluster/gecko_taskgraph/transforms/beetmover_checksums.py @@ -31,6 +31,7 @@ beetmover_checksums_description_schema = Schema( Optional("shipping-phase"): task_description_schema["shipping-phase"], Optional("shipping-product"): task_description_schema["shipping-product"], Optional("task-from"): task_description_schema["task-from"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -108,6 +109,7 @@ def make_beetmover_checksums_description(config, jobs): "dependencies": job["dependencies"], "attributes": attributes, "run-on-projects": dep_job.attributes.get("run_on_projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": treeherder, "extra": extra, } diff --git a/taskcluster/gecko_taskgraph/transforms/beetmover_emefree_checksums.py b/taskcluster/gecko_taskgraph/transforms/beetmover_emefree_checksums.py @@ -23,6 +23,7 @@ beetmover_checksums_description_schema = Schema( Optional("task-from"): task_description_schema["task-from"], Optional("attributes"): task_description_schema["attributes"], Optional("dependencies"): task_description_schema["dependencies"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) diff --git a/taskcluster/gecko_taskgraph/transforms/beetmover_geckoview.py b/taskcluster/gecko_taskgraph/transforms/beetmover_geckoview.py @@ -41,6 +41,7 @@ beetmover_description_schema = Schema( Optional("shipping-product"): task_description_schema["shipping-product"], Optional("attributes"): task_description_schema["attributes"], Optional("task-from"): task_description_schema["task-from"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -148,6 +149,7 @@ def make_task_description(config, jobs): "dependencies": job["dependencies"], "attributes": attributes, "run-on-projects": job["run-on-projects"], + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": treeherder, "shipping-phase": job["shipping-phase"], "maven-package": package, diff --git a/taskcluster/gecko_taskgraph/transforms/beetmover_integration.py b/taskcluster/gecko_taskgraph/transforms/beetmover_integration.py @@ -32,6 +32,7 @@ beetmover_description_schema = Schema( Optional("task-from"): task_description_schema["task-from"], Required("worker-type"): task_description_schema["worker-type"], Required("scopes"): optionally_keyed_by("project", [str]), + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) diff --git a/taskcluster/gecko_taskgraph/transforms/beetmover_langpack_checksums.py b/taskcluster/gecko_taskgraph/transforms/beetmover_langpack_checksums.py @@ -31,6 +31,7 @@ beetmover_checksums_description_schema = Schema( Optional("task-from"): task_description_schema["task-from"], Optional("shipping-phase"): task_description_schema["shipping-phase"], Optional("shipping-product"): task_description_schema["shipping-product"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -93,6 +94,7 @@ def make_beetmover_checksums_description(config, jobs): "dependencies": dependencies, "attributes": attributes, "run-on-projects": dep_job.attributes.get("run_on_projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": treeherder, "extra": extra, } diff --git a/taskcluster/gecko_taskgraph/transforms/beetmover_push_to_release.py b/taskcluster/gecko_taskgraph/transforms/beetmover_push_to_release.py @@ -24,6 +24,7 @@ beetmover_push_to_release_description_schema = Schema( Optional("task-from"): task_description_schema["task-from"], Optional("run"): {str: object}, Optional("run-on-projects"): task_description_schema["run-on-projects"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], Optional("dependencies"): {str: taskref_or_string}, Optional("index"): {str: str}, Optional("routes"): [str], @@ -64,6 +65,7 @@ def make_beetmover_push_to_release_description(config, jobs): "dependencies": job["dependencies"], "attributes": job.get("attributes", {}), "run-on-projects": job.get("run-on-projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": treeherder, "shipping-phase": job.get("shipping-phase", "push"), "shipping-product": job.get("shipping-product"), diff --git a/taskcluster/gecko_taskgraph/transforms/beetmover_repackage.py b/taskcluster/gecko_taskgraph/transforms/beetmover_repackage.py @@ -50,6 +50,7 @@ beetmover_description_schema = Schema( Optional("locale"): str, Required("shipping-phase"): task_description_schema["shipping-phase"], Optional("task-from"): task_description_schema["task-from"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -199,6 +200,7 @@ def make_task_description(config, jobs): "dependencies": dependencies, "attributes": attributes, "run-on-projects": dep_job.attributes.get("run_on_projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": treeherder, "shipping-phase": job["shipping-phase"], "shipping-product": job.get("shipping-product"), diff --git a/taskcluster/gecko_taskgraph/transforms/beetmover_repackage_l10n.py b/taskcluster/gecko_taskgraph/transforms/beetmover_repackage_l10n.py @@ -40,5 +40,6 @@ def make_beetmover_description(config, jobs): "treeherder": treeherder, "locale": locale, "shipping-phase": job["shipping-phase"], + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), } yield beet_description diff --git a/taskcluster/gecko_taskgraph/transforms/beetmover_repackage_partner.py b/taskcluster/gecko_taskgraph/transforms/beetmover_repackage_partner.py @@ -39,6 +39,7 @@ beetmover_description_schema = Schema( Optional("shipping-product"): task_description_schema["shipping-product"], Optional("priority"): task_description_schema["priority"], Optional("task-from"): task_description_schema["task-from"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) diff --git a/taskcluster/gecko_taskgraph/transforms/beetmover_source_checksums.py b/taskcluster/gecko_taskgraph/transforms/beetmover_source_checksums.py @@ -30,6 +30,7 @@ beetmover_checksums_description_schema = Schema( Optional("attributes"): task_description_schema["attributes"], Optional("dependencies"): task_description_schema["dependencies"], Optional("task-from"): task_description_schema["task-from"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -97,6 +98,7 @@ def make_beetmover_checksums_description(config, jobs): "dependencies": dependencies, "attributes": attributes, "run-on-projects": dep_job.attributes.get("run_on_projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": treeherder, "extra": extra, } diff --git a/taskcluster/gecko_taskgraph/transforms/bootstrap.py b/taskcluster/gecko_taskgraph/transforms/bootstrap.py @@ -7,6 +7,8 @@ from taskgraph.transforms.base import TransformSequence from taskgraph.util.schema import Schema from voluptuous import Any, Optional, Required +from gecko_taskgraph.transforms.task import task_description_schema + transforms = TransformSequence() bootstrap_schema = Schema( @@ -21,6 +23,7 @@ bootstrap_schema = Schema( Required("pre-commands"): [str], # relative path (from config.path) to the file task was defined in Optional("task-from"): str, + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -100,6 +103,7 @@ def bootstrap_tasks(config, tasks): "tier": 2, }, "run-on-projects": ["trunk"], + "run-on-repo-type": task.get("run-on-repo-type", ["git", "hg"]), "worker-type": "b-linux-gcp", "worker": { "implementation": "docker-worker", diff --git a/taskcluster/gecko_taskgraph/transforms/condprof.py b/taskcluster/gecko_taskgraph/transforms/condprof.py @@ -26,6 +26,7 @@ diff_description_schema = Schema( Optional("name"): str, Optional("run"): job_description_schema["run"], Optional("run-on-projects"): task_description_schema["run-on-projects"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], Optional("scopes"): task_description_schema["scopes"], Optional("treeherder"): task_description_schema["treeherder"], Optional("use-python"): job_description_schema["use-python"], @@ -79,6 +80,7 @@ def generate_scenarios(config, tasks): "run-as-root": run_as_root, }, "run-on-projects": deepcopy(task["run-on-projects"]), + "run-on-repo-type": task.get("run-on-repo-type", ["git", "hg"]), "scopes": deepcopy(task["scopes"]), "dependencies": deepcopy(task["dependencies"]), "fetches": deepcopy(task["fetches"]), diff --git a/taskcluster/gecko_taskgraph/transforms/diffoscope.py b/taskcluster/gecko_taskgraph/transforms/diffoscope.py @@ -50,6 +50,7 @@ diff_description_schema = Schema( Optional("pre-diff-commands"): [str], # Only run the task on a set of projects/branches. Optional("run-on-projects"): task_description_schema["run-on-projects"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], Optional("optimization"): task_description_schema["optimization"], } ) @@ -155,6 +156,7 @@ def fill_template(config, tasks): }, "dependencies": deps, "optimization": task.get("optimization"), + "run-on-repo-type": task.get("run-on-repo-type", ["git", "hg"]), } if "run-on-projects" in task: taskdesc["run-on-projects"] = task["run-on-projects"] diff --git a/taskcluster/gecko_taskgraph/transforms/docker_image.py b/taskcluster/gecko_taskgraph/transforms/docker_image.py @@ -63,6 +63,7 @@ docker_image_schema = Schema( "cache", description="Whether this image should be cached based on inputs.", ): bool, + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -141,6 +142,7 @@ def fill_template(config, tasks): "tier": 1, }, "run-on-projects": [], + "run-on-repo-type": task.get("run-on-repo-type", ["git", "hg"]), "worker-type": worker_type, "worker": { "implementation": "docker-worker", diff --git a/taskcluster/gecko_taskgraph/transforms/fetch.py b/taskcluster/gecko_taskgraph/transforms/fetch.py @@ -19,6 +19,7 @@ from taskgraph.util.treeherder import join_symbol from voluptuous import Any, Extra, Optional, Required import gecko_taskgraph +from gecko_taskgraph.transforms.task import task_description_schema from ..util.cached_tasks import add_optimization @@ -45,6 +46,7 @@ FETCH_SCHEMA = Schema( "`public/` the artifact will require scopes to access.", ): str, Optional("attributes"): {str: object}, + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], Required("fetch"): { Required("type"): str, Extra: object, @@ -137,6 +139,7 @@ def make_task(config, jobs): "expires-after": task_expires, "label": "fetch-%s" % name, "run-on-projects": [], + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": { "symbol": join_symbol("Fetch", name), "kind": "build", diff --git a/taskcluster/gecko_taskgraph/transforms/geckodriver_mac_notarization.py b/taskcluster/gecko_taskgraph/transforms/geckodriver_mac_notarization.py @@ -23,6 +23,7 @@ geckodriver_notarization_description_schema = Schema( Optional("task-from"): task_description_schema["task-from"], Optional("attributes"): task_description_schema["attributes"], Optional("dependencies"): task_description_schema["dependencies"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -76,6 +77,7 @@ def geckodriver_mac_notarization(config, jobs): "attributes": attributes, "treeherder": treeherder, "run-on-projects": ["mozilla-central"], + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "index": {"product": "geckodriver", "job-name": f"{platform}-notarized"}, } yield task diff --git a/taskcluster/gecko_taskgraph/transforms/geckodriver_signing.py b/taskcluster/gecko_taskgraph/transforms/geckodriver_signing.py @@ -22,6 +22,7 @@ repackage_signing_description_schema = Schema( Optional("treeherder"): task_description_schema["treeherder"], Optional("shipping-phase"): task_description_schema["shipping-phase"], Optional("task-from"): task_description_schema["task-from"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -94,6 +95,7 @@ def make_signing_description(config, jobs): "attributes": attributes, "treeherder": treeherder, "run-on-projects": ["mozilla-central"], + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "index": {"product": "geckodriver", "job-name": platform}, } diff --git a/taskcluster/gecko_taskgraph/transforms/l10n.py b/taskcluster/gecko_taskgraph/transforms/l10n.py @@ -72,6 +72,7 @@ l10n_description_schema = Schema( # Description of the localized task Required("description"): _by_platform(str), Optional("run-on-projects"): job_description_schema["run-on-projects"], + Optional("run-on-repo-type"): job_description_schema["run-on-repo-type"], # worker-type to utilize Required("worker-type"): _by_platform(str), # File which contains the used locales @@ -374,6 +375,7 @@ def make_job_description(config, jobs): "run-on-projects": ( job.get("run-on-projects") if job.get("run-on-projects") else [] ), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), } if job.get("extra"): job_description["extra"] = job["extra"] diff --git a/taskcluster/gecko_taskgraph/transforms/mar_signing.py b/taskcluster/gecko_taskgraph/transforms/mar_signing.py @@ -134,6 +134,7 @@ def make_task_description(config, jobs): "run-on-projects": job.get( "run-on-projects", dep_job.attributes.get("run_on_projects") ), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": treeherder, } diff --git a/taskcluster/gecko_taskgraph/transforms/openh264_signing.py b/taskcluster/gecko_taskgraph/transforms/openh264_signing.py @@ -26,6 +26,7 @@ signing_description_schema = Schema( Optional("attributes"): task_description_schema["attributes"], Optional("dependencies"): task_description_schema["dependencies"], Optional("task-from"): task_description_schema["task-from"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -109,6 +110,7 @@ def make_signing_description(config, jobs): "dependencies": dependencies, "attributes": my_attributes, "run-on-projects": dep_job.attributes.get("run_on_projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": treeherder, } diff --git a/taskcluster/gecko_taskgraph/transforms/partner_attribution_beetmover.py b/taskcluster/gecko_taskgraph/transforms/partner_attribution_beetmover.py @@ -41,6 +41,7 @@ beetmover_description_schema = Schema( Required("shipping-phase"): task_description_schema["shipping-phase"], Optional("shipping-product"): task_description_schema["shipping-product"], Optional("priority"): task_description_schema["priority"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -107,6 +108,7 @@ def make_task_description(config, jobs): "dependencies": {dep_job.kind: dep_job.label}, "attributes": attributes, "run-on-projects": dep_job.attributes.get("run_on_projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "shipping-phase": job["shipping-phase"], "shipping-product": job.get("shipping-product"), "worker": job["worker"], diff --git a/taskcluster/gecko_taskgraph/transforms/release_beetmover_signed_addons.py b/taskcluster/gecko_taskgraph/transforms/release_beetmover_signed_addons.py @@ -51,6 +51,7 @@ beetmover_description_schema = Schema( Optional("shipping-phase"): task_description_schema["shipping-phase"], Optional("task-from"): task_description_schema["task-from"], Optional("dependencies"): task_description_schema["dependencies"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) diff --git a/taskcluster/gecko_taskgraph/transforms/release_flatpak_push.py b/taskcluster/gecko_taskgraph/transforms/release_flatpak_push.py @@ -29,6 +29,7 @@ push_flatpak_description_schema = Schema( Required("flathub-scope"): str, Optional("extra"): task_description_schema["extra"], Optional("attributes"): task_description_schema["attributes"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) diff --git a/taskcluster/gecko_taskgraph/transforms/release_generate_checksums_beetmover.py b/taskcluster/gecko_taskgraph/transforms/release_generate_checksums_beetmover.py @@ -36,6 +36,7 @@ release_generate_checksums_beetmover_schema = Schema( Optional("attributes"): task_description_schema["attributes"], Optional("task-from"): task_description_schema["task-from"], Optional("dependencies"): task_description_schema["dependencies"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -100,6 +101,7 @@ def make_task_description(config, jobs): "dependencies": dependencies, "attributes": attributes, "run-on-projects": dep_job.attributes.get("run_on_projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": treeherder, "shipping-phase": "promote", } diff --git a/taskcluster/gecko_taskgraph/transforms/release_generate_checksums_signing.py b/taskcluster/gecko_taskgraph/transforms/release_generate_checksums_signing.py @@ -24,6 +24,7 @@ release_generate_checksums_signing_schema = Schema( Optional("shipping-product"): task_description_schema["shipping-product"], Optional("shipping-phase"): task_description_schema["shipping-phase"], Optional("task-from"): task_description_schema["task-from"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -93,6 +94,7 @@ def make_release_generate_checksums_signing_description(config, jobs): "dependencies": dependencies, "attributes": attributes, "run-on-projects": dep_job.attributes.get("run_on_projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": treeherder, } diff --git a/taskcluster/gecko_taskgraph/transforms/release_msix_push.py b/taskcluster/gecko_taskgraph/transforms/release_msix_push.py @@ -28,6 +28,7 @@ push_msix_description_schema = Schema( Required("shipping-product"): task_description_schema["shipping-product"], Optional("extra"): task_description_schema["extra"], Optional("attributes"): task_description_schema["attributes"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) diff --git a/taskcluster/gecko_taskgraph/transforms/release_sign_and_push_langpacks.py b/taskcluster/gecko_taskgraph/transforms/release_sign_and_push_langpacks.py @@ -36,6 +36,7 @@ langpack_sign_push_description_schema = Schema( Optional("task-from"): task_description_schema["task-from"], Optional("attributes"): task_description_schema["attributes"], Optional("dependencies"): task_description_schema["dependencies"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) diff --git a/taskcluster/gecko_taskgraph/transforms/repackage.py b/taskcluster/gecko_taskgraph/transforms/repackage.py @@ -38,6 +38,7 @@ packaging_description_schema = Schema( # passed through to job description Optional("fetches"): job_description_schema["fetches"], Optional("run-on-projects"): job_description_schema["run-on-projects"], + Optional("run-on-repo-type"): job_description_schema["run-on-repo-type"], # Shipping product and phase Optional("shipping-product"): job_description_schema["shipping-product"], Optional("shipping-phase"): job_description_schema["shipping-phase"], @@ -724,6 +725,7 @@ def make_job_description(config, jobs): "run-on-projects": job.get( "run-on-projects", dep_job.attributes.get("run_on_projects") ), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "optimization": dep_job.optimization, "treeherder": treeherder, "routes": job.get("routes", []), diff --git a/taskcluster/gecko_taskgraph/transforms/repackage_partner.py b/taskcluster/gecko_taskgraph/transforms/repackage_partner.py @@ -59,6 +59,7 @@ packaging_description_schema = Schema( Optional("task-from"): task_description_schema["task-from"], Optional("attributes"): task_description_schema["attributes"], Optional("dependencies"): task_description_schema["dependencies"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) diff --git a/taskcluster/gecko_taskgraph/transforms/repackage_signing.py b/taskcluster/gecko_taskgraph/transforms/repackage_signing.py @@ -25,6 +25,7 @@ repackage_signing_description_schema = Schema( Optional("treeherder"): task_description_schema["treeherder"], Optional("shipping-product"): task_description_schema["shipping-product"], Optional("shipping-phase"): task_description_schema["shipping-phase"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -143,6 +144,7 @@ def make_repackage_signing_description(config, jobs): }, "dependencies": dependencies, "attributes": attributes, + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "run-on-projects": dep_job.attributes.get("run_on_projects"), "optimization": dep_job.optimization, "treeherder": treeherder, diff --git a/taskcluster/gecko_taskgraph/transforms/repackage_signing_partner.py b/taskcluster/gecko_taskgraph/transforms/repackage_signing_partner.py @@ -28,6 +28,7 @@ repackage_signing_description_schema = Schema( Optional("shipping-phase"): task_description_schema["shipping-phase"], Optional("priority"): task_description_schema["priority"], Optional("task-from"): task_description_schema["task-from"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -156,6 +157,7 @@ def make_repackage_signing_description(config, jobs): "dependencies": dependencies, "attributes": attributes, "run-on-projects": dep_job.attributes.get("run_on_projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "extra": { "repack_id": repack_id, }, diff --git a/taskcluster/gecko_taskgraph/transforms/signing.py b/taskcluster/gecko_taskgraph/transforms/signing.py @@ -55,6 +55,7 @@ signing_description_schema = Schema( # Override the default priority for the project Optional("priority"): task_description_schema["priority"], Optional("task-from"): task_description_schema["task-from"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -184,6 +185,7 @@ def make_task_description(config, jobs): "dependencies": job["dependencies"], "attributes": attributes, "run-on-projects": dep_job.attributes.get("run_on_projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "optimization": dep_job.optimization, "routes": job.get("routes", []), "shipping-product": job.get("shipping-product"), diff --git a/taskcluster/gecko_taskgraph/transforms/source_checksums_signing.py b/taskcluster/gecko_taskgraph/transforms/source_checksums_signing.py @@ -23,6 +23,7 @@ checksums_signing_description_schema = Schema( Optional("task-from"): task_description_schema["task-from"], Optional("attributes"): task_description_schema["attributes"], Optional("dependencies"): task_description_schema["dependencies"], + Optional("run-on-repo-type"): task_description_schema["run-on-repo-type"], } ) @@ -91,6 +92,7 @@ def make_checksums_signing_description(config, jobs): "dependencies": dependencies, "attributes": attributes, "run-on-projects": dep_job.attributes.get("run_on_projects"), + "run-on-repo-type": job.get("run-on-repo-type", ["git", "hg"]), "treeherder": treeherder, } diff --git a/taskcluster/gecko_taskgraph/transforms/task.py b/taskcluster/gecko_taskgraph/transforms/task.py @@ -173,7 +173,7 @@ task_description_schema = Schema( # The `run_on_repo_type` attribute, defaulting to "hg". This dictates # the types of repositories on which this task should be included in # the target task set. See the attributes documentation for details. - Optional("run-on-repo-type"): [str], + Optional("run-on-repo-type"): [Any("git", "hg")], # The `run_on_projects` attribute, defaulting to "all". This dictates the # projects on which this task should be included in the target task set. # See the attributes documentation for details. @@ -2355,7 +2355,7 @@ def build_task(config, tasks): item_name=task["label"], **{"build-platform": build_platform}, ) - attributes["run_on_repo_type"] = task.get("run-on-repo-type", ["hg"]) + attributes["run_on_repo_type"] = task.get("run-on-repo-type", ["git", "hg"]) attributes["run_on_projects"] = task.get("run-on-projects", ["all"]) attributes["always_target"] = task["always-target"] # This logic is here since downstream tasks don't always match their diff --git a/taskcluster/gecko_taskgraph/transforms/test/__init__.py b/taskcluster/gecko_taskgraph/transforms/test/__init__.py @@ -91,6 +91,8 @@ test_description_schema = Schema( "variant", Any([str], "built-projects"), ), + # Whether tasks should run on only a specific type of repository. + Optional("run-on-repo-type"): job_description_schema["run-on-repo-type"], # When set only run on projects where the build would already be running. # This ensures tasks where this is True won't be the cause of the build # running on a project it otherwise wouldn't have. @@ -545,6 +547,7 @@ def make_job_description(config, tasks): jobdesc["expires-after"] = task["expires-after"] jobdesc["routes"] = task.get("routes", []) + jobdesc["run-on-repo-type"] = sorted(task["run-on-repo-type"]) jobdesc["run-on-projects"] = sorted(task["run-on-projects"]) jobdesc["scopes"] = [] jobdesc["tags"] = task.get("tags", {}) diff --git a/taskcluster/kinds/addon/kind.yml b/taskcluster/kinds/addon/kind.yml @@ -13,6 +13,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] use-python: default tasks: diff --git a/taskcluster/kinds/android-l10n/kind.yml b/taskcluster/kinds/android-l10n/kind.yml @@ -9,6 +9,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] run-on-projects: [] treeherder: kind: build diff --git a/taskcluster/kinds/android-startup-test/kind.yml b/taskcluster/kinds/android-startup-test/kind.yml @@ -13,6 +13,7 @@ kind-dependencies: - signing-apk task-defaults: + run-on-repo-type: [hg] description: Runs UI tests for sanity checking startup on Nightly treeherder: kind: test diff --git a/taskcluster/kinds/artifact-build/kind.yml b/taskcluster/kinds/artifact-build/kind.yml @@ -17,6 +17,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] index: product: firefox treeherder: diff --git a/taskcluster/kinds/attribution-l10n/kind.yml b/taskcluster/kinds/attribution-l10n/kind.yml @@ -20,6 +20,7 @@ kind-dependencies: - repackage-l10n task-defaults: + run-on-repo-type: [hg] description: Attribute release builds shipping-phase: promote # never run as part of CI diff --git a/taskcluster/kinds/attribution/kind.yml b/taskcluster/kinds/attribution/kind.yml @@ -20,6 +20,7 @@ kind-dependencies: - repackage task-defaults: + run-on-repo-type: [hg] description: Attribute release builds shipping-phase: promote # never run as part of CI diff --git a/taskcluster/kinds/balrog/kind.yml b/taskcluster/kinds/balrog/kind.yml @@ -25,6 +25,9 @@ not-for-build-platforms: - android-x86_64-shippable/opt - android-aarch64-shippable/opt +task-defaults: + run-on-repo-type: [hg] + tasks: balrog: from-deps: diff --git a/taskcluster/kinds/beetmover-android-app/kind.yml b/taskcluster/kinds/beetmover-android-app/kind.yml @@ -15,6 +15,9 @@ kind-dependencies: - signing-apk - signing-bundle +task-defaults: + run-on-repo-type: [hg] + tasks: beetmover: from-deps: diff --git a/taskcluster/kinds/beetmover-apt/kind.yml b/taskcluster/kinds/beetmover-apt/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - beetmover-repackage +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt - linux64-aarch64-shippable/opt diff --git a/taskcluster/kinds/beetmover-checksums/kind.yml b/taskcluster/kinds/beetmover-checksums/kind.yml @@ -17,6 +17,9 @@ only-for-attributes: - nightly - shippable +task-defaults: + run-on-repo-type: [hg] + tasks: beetmover-checksums: from-deps: diff --git a/taskcluster/kinds/beetmover-components/kind.yml b/taskcluster/kinds/beetmover-components/kind.yml @@ -16,6 +16,9 @@ kind-dependencies: - build-components - post-signing-dummy +task-defaults: + run-on-repo-type: [hg] + tasks: push-to-maven: description: Publish component diff --git a/taskcluster/kinds/beetmover-geckoview/kind.yml b/taskcluster/kinds/beetmover-geckoview/kind.yml @@ -37,6 +37,9 @@ not-for-build-platforms: - linux64-asan-reporter-shippable/opt - win64-asan-reporter-shippable/opt +task-defaults: + run-on-repo-type: [hg] + tasks: beetmover-geckoview: from-deps: diff --git a/taskcluster/kinds/beetmover-integration/kind.yml b/taskcluster/kinds/beetmover-integration/kind.yml @@ -14,6 +14,9 @@ kind-dependencies: # Primary dependencies - build +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64/opt - macosx64/opt diff --git a/taskcluster/kinds/beetmover-repackage/kind.yml b/taskcluster/kinds/beetmover-repackage/kind.yml @@ -39,6 +39,9 @@ kind-dependencies: - upload-symbols - upload-symbols-dummy +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt - linux64-aarch64-shippable/opt diff --git a/taskcluster/kinds/beetmover-source/kind.yml b/taskcluster/kinds/beetmover-source/kind.yml @@ -14,6 +14,9 @@ transforms: kind-dependencies: - release-source-signing +task-defaults: + run-on-repo-type: [hg] + tasks: beetmover-source: from-deps: diff --git a/taskcluster/kinds/bootstrap/kind.yml b/taskcluster/kinds/bootstrap/kind.yml @@ -11,6 +11,9 @@ transforms: - gecko_taskgraph.transforms.bootstrap:transforms - gecko_taskgraph.transforms.task:transforms +task-defaults: + run-on-repo-type: [hg] + tasks: debian11: image: debian:bullseye diff --git a/taskcluster/kinds/bouncer-locations/kind.yml b/taskcluster/kinds/bouncer-locations/kind.yml @@ -14,6 +14,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] description: nightly bouncer locations job attributes: shippable: true diff --git a/taskcluster/kinds/browsertime/kind.yml b/taskcluster/kinds/browsertime/kind.yml @@ -19,6 +19,7 @@ transforms: # https://wiki.mozilla.org/Sheriffing/Job_Visibility_Policy task-defaults: + run-on-repo-type: [hg] attributes: retrigger: true use-python: default diff --git a/taskcluster/kinds/build-apk/kind.yml b/taskcluster/kinds/build-apk/kind.yml @@ -16,6 +16,7 @@ kind-dependencies: - generate-baseline-profile-firebase task-defaults: + run-on-repo-type: [hg] apk-artifact-template: type: file name: 'public/build/target.{abi}.apk' diff --git a/taskcluster/kinds/build-bundle/kind.yml b/taskcluster/kinds/build-bundle/kind.yml @@ -16,6 +16,7 @@ kind-dependencies: - generate-baseline-profile-firebase task-defaults: + run-on-repo-type: [hg] aab-artifact-template: type: file name: 'public/build/target.aab' diff --git a/taskcluster/kinds/build-components/kind.yml b/taskcluster/kinds/build-components/kind.yml @@ -18,6 +18,7 @@ kind-dependencies: - build-fat-aar task-defaults: + run-on-repo-type: [hg] artifact-template: type: file name: public/build/{artifact_file_name} diff --git a/taskcluster/kinds/build-extensions/kind.yml b/taskcluster/kinds/build-extensions/kind.yml @@ -13,6 +13,7 @@ kind-dependencies: - toolchain task-defaults: + run-on-repo-type: [hg] worker-type: b-linux-gcp fetches: toolchain: diff --git a/taskcluster/kinds/build-fat-aar/kind.yml b/taskcluster/kinds/build-fat-aar/kind.yml @@ -18,6 +18,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] attributes: artifact_map: taskcluster/gecko_taskgraph/manifests/fennec_geckoview.yml index: diff --git a/taskcluster/kinds/build-mac-notarization/kind.yml b/taskcluster/kinds/build-mac-notarization/kind.yml @@ -17,6 +17,9 @@ kind-dependencies: only-for-attributes: - shippable +task-defaults: + run-on-repo-type: [hg] + tasks: build-mac-notarization: from-deps: diff --git a/taskcluster/kinds/build-mac-signing/kind.yml b/taskcluster/kinds/build-mac-signing/kind.yml @@ -18,6 +18,9 @@ kind-dependencies: only-for-attributes: - enable-build-signing +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - macosx64-shippable/opt - macosx64-devedition/opt diff --git a/taskcluster/kinds/build-samples-browser/kind.yml b/taskcluster/kinds/build-samples-browser/kind.yml @@ -16,6 +16,7 @@ kind-dependencies: task-defaults: + run-on-repo-type: [hg] attributes: build_platform: android build-type: regular diff --git a/taskcluster/kinds/build-signing/kind.yml b/taskcluster/kinds/build-signing/kind.yml @@ -27,6 +27,9 @@ not-for-build-platforms: - macosx64/debug - macosx64-aarch64/debug +task-defaults: + run-on-repo-type: [hg] + tasks: build-signing: from-deps: diff --git a/taskcluster/kinds/build/kind.yml b/taskcluster/kinds/build/kind.yml @@ -32,6 +32,7 @@ tasks-from: - fenix.yml task-defaults: + run-on-repo-type: [hg] worker: env: MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system diff --git a/taskcluster/kinds/code-review/kind.yml b/taskcluster/kinds/code-review/kind.yml @@ -14,6 +14,7 @@ kind-dependencies: - toolchain task-defaults: + run-on-repo-type: [hg] use-python: default tasks: diff --git a/taskcluster/kinds/condprof/kind.yml b/taskcluster/kinds/condprof/kind.yml @@ -14,6 +14,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] treeherder: kind: other tier: 2 diff --git a/taskcluster/kinds/cron-bouncer-check/kind.yml b/taskcluster/kinds/cron-bouncer-check/kind.yml @@ -10,6 +10,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] name: bouncer-check description: bouncer check worker-type: b-linux-gcp diff --git a/taskcluster/kinds/diffoscope/kind.yml b/taskcluster/kinds/diffoscope/kind.yml @@ -22,6 +22,7 @@ transforms: # builds because they are signed with an ephemeral private key that is # generated for each build. task-defaults: + run-on-repo-type: [hg] tier: 2 args: >- --output-empty diff --git a/taskcluster/kinds/docker-image/kind.yml b/taskcluster/kinds/docker-image/kind.yml @@ -17,6 +17,9 @@ transforms: # (to use subdirectory clones of the proper directory), at which point we can # generate tasks for every docker image in the directory, secure in the # knowledge that unnecessary images will be omitted from the target task graph +task-defaults: + run-on-repo-type: [hg] + tasks: image_builder: symbol: I(ib) diff --git a/taskcluster/kinds/fetch/kind.yml b/taskcluster/kinds/fetch/kind.yml @@ -10,6 +10,9 @@ transforms: - gecko_taskgraph.transforms.job:transforms - gecko_taskgraph.transforms.task:transforms +task-defaults: + run-on-repo-type: [hg] + tasks-from: - benchmarks.yml - browsertime.yml diff --git a/taskcluster/kinds/fuzzing/kind.yml b/taskcluster/kinds/fuzzing/kind.yml @@ -16,6 +16,7 @@ kind-dependencies: - build task-defaults: + run-on-repo-type: [hg] worker-type: b-linux-gcp description: Python Fuzzing Smoke Tests worker: diff --git a/taskcluster/kinds/geckodriver-mac-notarization/kind.yml b/taskcluster/kinds/geckodriver-mac-notarization/kind.yml @@ -14,6 +14,9 @@ transforms: kind-dependencies: - geckodriver-signing +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - macosx64-geckodriver/opt - macosx64-aarch64-geckodriver/opt diff --git a/taskcluster/kinds/geckodriver-signing/kind.yml b/taskcluster/kinds/geckodriver-signing/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - toolchain +task-defaults: + run-on-repo-type: [hg] + tasks: geckodriver-signing: from-deps: diff --git a/taskcluster/kinds/generate-baseline-profile-firebase/kind.yml b/taskcluster/kinds/generate-baseline-profile-firebase/kind.yml @@ -16,6 +16,7 @@ kind-dependencies: - instrumented-build-apk task-defaults: + run-on-repo-type: [hg] attributes: build_platform: android build-type: debug diff --git a/taskcluster/kinds/generate-profile/kind.yml b/taskcluster/kinds/generate-profile/kind.yml @@ -18,6 +18,7 @@ transforms: task-defaults: + run-on-repo-type: [hg] treeherder: symbol: Bpgo(run) kind: build diff --git a/taskcluster/kinds/hazard/kind.yml b/taskcluster/kinds/hazard/kind.yml @@ -15,6 +15,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] attributes: retrigger: true treeherder: diff --git a/taskcluster/kinds/instrumented-build-apk/kind.yml b/taskcluster/kinds/instrumented-build-apk/kind.yml @@ -14,6 +14,7 @@ kind-dependencies: - build-fat-aar task-defaults: + run-on-repo-type: [hg] attributes: retrigger: true fetches: diff --git a/taskcluster/kinds/instrumented-build-macrobenchmark-apk/kind.yml b/taskcluster/kinds/instrumented-build-macrobenchmark-apk/kind.yml @@ -15,6 +15,7 @@ kind-dependencies: - generate-baseline-profile-firebase task-defaults: + run-on-repo-type: [hg] fetches: toolchain: - linux64-android-sdk-linux-repack diff --git a/taskcluster/kinds/instrumented-build/kind.yml b/taskcluster/kinds/instrumented-build/kind.yml @@ -18,6 +18,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] shipping-phase: build treeherder: symbol: Bpgo(instr) diff --git a/taskcluster/kinds/l10n-bump/kind.yml b/taskcluster/kinds/l10n-bump/kind.yml @@ -9,6 +9,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] worker-type: lando worker: implementation: scriptworker-lando diff --git a/taskcluster/kinds/l10n/kind.yml b/taskcluster/kinds/l10n/kind.yml @@ -24,6 +24,9 @@ only-for-build-platforms: - win32/opt - win64/opt +task-defaults: + run-on-repo-type: [hg] + tasks: l10n: description: Localization diff --git a/taskcluster/kinds/mar-signing-autograph-stage/kind.yml b/taskcluster/kinds/mar-signing-autograph-stage/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - repackage +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt diff --git a/taskcluster/kinds/mar-signing-l10n/kind.yml b/taskcluster/kinds/mar-signing-l10n/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - repackage-l10n +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt - linux64-aarch64-shippable/opt diff --git a/taskcluster/kinds/mar-signing/kind.yml b/taskcluster/kinds/mar-signing/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - repackage +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt - linux64-aarch64-shippable/opt diff --git a/taskcluster/kinds/maybe-release/kind.yml b/taskcluster/kinds/maybe-release/kind.yml @@ -9,6 +9,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] description: Check recent releases and trigger a new ship-it phase if worthwhile. worker-type: shipit worker: diff --git a/taskcluster/kinds/merge-automation/kind.yml b/taskcluster/kinds/merge-automation/kind.yml @@ -9,6 +9,9 @@ transforms: - gecko_taskgraph.transforms.task:transforms +task-defaults: + run-on-repo-type: [hg] + tasks: merge-automation: name: merge-automation diff --git a/taskcluster/kinds/mochitest/kind.yml b/taskcluster/kinds/mochitest/kind.yml @@ -21,6 +21,7 @@ transforms: # https://wiki.mozilla.org/Sheriffing/Job_Visibility_Policy task-defaults: + run-on-repo-type: [hg] attributes: retrigger: true use-python: default diff --git a/taskcluster/kinds/openh264-plugin/kind.yml b/taskcluster/kinds/openh264-plugin/kind.yml @@ -13,6 +13,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] description: "Build OpenH264 plugin" treeherder: kind: build diff --git a/taskcluster/kinds/openh264-signing/kind.yml b/taskcluster/kinds/openh264-signing/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - openh264-plugin +task-defaults: + run-on-repo-type: [hg] + tasks: openh264-signing: from-deps: diff --git a/taskcluster/kinds/packages/kind.yml b/taskcluster/kinds/packages/kind.yml @@ -11,6 +11,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] treeherder: kind: build platform: packages/opt diff --git a/taskcluster/kinds/partials-signing/kind.yml b/taskcluster/kinds/partials-signing/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - partials +task-defaults: + run-on-repo-type: [hg] + tasks: partials-signing: from-deps: diff --git a/taskcluster/kinds/partials-zucchini/kind.yml b/taskcluster/kinds/partials-zucchini/kind.yml @@ -20,6 +20,9 @@ only-for-attributes: - nightly - shippable +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - macosx64-shippable/opt - macosx64-devedition/opt diff --git a/taskcluster/kinds/partials/kind.yml b/taskcluster/kinds/partials/kind.yml @@ -18,6 +18,9 @@ only-for-attributes: - nightly - shippable +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - macosx64-shippable/opt - macosx64-devedition/opt diff --git a/taskcluster/kinds/perftest/kind.yml b/taskcluster/kinds/perftest/kind.yml @@ -27,6 +27,7 @@ tasks-from: - windows11-24h2-ref.yml task-defaults: + run-on-repo-type: [hg] attributes: retrigger: true run-on-projects: [] diff --git a/taskcluster/kinds/post-balrog-dummy/kind.yml b/taskcluster/kinds/post-balrog-dummy/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - balrog +task-defaults: + run-on-repo-type: [hg] + tasks: post-balrog-dummy: description: Dummy task to deal with max_dependencies diff --git a/taskcluster/kinds/post-beetmover-checksums-dummy/kind.yml b/taskcluster/kinds/post-beetmover-checksums-dummy/kind.yml @@ -14,6 +14,9 @@ kind-dependencies: - release-eme-free-repack-beetmover-checksums - release-beetmover-signed-langpacks-checksums +task-defaults: + run-on-repo-type: [hg] + tasks: firefox-promote: name: post-beetmover-checksums-dummy diff --git a/taskcluster/kinds/post-beetmover-components-dummy/kind.yml b/taskcluster/kinds/post-beetmover-components-dummy/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - beetmover-components +task-defaults: + run-on-repo-type: [hg] + tasks: post-beetmover: description: Dummy task to wait on all builds before publishing them diff --git a/taskcluster/kinds/post-beetmover-dummy/kind.yml b/taskcluster/kinds/post-beetmover-dummy/kind.yml @@ -15,6 +15,9 @@ kind-dependencies: - beetmover-repackage - beetmover-android-app +task-defaults: + run-on-repo-type: [hg] + tasks: post-beetmover-dummy: description: Dummy task to deal with max_dependencies diff --git a/taskcluster/kinds/post-langpack-dummy/kind.yml b/taskcluster/kinds/post-langpack-dummy/kind.yml @@ -11,6 +11,9 @@ transforms: kind-dependencies: - release-beetmover-signed-langpacks +task-defaults: + run-on-repo-type: [hg] + tasks: firefox-promote: name: post-langpack-dummy diff --git a/taskcluster/kinds/post-signing-dummy/kind.yml b/taskcluster/kinds/post-signing-dummy/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - signing +task-defaults: + run-on-repo-type: [hg] + tasks: post-signing-dummy: description: Dummy task to wait on all builds before publishing them diff --git a/taskcluster/kinds/post-update-verify-dummy/kind.yml b/taskcluster/kinds/post-update-verify-dummy/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - release-update-verify +task-defaults: + run-on-repo-type: [hg] + tasks: post-update-verify-dummy: description: Dummy task to deal with max_dependencies diff --git a/taskcluster/kinds/push-apks/kind.yml b/taskcluster/kinds/push-apks/kind.yml @@ -16,6 +16,9 @@ kind-dependencies: - signing-apk - android-startup-test +task-defaults: + run-on-repo-type: [hg] + tasks: push-bundle: description: Publish Fenix and Focus APKs diff --git a/taskcluster/kinds/push-bundle/kind.yml b/taskcluster/kinds/push-bundle/kind.yml @@ -16,6 +16,9 @@ kind-dependencies: - signing-bundle - android-startup-test +task-defaults: + run-on-repo-type: [hg] + tasks: push-bundle: description: Publish Fenix and Focus AABs diff --git a/taskcluster/kinds/reftest/kind.yml b/taskcluster/kinds/reftest/kind.yml @@ -18,6 +18,7 @@ transforms: # https://wiki.mozilla.org/Sheriffing/Job_Visibility_Policy task-defaults: + run-on-repo-type: [hg] attributes: retrigger: true use-python: default diff --git a/taskcluster/kinds/release-balrog-scheduling/kind.yml b/taskcluster/kinds/release-balrog-scheduling/kind.yml @@ -14,6 +14,7 @@ kind-dependencies: - release-push-langpacks task-defaults: + run-on-repo-type: [hg] run-on-projects: [] shipping-phase: ship worker-type: balrog diff --git a/taskcluster/kinds/release-balrog-submit-toplevel/kind.yml b/taskcluster/kinds/release-balrog-submit-toplevel/kind.yml @@ -12,6 +12,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] run-on-projects: [] # to make sure this never runs in CI shipping-phase: promote worker-type: balrog diff --git a/taskcluster/kinds/release-beetmover-push-to-release/kind.yml b/taskcluster/kinds/release-beetmover-push-to-release/kind.yml @@ -15,6 +15,7 @@ kind-dependencies: - post-update-verify-dummy task-defaults: + run-on-repo-type: [hg] run-on-projects: [] shipping-phase: push diff --git a/taskcluster/kinds/release-beetmover-signed-langpacks-checksums/kind.yml b/taskcluster/kinds/release-beetmover-signed-langpacks-checksums/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - release-beetmover-signed-langpacks +task-defaults: + run-on-repo-type: [hg] + tasks: release-beetmover-signed-langpacks-checksums: from-deps: diff --git a/taskcluster/kinds/release-beetmover-signed-langpacks/kind.yml b/taskcluster/kinds/release-beetmover-signed-langpacks/kind.yml @@ -18,6 +18,9 @@ only-for-attributes: - nightly - shippable +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt - linux64-devedition/opt diff --git a/taskcluster/kinds/release-beetmover-source-checksums/kind.yml b/taskcluster/kinds/release-beetmover-source-checksums/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - release-source-checksums-signing +task-defaults: + run-on-repo-type: [hg] + tasks: release-beetmover-source-checksums: from-deps: diff --git a/taskcluster/kinds/release-bouncer-aliases/kind.yml b/taskcluster/kinds/release-bouncer-aliases/kind.yml @@ -13,6 +13,7 @@ kind-dependencies: - release-bouncer-check task-defaults: + run-on-repo-type: [hg] description: Update bouncer aliases job worker-type: bouncer worker: diff --git a/taskcluster/kinds/release-bouncer-check/kind.yml b/taskcluster/kinds/release-bouncer-check/kind.yml @@ -14,6 +14,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] name: release-bouncer-check description: release bouncer check run-on-projects: [] # to make sure this never runs as part of CI diff --git a/taskcluster/kinds/release-bouncer-sub/kind.yml b/taskcluster/kinds/release-bouncer-sub/kind.yml @@ -10,6 +10,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] description: release bouncer submission job worker-type: bouncer worker: diff --git a/taskcluster/kinds/release-early-tagging/kind.yml b/taskcluster/kinds/release-early-tagging/kind.yml @@ -10,6 +10,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] description: Release Promotion version tag for buildN run-on-projects: [] shipping-phase: promote diff --git a/taskcluster/kinds/release-eme-free-repack-beetmover-checksums/kind.yml b/taskcluster/kinds/release-eme-free-repack-beetmover-checksums/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - release-eme-free-repack-beetmover +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - macosx64-shippable/opt - win32-shippable/opt diff --git a/taskcluster/kinds/release-eme-free-repack-beetmover/kind.yml b/taskcluster/kinds/release-eme-free-repack-beetmover/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - release-eme-free-repack-repackage-signing +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - macosx64-shippable/opt - win32-shippable/opt diff --git a/taskcluster/kinds/release-eme-free-repack-mac-notarization/kind.yml b/taskcluster/kinds/release-eme-free-repack-mac-notarization/kind.yml @@ -15,6 +15,9 @@ transforms: kind-dependencies: - release-eme-free-repack-mac-signing +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - macosx64-shippable/opt diff --git a/taskcluster/kinds/release-eme-free-repack-mac-signing/kind.yml b/taskcluster/kinds/release-eme-free-repack-mac-signing/kind.yml @@ -16,6 +16,9 @@ transforms: kind-dependencies: - release-eme-free-repack +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - macosx64-shippable/opt diff --git a/taskcluster/kinds/release-eme-free-repack-repackage-signing/kind.yml b/taskcluster/kinds/release-eme-free-repack-repackage-signing/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - release-eme-free-repack-repackage +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - win32-shippable/opt - win64-shippable/opt diff --git a/taskcluster/kinds/release-eme-free-repack-repackage/kind.yml b/taskcluster/kinds/release-eme-free-repack-repackage/kind.yml @@ -19,6 +19,9 @@ kind-dependencies: - release-eme-free-repack-mac-notarization - toolchain +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - macosx64-shippable/opt - win32-shippable/opt diff --git a/taskcluster/kinds/release-eme-free-repack/kind.yml b/taskcluster/kinds/release-eme-free-repack/kind.yml @@ -20,6 +20,7 @@ kind-dependencies: - shippable-l10n-mac-notarization task-defaults: + run-on-repo-type: [hg] name: eme-free-repack description: Release Promotion eme-free repacks run-on-projects: [] # to make sure this never runs as part of CI diff --git a/taskcluster/kinds/release-final-verify/kind.yml b/taskcluster/kinds/release-final-verify/kind.yml @@ -15,6 +15,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] name: final-verify run-on-projects: [] # to make sure this never runs as part of CI worker-type: b-linux-gcp diff --git a/taskcluster/kinds/release-flatpak-push/kind.yml b/taskcluster/kinds/release-flatpak-push/kind.yml @@ -13,6 +13,7 @@ kind-dependencies: - repackage-flatpak task-defaults: + run-on-repo-type: [hg] description: Pushes Flatpaks onto Flathub run-on-projects: [] # to make sure this never runs as part of CI run-on-releases: [beta, release, release-rc] diff --git a/taskcluster/kinds/release-generate-checksums-beetmover/kind.yml b/taskcluster/kinds/release-generate-checksums-beetmover/kind.yml @@ -12,6 +12,9 @@ transforms: kind-dependencies: - release-generate-checksums-signing +task-defaults: + run-on-repo-type: [hg] + tasks: release-generate-checksums-beetmover: from-deps: diff --git a/taskcluster/kinds/release-generate-checksums-signing/kind.yml b/taskcluster/kinds/release-generate-checksums-signing/kind.yml @@ -12,6 +12,9 @@ transforms: - gecko_taskgraph.transforms.release_generate_checksums_signing - gecko_taskgraph.transforms.task +task-defaults: + run-on-repo-type: [hg] + tasks: release-generate-checksums-signing: from-deps: {} diff --git a/taskcluster/kinds/release-generate-checksums/kind.yml b/taskcluster/kinds/release-generate-checksums/kind.yml @@ -17,6 +17,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] name: generate-checksums description: generates checksums run-on-projects: [] # to make sure this never runs as part of CI diff --git a/taskcluster/kinds/release-mark-as-shipped/kind.yml b/taskcluster/kinds/release-mark-as-shipped/kind.yml @@ -15,6 +15,7 @@ kind-dependencies: - release-version-bump task-defaults: + run-on-repo-type: [hg] description: mark release as shipped in Ship-It worker-type: shipit worker: diff --git a/taskcluster/kinds/release-msix-push/kind.yml b/taskcluster/kinds/release-msix-push/kind.yml @@ -14,6 +14,7 @@ kind-dependencies: - repackage-shippable-l10n-msix task-defaults: + run-on-repo-type: [hg] description: Pushes msix archives to Microsoft Store run-on-projects: [] # to make sure this never runs as part of CI run-on-releases: [beta, release, release-rc] diff --git a/taskcluster/kinds/release-notify-av-announce/kind.yml b/taskcluster/kinds/release-notify-av-announce/kind.yml @@ -13,6 +13,7 @@ kind-dependencies: - post-beetmover-dummy task-defaults: + run-on-repo-type: [hg] name: notify-av-announce description: Sends email to antivirus vendors telling them that the release is available for scanning. run-on-projects: [] diff --git a/taskcluster/kinds/release-notify-promote/kind.yml b/taskcluster/kinds/release-notify-promote/kind.yml @@ -15,6 +15,7 @@ kind-dependencies: - release-bouncer-sub task-defaults: + run-on-repo-type: [hg] name: notify-release-drivers-promote description: Sends email to release-drivers telling release was promoted. run-on-projects: [] diff --git a/taskcluster/kinds/release-notify-push/kind.yml b/taskcluster/kinds/release-notify-push/kind.yml @@ -14,6 +14,7 @@ kind-dependencies: - push-bundle task-defaults: + run-on-repo-type: [hg] name: notify-release-drivers-push description: Sends email to release-drivers telling release was pushed. run-on-projects: [] diff --git a/taskcluster/kinds/release-notify-ship/kind.yml b/taskcluster/kinds/release-notify-ship/kind.yml @@ -18,6 +18,7 @@ kind-dependencies: - post-beetmover-components-dummy task-defaults: + run-on-repo-type: [hg] name: notify-release-drivers-ship description: Sends email to release-drivers telling release was shipped. run-on-projects: [] diff --git a/taskcluster/kinds/release-notify-started/kind.yml b/taskcluster/kinds/release-notify-started/kind.yml @@ -11,6 +11,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] name: notify-release-drivers-started description: Sends email to release-drivers telling release was started. run-on-projects: [] diff --git a/taskcluster/kinds/release-notify-testrail/kind.yml b/taskcluster/kinds/release-notify-testrail/kind.yml @@ -13,6 +13,7 @@ kind-dependencies: - ui-test-apk task-defaults: + run-on-repo-type: [hg] description: Sends Slack message to release testers that Testrail Milestone was created. treeherder: kind: other diff --git a/taskcluster/kinds/release-partner-attribution-beetmover/kind.yml b/taskcluster/kinds/release-partner-attribution-beetmover/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - release-partner-attribution +task-defaults: + run-on-repo-type: [hg] + tasks: release-partner-attribution-beetmover: from-deps: diff --git a/taskcluster/kinds/release-partner-attribution/kind.yml b/taskcluster/kinds/release-partner-attribution/kind.yml @@ -21,6 +21,7 @@ kind-dependencies: # move this into the single job ?? task-defaults: + run-on-repo-type: [hg] attributes: build_platform: linux64-shippable build_type: opt diff --git a/taskcluster/kinds/release-partner-repack-beetmover/kind.yml b/taskcluster/kinds/release-partner-repack-beetmover/kind.yml @@ -14,6 +14,9 @@ transforms: kind-dependencies: - release-partner-repack-repackage-signing +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt - macosx64-shippable/opt diff --git a/taskcluster/kinds/release-partner-repack-bouncer-sub/kind.yml b/taskcluster/kinds/release-partner-repack-bouncer-sub/kind.yml @@ -9,6 +9,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] description: release partners bouncer submission job worker-type: bouncer worker: diff --git a/taskcluster/kinds/release-partner-repack-chunking-dummy/kind.yml b/taskcluster/kinds/release-partner-repack-chunking-dummy/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - release-partner-repack +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt diff --git a/taskcluster/kinds/release-partner-repack-mac-notarization/kind.yml b/taskcluster/kinds/release-partner-repack-mac-notarization/kind.yml @@ -15,6 +15,9 @@ transforms: kind-dependencies: - release-partner-repack-mac-signing +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - macosx64-shippable/opt diff --git a/taskcluster/kinds/release-partner-repack-mac-signing/kind.yml b/taskcluster/kinds/release-partner-repack-mac-signing/kind.yml @@ -16,6 +16,9 @@ transforms: kind-dependencies: - release-partner-repack +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - macosx64-shippable/opt diff --git a/taskcluster/kinds/release-partner-repack-repackage-signing/kind.yml b/taskcluster/kinds/release-partner-repack-repackage-signing/kind.yml @@ -15,6 +15,9 @@ kind-dependencies: - release-partner-repack-chunking-dummy # Linux - release-partner-repack-repackage # Windows, Mac +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt - macosx64-shippable/opt diff --git a/taskcluster/kinds/release-partner-repack-repackage/kind.yml b/taskcluster/kinds/release-partner-repack-repackage/kind.yml @@ -19,6 +19,9 @@ kind-dependencies: - release-partner-repack-mac-notarization - toolchain +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - macosx64-shippable/opt - win32-shippable/opt diff --git a/taskcluster/kinds/release-partner-repack/kind.yml b/taskcluster/kinds/release-partner-repack/kind.yml @@ -20,6 +20,7 @@ kind-dependencies: - shippable-l10n-mac-notarization task-defaults: + run-on-repo-type: [hg] name: partner-repack description: Release Promotion partner repacks run-on-projects: [] # to make sure this never runs as part of CI diff --git a/taskcluster/kinds/release-push-langpacks/kind.yml b/taskcluster/kinds/release-push-langpacks/kind.yml @@ -13,6 +13,9 @@ kind-dependencies: - build - shippable-l10n +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt # addons.mozilla.org only support 1 platform per locale. That's why we use linux64 - linux64-devedition/opt diff --git a/taskcluster/kinds/release-secondary-balrog-scheduling/kind.yml b/taskcluster/kinds/release-secondary-balrog-scheduling/kind.yml @@ -15,6 +15,7 @@ kind-dependencies: - release-secondary-balrog-submit-toplevel task-defaults: + run-on-repo-type: [hg] run-on-projects: [] shipping-phase: ship worker-type: balrog diff --git a/taskcluster/kinds/release-secondary-balrog-submit-toplevel/kind.yml b/taskcluster/kinds/release-secondary-balrog-submit-toplevel/kind.yml @@ -11,6 +11,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] run-on-projects: [] # to make sure this never runs in CI shipping-phase: promote worker-type: balrog diff --git a/taskcluster/kinds/release-secondary-final-verify/kind.yml b/taskcluster/kinds/release-secondary-final-verify/kind.yml @@ -17,6 +17,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] name: secondary-final-verify run-on-projects: [] # to make sure this never runs as part of CI worker-type: b-linux-gcp diff --git a/taskcluster/kinds/release-secondary-flatpak-push/kind.yml b/taskcluster/kinds/release-secondary-flatpak-push/kind.yml @@ -13,6 +13,7 @@ kind-dependencies: - repackage-flatpak task-defaults: + run-on-repo-type: [hg] description: Pushes Flatpaks onto Flathub run-on-projects: [] # to make sure this never runs as part of CI run-on-releases: [release-rc] diff --git a/taskcluster/kinds/release-secondary-notify-ship/kind.yml b/taskcluster/kinds/release-secondary-notify-ship/kind.yml @@ -13,6 +13,7 @@ kind-dependencies: - release-secondary-balrog-scheduling task-defaults: + run-on-repo-type: [hg] name: notify-release-drivers-ship description: Sends email to release-drivers telling release was shipped. run-on-projects: [] diff --git a/taskcluster/kinds/release-secondary-update-verify-config/kind.yml b/taskcluster/kinds/release-secondary-update-verify-config/kind.yml @@ -10,6 +10,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] name: secondary-update-verify-config run-on-projects: [] # to make sure this never runs as part of CI shipping-product: firefox diff --git a/taskcluster/kinds/release-secondary-update-verify/kind.yml b/taskcluster/kinds/release-secondary-update-verify/kind.yml @@ -18,6 +18,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] name: secondary-update-verify run-on-projects: [] # to make sure this never runs as part of CI shipping-phase: promote diff --git a/taskcluster/kinds/release-source-checksums-signing/kind.yml b/taskcluster/kinds/release-source-checksums-signing/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - beetmover-source +task-defaults: + run-on-repo-type: [hg] + tasks: release-source-checksums-signing: shipping-phase: promote diff --git a/taskcluster/kinds/release-source-signing/kind.yml b/taskcluster/kinds/release-source-signing/kind.yml @@ -14,6 +14,9 @@ transforms: kind-dependencies: - release-source +task-defaults: + run-on-repo-type: [hg] + tasks: release-source-signing: from-deps: diff --git a/taskcluster/kinds/release-source/kind.yml b/taskcluster/kinds/release-source/kind.yml @@ -16,6 +16,7 @@ transforms: task-defaults: + run-on-repo-type: [hg] shipping-phase: promote treeherder: symbol: Src diff --git a/taskcluster/kinds/release-update-product-channel-version/kind.yml b/taskcluster/kinds/release-update-product-channel-version/kind.yml @@ -14,6 +14,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] description: Update product channel version in Ship-It attributes: shippable: true diff --git a/taskcluster/kinds/release-update-verify-config-next/kind.yml b/taskcluster/kinds/release-update-verify-config-next/kind.yml @@ -11,6 +11,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] name: update-verify-config-next run-on-projects: [] # to make sure this never runs as part of CI run-on-releases: [esr140] diff --git a/taskcluster/kinds/release-update-verify-config/kind.yml b/taskcluster/kinds/release-update-verify-config/kind.yml @@ -10,6 +10,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] name: update-verify-config run-on-projects: [] # to make sure this never runs as part of CI shipping-phase: promote diff --git a/taskcluster/kinds/release-update-verify-next/kind.yml b/taskcluster/kinds/release-update-verify-next/kind.yml @@ -19,6 +19,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] name: update-verify-next run-on-projects: [] # to make sure this never runs as part of CI run-on-releases: [esr140] diff --git a/taskcluster/kinds/release-update-verify/kind.yml b/taskcluster/kinds/release-update-verify/kind.yml @@ -18,6 +18,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] name: update-verify run-on-projects: [] # to make sure this never runs as part of CI shipping-phase: promote diff --git a/taskcluster/kinds/release-version-bump/kind.yml b/taskcluster/kinds/release-version-bump/kind.yml @@ -15,6 +15,7 @@ kind-dependencies: - push-bundle task-defaults: + run-on-repo-type: [hg] description: Release Promotion version bump/tag run-on-projects: [] shipping-phase: ship diff --git a/taskcluster/kinds/repackage-deb-l10n/kind.yml b/taskcluster/kinds/repackage-deb-l10n/kind.yml @@ -16,6 +16,9 @@ transforms: kind-dependencies: - shippable-l10n-signing +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: # Langpacks support all CPU architectures. We just need to pick one - linux64-devedition/opt diff --git a/taskcluster/kinds/repackage-deb/kind.yml b/taskcluster/kinds/repackage-deb/kind.yml @@ -16,6 +16,9 @@ kind-dependencies: - build-signing - toolchain +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt - linux64-devedition/opt diff --git a/taskcluster/kinds/repackage-flatpak/kind.yml b/taskcluster/kinds/repackage-flatpak/kind.yml @@ -19,6 +19,9 @@ kind-dependencies: - l10n - shippable-l10n-signing +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64/opt - linux64-shippable/opt diff --git a/taskcluster/kinds/repackage-l10n/kind.yml b/taskcluster/kinds/repackage-l10n/kind.yml @@ -19,6 +19,9 @@ kind-dependencies: - shippable-l10n-mac-notarization - toolchain +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt - linux64-aarch64-shippable/opt diff --git a/taskcluster/kinds/repackage-msi/kind.yml b/taskcluster/kinds/repackage-msi/kind.yml @@ -16,6 +16,9 @@ kind-dependencies: - repackage-signing-l10n - fetch +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - win32-shippable/opt - win64-shippable/opt diff --git a/taskcluster/kinds/repackage-msix/kind.yml b/taskcluster/kinds/repackage-msix/kind.yml @@ -16,6 +16,9 @@ kind-dependencies: - build-signing - toolchain +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - win32/opt - win64/opt diff --git a/taskcluster/kinds/repackage-rpm/kind.yml b/taskcluster/kinds/repackage-rpm/kind.yml @@ -21,6 +21,9 @@ kind-dependencies: - shippable-l10n-signing - toolchain +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt - linux64-devedition/opt diff --git a/taskcluster/kinds/repackage-shippable-l10n-msix/kind.yml b/taskcluster/kinds/repackage-shippable-l10n-msix/kind.yml @@ -22,6 +22,9 @@ kind-dependencies: not-for-kind-dependencies: - shippable-l10n-signing +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - win32-shippable/opt - win64-shippable/opt diff --git a/taskcluster/kinds/repackage-signing-l10n/kind.yml b/taskcluster/kinds/repackage-signing-l10n/kind.yml @@ -14,6 +14,9 @@ transforms: kind-dependencies: - repackage-l10n +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - win32-shippable/opt - win32-devedition/opt diff --git a/taskcluster/kinds/repackage-signing-msi/kind.yml b/taskcluster/kinds/repackage-signing-msi/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - repackage-msi +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - win32-shippable/opt - win32-devedition/opt diff --git a/taskcluster/kinds/repackage-signing-msix/kind.yml b/taskcluster/kinds/repackage-signing-msix/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - repackage-msix +task-defaults: + run-on-repo-type: [hg] + tasks: repackage-signing-msix: from-deps: diff --git a/taskcluster/kinds/repackage-signing-shippable-l10n-msix/kind.yml b/taskcluster/kinds/repackage-signing-shippable-l10n-msix/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - repackage-shippable-l10n-msix +task-defaults: + run-on-repo-type: [hg] + tasks: repackage-signing-shippable-l10n-msix: from-deps: {} diff --git a/taskcluster/kinds/repackage-signing/kind.yml b/taskcluster/kinds/repackage-signing/kind.yml @@ -14,6 +14,9 @@ transforms: kind-dependencies: - repackage +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - win32-devedition/opt - win32-shippable/opt diff --git a/taskcluster/kinds/repackage/kind.yml b/taskcluster/kinds/repackage/kind.yml @@ -19,6 +19,9 @@ kind-dependencies: - build-mac-notarization - toolchain +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt - linux64-devedition/opt diff --git a/taskcluster/kinds/repo-update/kind.yml b/taskcluster/kinds/repo-update/kind.yml @@ -10,6 +10,7 @@ transforms: task-defaults: + run-on-repo-type: [hg] worker: env: DO_HSTS: diff --git a/taskcluster/kinds/run-macrobenchmark-firebase/kind.yml b/taskcluster/kinds/run-macrobenchmark-firebase/kind.yml @@ -16,6 +16,7 @@ kind-dependencies: - instrumented-build-macrobenchmark-apk task-defaults: + run-on-repo-type: [hg] attributes: build_platform: android build-type: debug diff --git a/taskcluster/kinds/scriptworker-canary/kind.yml b/taskcluster/kinds/scriptworker-canary/kind.yml @@ -10,6 +10,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] treeherder: platform: firefox-release/opt tier: 1 diff --git a/taskcluster/kinds/searchfox/kind.yml b/taskcluster/kinds/searchfox/kind.yml @@ -16,6 +16,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] index: product: firefox treeherder: diff --git a/taskcluster/kinds/sentry/kind.yml b/taskcluster/kinds/sentry/kind.yml @@ -9,6 +9,9 @@ transforms: - gecko_taskgraph.transforms.job:transforms - gecko_taskgraph.transforms.task:transforms +task-defaults: + run-on-repo-type: [hg] + tasks: mach-release: description: Inform Sentry of new revisions (aka Mach releases) diff --git a/taskcluster/kinds/shippable-l10n-mac-notarization/kind.yml b/taskcluster/kinds/shippable-l10n-mac-notarization/kind.yml @@ -18,6 +18,9 @@ kind-dependencies: only-for-attributes: - shippable +task-defaults: + run-on-repo-type: [hg] + tasks: shippable-l10n-mac-notarization: from-deps: diff --git a/taskcluster/kinds/shippable-l10n-mac-signing/kind.yml b/taskcluster/kinds/shippable-l10n-mac-signing/kind.yml @@ -15,6 +15,9 @@ transforms: kind-dependencies: - shippable-l10n +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - macosx64-shippable/opt - macosx64-devedition/opt diff --git a/taskcluster/kinds/shippable-l10n-signing/kind.yml b/taskcluster/kinds/shippable-l10n-signing/kind.yml @@ -24,6 +24,9 @@ not-for-build-platforms: - macosx64/opt - macosx64/debug +task-defaults: + run-on-repo-type: [hg] + tasks: shippable-l10n-signing: from-deps: diff --git a/taskcluster/kinds/shippable-l10n/kind.yml b/taskcluster/kinds/shippable-l10n/kind.yml @@ -17,6 +17,9 @@ kind-dependencies: - repackage - toolchain +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: - linux64-shippable/opt - linux64-aarch64-shippable/opt diff --git a/taskcluster/kinds/signing-apk/kind.yml b/taskcluster/kinds/signing-apk/kind.yml @@ -15,6 +15,9 @@ transforms: kind-dependencies: - build-apk +task-defaults: + run-on-repo-type: [hg] + tasks: sign-apk: description: Sign Android APKs diff --git a/taskcluster/kinds/signing-bundle/kind.yml b/taskcluster/kinds/signing-bundle/kind.yml @@ -15,6 +15,9 @@ transforms: kind-dependencies: - build-bundle +task-defaults: + run-on-repo-type: [hg] + tasks: sign-bundle: description: Sign Android AABs diff --git a/taskcluster/kinds/signing/kind.yml b/taskcluster/kinds/signing/kind.yml @@ -14,6 +14,9 @@ transforms: kind-dependencies: - build-components +task-defaults: + run-on-repo-type: [hg] + tasks: sign-build: description: Sign component diff --git a/taskcluster/kinds/snap-upstream-build/kind.yml b/taskcluster/kinds/snap-upstream-build/kind.yml @@ -14,6 +14,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] attributes: cron: true treeherder: diff --git a/taskcluster/kinds/snap-upstream-test/kind.yml b/taskcluster/kinds/snap-upstream-test/kind.yml @@ -18,6 +18,7 @@ kind-dependencies: - snap-upstream-build task-defaults: + run-on-repo-type: [hg] from-deps: group-by: single-with-filters attributes: diff --git a/taskcluster/kinds/source-test/kind.yml b/taskcluster/kinds/source-test/kind.yml @@ -46,6 +46,7 @@ tasks-from: - wpt-unittest.yml task-defaults: + run-on-repo-type: [hg] use-python: default use-uv: true attributes: diff --git a/taskcluster/kinds/spidermonkey/kind.yml b/taskcluster/kinds/spidermonkey/kind.yml @@ -16,6 +16,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] attributes: retrigger: true treeherder: diff --git a/taskcluster/kinds/startup-test/kind.yml b/taskcluster/kinds/startup-test/kind.yml @@ -23,6 +23,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] name: startup-test description: Check whether or not a product crashes on startup run-on-projects: ['mozilla-central'] diff --git a/taskcluster/kinds/static-analysis-autotest/kind.yml b/taskcluster/kinds/static-analysis-autotest/kind.yml @@ -16,6 +16,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] attributes: retrigger: true index: diff --git a/taskcluster/kinds/system-symbols-reprocess/kind.yml b/taskcluster/kinds/system-symbols-reprocess/kind.yml @@ -20,6 +20,9 @@ kind-dependencies: - system-symbols-upload - fetch +task-defaults: + run-on-repo-type: [hg] + tasks: system-symbols-reprocess: from-deps: diff --git a/taskcluster/kinds/system-symbols-upload/kind.yml b/taskcluster/kinds/system-symbols-upload/kind.yml @@ -13,6 +13,9 @@ transforms: kind-dependencies: - system-symbols +task-defaults: + run-on-repo-type: [hg] + tasks: system-symbols-upload: description: Upload Symbols diff --git a/taskcluster/kinds/system-symbols/kind.yml b/taskcluster/kinds/system-symbols/kind.yml @@ -13,6 +13,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] attributes: cron: true # This enables uploading symbols. diff --git a/taskcluster/kinds/test-apk/kind.yml b/taskcluster/kinds/test-apk/kind.yml @@ -16,6 +16,7 @@ kind-dependencies: - build-fat-aar task-defaults: + run-on-repo-type: [hg] attributes: build_platform: android retrigger: true diff --git a/taskcluster/kinds/test-components/kind.yml b/taskcluster/kinds/test-components/kind.yml @@ -17,6 +17,7 @@ kind-dependencies: task-defaults: + run-on-repo-type: [hg] attributes: build_platform: android build-type: debug diff --git a/taskcluster/kinds/test/kind.yml b/taskcluster/kinds/test/kind.yml @@ -37,6 +37,7 @@ tasks-from: - xpcshell.yml task-defaults: + run-on-repo-type: [hg] attributes: retrigger: true use-python: default diff --git a/taskcluster/kinds/toolchain-dxc-upload/kind.yml b/taskcluster/kinds/toolchain-dxc-upload/kind.yml @@ -14,6 +14,9 @@ transforms: kind-dependencies: - toolchain +task-defaults: + run-on-repo-type: [hg] + tasks: dxc-symbols-upload: description: Upload symbols for `DirectXShaderCompiler`. diff --git a/taskcluster/kinds/toolchain/kind.yml b/taskcluster/kinds/toolchain/kind.yml @@ -15,6 +15,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] treeherder: kind: build platform: toolchains/opt diff --git a/taskcluster/kinds/trigger-comm-central/kind.yml b/taskcluster/kinds/trigger-comm-central/kind.yml @@ -10,6 +10,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] run-on-projects: ['mozilla-central-only'] treeherder: kind: other diff --git a/taskcluster/kinds/ui-test-apk/kind.yml b/taskcluster/kinds/ui-test-apk/kind.yml @@ -16,6 +16,7 @@ kind-dependencies: - signing-apk task-defaults: + run-on-repo-type: [hg] attributes: build_platform: android build-type: debug diff --git a/taskcluster/kinds/update-test/kind.yml b/taskcluster/kinds/update-test/kind.yml @@ -19,6 +19,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] shipping-phase: promote shipping-product: firefox run-on-releases: [release, release-rc, beta, esr140] diff --git a/taskcluster/kinds/updatebot/kind.yml b/taskcluster/kinds/updatebot/kind.yml @@ -13,6 +13,9 @@ transforms: - gecko_taskgraph.transforms.job:transforms - gecko_taskgraph.transforms.task:transforms +task-defaults: + run-on-repo-type: [hg] + tasks: cron: description: Cron Job for Updatebot diff --git a/taskcluster/kinds/upload-generated-sources-dummy/kind.yml b/taskcluster/kinds/upload-generated-sources-dummy/kind.yml @@ -10,6 +10,9 @@ transforms: - gecko_taskgraph.transforms.mac_dummy - gecko_taskgraph.transforms.task +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: macosx64-shippable/opt macosx64-devedition/opt diff --git a/taskcluster/kinds/upload-generated-sources/kind.yml b/taskcluster/kinds/upload-generated-sources/kind.yml @@ -22,6 +22,9 @@ not-for-build-platforms: - macosx64-shippable/opt - macosx64-devedition/opt +task-defaults: + run-on-repo-type: [hg] + tasks: upload-generated-sources: description: Upload generated source files from build diff --git a/taskcluster/kinds/upload-symbols-dummy/kind.yml b/taskcluster/kinds/upload-symbols-dummy/kind.yml @@ -10,6 +10,9 @@ transforms: - gecko_taskgraph.transforms.mac_dummy - gecko_taskgraph.transforms.task +task-defaults: + run-on-repo-type: [hg] + only-for-build-platforms: macosx64-shippable/opt macosx64-devedition/opt diff --git a/taskcluster/kinds/upload-symbols/kind.yml b/taskcluster/kinds/upload-symbols/kind.yml @@ -27,6 +27,9 @@ not-for-build-platforms: - win64-geckodriver/opt - win64-aarch64-geckodriver/opt +task-defaults: + run-on-repo-type: [hg] + tasks: upload-symbols: description: Upload Symbols diff --git a/taskcluster/kinds/valgrind/kind.yml b/taskcluster/kinds/valgrind/kind.yml @@ -15,6 +15,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] attributes: retrigger: true use-python: default diff --git a/taskcluster/kinds/web-platform-tests/kind.yml b/taskcluster/kinds/web-platform-tests/kind.yml @@ -18,6 +18,7 @@ transforms: # https://wiki.mozilla.org/Sheriffing/Job_Visibility_Policy task-defaults: + run-on-repo-type: [hg] attributes: retrigger: true use-python: default diff --git a/taskcluster/kinds/webrender/kind.yml b/taskcluster/kinds/webrender/kind.yml @@ -13,6 +13,7 @@ transforms: - gecko_taskgraph.transforms.task:transforms task-defaults: + run-on-repo-type: [hg] attributes: retrigger: true run-on-projects: ['integration', 'release']