gecko_taskgraph package¶
Subpackages¶
- gecko_taskgraph.actions package
- Submodules
- gecko_taskgraph.actions.add_new_jobs module
- gecko_taskgraph.actions.add_talos module
- gecko_taskgraph.actions.backfill module
- gecko_taskgraph.actions.cancel module
- gecko_taskgraph.actions.cancel_all module
- gecko_taskgraph.actions.confirm_failure module
- gecko_taskgraph.actions.create_interactive module
- gecko_taskgraph.actions.gecko_profile module
- gecko_taskgraph.actions.googleplay module
- gecko_taskgraph.actions.merge_automation module
- gecko_taskgraph.actions.openh264 module
- gecko_taskgraph.actions.purge_caches module
- gecko_taskgraph.actions.raptor_extra_options module
- gecko_taskgraph.actions.rebuild_cached_tasks module
- gecko_taskgraph.actions.registry module
- gecko_taskgraph.actions.release_promotion module
- gecko_taskgraph.actions.retrigger module
- gecko_taskgraph.actions.retrigger_custom module
- gecko_taskgraph.actions.run_missing_tests module
- gecko_taskgraph.actions.scriptworker_canary module
- gecko_taskgraph.actions.side_by_side module
- gecko_taskgraph.actions.util module
add_args_to_command()
combine_task_graph_files()
create_task_from_def()
create_tasks()
fetch_graph_and_labels()
get_decision_task_id()
get_parameters()
get_pushes()
get_pushes_from_params_input()
get_tasks_with_downstream()
relativize_datestamps()
trigger_action()
update_action_tag()
update_dependencies()
update_parent()
- Module contents
- gecko_taskgraph.loader package
- gecko_taskgraph.optimize package
- Submodules
- gecko_taskgraph.optimize.backstop module
- gecko_taskgraph.optimize.bugbug module
- gecko_taskgraph.optimize.mozlint module
- gecko_taskgraph.optimize.schema module
- gecko_taskgraph.optimize.strategies module
- Module contents
ExperimentalOverride
experimental
experimental.bugbug_debug_disperse
experimental.bugbug_disperse_high
experimental.bugbug_disperse_low
experimental.bugbug_disperse_medium
experimental.bugbug_disperse_medium_no_unseen
experimental.bugbug_disperse_medium_only_one
experimental.bugbug_disperse_reduced_medium
experimental.bugbug_reduced
experimental.bugbug_reduced_high
experimental.bugbug_reduced_manifests_config_selection_low
experimental.bugbug_reduced_manifests_config_selection_medium
experimental.bugbug_tasks_high
experimental.bugbug_tasks_medium
experimental.relevant_tests
project
split_bugbug_arg()
- gecko_taskgraph.transforms package
- Subpackages
- gecko_taskgraph.transforms.job package
- Submodules
- gecko_taskgraph.transforms.job.common module
- gecko_taskgraph.transforms.job.distro_package module
- gecko_taskgraph.transforms.job.hazard module
- gecko_taskgraph.transforms.job.mach module
- gecko_taskgraph.transforms.job.mozharness module
- gecko_taskgraph.transforms.job.mozharness_test module
- gecko_taskgraph.transforms.job.python_test module
- gecko_taskgraph.transforms.job.run_task module
- gecko_taskgraph.transforms.job.spidermonkey module
- gecko_taskgraph.transforms.job.toolchain module
- Module contents
- gecko_taskgraph.transforms.job package
- Submodules
- gecko_taskgraph.transforms.artifact module
- gecko_taskgraph.transforms.attribution module
- gecko_taskgraph.transforms.balrog_submit module
- gecko_taskgraph.transforms.balrog_toplevel module
- gecko_taskgraph.transforms.beetmover module
- gecko_taskgraph.transforms.beetmover_apt module
- gecko_taskgraph.transforms.beetmover_checksums module
- gecko_taskgraph.transforms.beetmover_emefree_checksums module
- gecko_taskgraph.transforms.beetmover_geckoview module
- gecko_taskgraph.transforms.beetmover_langpack_checksums module
- gecko_taskgraph.transforms.beetmover_push_to_release module
- gecko_taskgraph.transforms.beetmover_repackage module
- gecko_taskgraph.transforms.beetmover_repackage_l10n module
- gecko_taskgraph.transforms.beetmover_repackage_partner module
- gecko_taskgraph.transforms.beetmover_source module
- gecko_taskgraph.transforms.beetmover_source_checksums module
- gecko_taskgraph.transforms.bootstrap module
- gecko_taskgraph.transforms.bouncer_aliases module
- gecko_taskgraph.transforms.bouncer_check module
- gecko_taskgraph.transforms.bouncer_locations module
- gecko_taskgraph.transforms.bouncer_submission module
- gecko_taskgraph.transforms.bouncer_submission_partners module
- gecko_taskgraph.transforms.build module
- gecko_taskgraph.transforms.build_attrs module
- gecko_taskgraph.transforms.build_fat_aar module
- gecko_taskgraph.transforms.build_lints module
- gecko_taskgraph.transforms.build_schedules module
- gecko_taskgraph.transforms.build_signing module
- gecko_taskgraph.transforms.cached_tasks module
- gecko_taskgraph.transforms.chunk_partners module
- gecko_taskgraph.transforms.code_review module
- gecko_taskgraph.transforms.condprof module
- gecko_taskgraph.transforms.cross_channel module
- gecko_taskgraph.transforms.diffoscope module
- gecko_taskgraph.transforms.docker_image module
- gecko_taskgraph.transforms.fetch module
- gecko_taskgraph.transforms.final_verify module
- gecko_taskgraph.transforms.geckodriver_mac_notarization module
- gecko_taskgraph.transforms.geckodriver_signing module
- gecko_taskgraph.transforms.hardened_signing module
- gecko_taskgraph.transforms.l10n module
- gecko_taskgraph.transforms.mac_dummy module
- gecko_taskgraph.transforms.mac_notarization module
- gecko_taskgraph.transforms.mar_signing module
- gecko_taskgraph.transforms.maybe_release module
- gecko_taskgraph.transforms.merge_automation module
- gecko_taskgraph.transforms.name_sanity module
- gecko_taskgraph.transforms.openh264 module
- gecko_taskgraph.transforms.openh264_signing module
- gecko_taskgraph.transforms.partials module
- gecko_taskgraph.transforms.partner_attribution module
- gecko_taskgraph.transforms.partner_attribution_beetmover module
- gecko_taskgraph.transforms.partner_repack module
- gecko_taskgraph.transforms.partner_signing module
- gecko_taskgraph.transforms.per_platform_dummy module
- gecko_taskgraph.transforms.perftest module
apply_perftest_tier_optimization()
handle_keyed_by_perftest()
parse_perftest_metrics()
pass_perftest_options()
setup_http3_tests()
setup_perftest_browsertime_variants()
setup_perftest_extra_options()
setup_perftest_metrics()
setup_perftest_test_date()
setup_regression_detector()
split_btime_variants()
split_perftest_variants()
split_tests()
- gecko_taskgraph.transforms.python_update module
- gecko_taskgraph.transforms.release module
- gecko_taskgraph.transforms.release_beetmover_signed_addons module
- gecko_taskgraph.transforms.release_deps module
- gecko_taskgraph.transforms.release_flatpak_push module
- gecko_taskgraph.transforms.release_flatpak_repackage module
- gecko_taskgraph.transforms.release_generate_checksums module
- gecko_taskgraph.transforms.release_generate_checksums_beetmover module
- gecko_taskgraph.transforms.release_generate_checksums_signing module
- gecko_taskgraph.transforms.release_mark_as_shipped module
- gecko_taskgraph.transforms.release_msix_push module
- gecko_taskgraph.transforms.release_notifications module
- gecko_taskgraph.transforms.release_sign_and_push_langpacks module
- gecko_taskgraph.transforms.release_snap_repackage module
- gecko_taskgraph.transforms.release_started module
- gecko_taskgraph.transforms.release_update_product_channel_version module
- gecko_taskgraph.transforms.release_version_bump module
- gecko_taskgraph.transforms.repackage module
- gecko_taskgraph.transforms.repackage_l10n module
- gecko_taskgraph.transforms.repackage_partner module
- gecko_taskgraph.transforms.repackage_routes module
- gecko_taskgraph.transforms.repackage_set_upstream_mac_kind module
- gecko_taskgraph.transforms.repackage_signing module
- gecko_taskgraph.transforms.repackage_signing_partner module
- gecko_taskgraph.transforms.repo_update module
- gecko_taskgraph.transforms.reprocess_symbols module
- gecko_taskgraph.transforms.reverse_chunk_deps module
- gecko_taskgraph.transforms.run_pgo_profile module
- gecko_taskgraph.transforms.scriptworker module
- gecko_taskgraph.transforms.scriptworker_canary module
- gecko_taskgraph.transforms.sentry module
- gecko_taskgraph.transforms.shippable_l10n_signing module
- gecko_taskgraph.transforms.signing module
- gecko_taskgraph.transforms.snap_test module
- gecko_taskgraph.transforms.source_checksums_signing module
- gecko_taskgraph.transforms.source_test module
- gecko_taskgraph.transforms.spidermonkey module
- gecko_taskgraph.transforms.split_by_locale module
- gecko_taskgraph.transforms.startup_test module
- gecko_taskgraph.transforms.task module
PayloadBuilder
add_android_shippable_index_routes()
add_android_shippable_multi_index_routes()
add_geckoview_index_routes()
add_generic_index_routes()
add_index_routes()
add_l10n_index_routes()
add_shippable_index_routes()
add_shippable_l10n_index_routes()
add_shippable_multi_index_routes()
build_balrog_payload()
build_beetmover_maven_payload()
build_beetmover_payload()
build_beetmover_push_to_release_payload()
build_bouncer_aliases_payload()
build_bouncer_locations_payload()
build_bouncer_submission_payload()
build_docker_worker_payload()
build_dummy_payload()
build_generic_worker_payload()
build_import_from_gcs_to_artifact_registry_payload()
build_invalid_payload()
build_push_addons_payload()
build_push_flatpak_payload()
build_push_msix_payload()
build_scriptworker_signing_payload()
build_ship_it_maybe_release_payload()
build_ship_it_shipped_payload()
build_ship_it_update_product_channel_version_payload()
build_task()
build_treescript_payload()
chain_of_trust()
check_caches_are_volumes()
check_required_volumes()
check_run_task_caches()
check_task_dependencies()
check_task_identifiers()
get_branch_repo()
get_branch_rev()
get_default_priority()
index_builder()
payload_builder()
set_defaults()
set_implementation()
set_task_and_artifact_expiry()
setup_raptor()
task_name_from_label()
try_task_config_chemspill_prio()
try_task_config_env()
try_task_config_routes()
validate()
validate_shipping_product()
verify_index()
- gecko_taskgraph.transforms.test_apk module
- gecko_taskgraph.transforms.trigger_comm_central module
- gecko_taskgraph.transforms.try_job module
- gecko_taskgraph.transforms.update_verify module
- gecko_taskgraph.transforms.update_verify_config module
- gecko_taskgraph.transforms.upload_generated_sources module
- gecko_taskgraph.transforms.upload_symbols module
- Module contents
- Subpackages
- gecko_taskgraph.util package
- Submodules
- gecko_taskgraph.util.attributes module
- gecko_taskgraph.util.backstop module
- gecko_taskgraph.util.bugbug module
- gecko_taskgraph.util.cached_tasks module
- gecko_taskgraph.util.chunking module
- gecko_taskgraph.util.declarative_artifacts module
- gecko_taskgraph.util.dependencies module
- gecko_taskgraph.util.docker module
- gecko_taskgraph.util.hash module
- gecko_taskgraph.util.hg module
- gecko_taskgraph.util.partials module
- gecko_taskgraph.util.partners module
GITHUB_API_ENDPOINT
apply_partner_priority()
check_if_partners_enabled()
check_login()
fix_partner_config()
generate_attribution_code()
get_attribution_config()
get_ftp_platform()
get_partner_config_by_kind()
get_partner_config_by_url()
get_partner_url_config()
get_partners()
get_partners_to_be_published()
get_repack_configs()
get_repack_ids_by_platform()
get_repo_params()
get_token()
locales_per_build_platform()
parse_config()
query_api()
- gecko_taskgraph.util.perfile module
- gecko_taskgraph.util.perftest module
- gecko_taskgraph.util.platforms module
- gecko_taskgraph.util.scriptworker module
BALROG_ACTIONS
BALROG_SCOPE_ALIAS_TO_PROJECT
BALROG_SERVER_SCOPES
BEETMOVER_ACTION_SCOPES
BEETMOVER_APT_REPO_SCOPES
BEETMOVER_BUCKET_SCOPES
BEETMOVER_REPO_ACTION_SCOPES
BEETMOVER_SCOPE_ALIAS_TO_PROJECT
DEVEDITION_SIGNING_CERT_SCOPES
SIGNING_SCOPE_ALIAS_TO_PROJECT
add_scope_prefix()
generate_artifact_registry_gcs_sources()
generate_beetmover_artifact_map()
generate_beetmover_partials_artifact_map()
generate_beetmover_upstream_artifacts()
get_balrog_server_scope()
get_beetmover_action_scope()
get_beetmover_apt_repo_scope()
get_beetmover_bucket_scope()
get_beetmover_repo_action_scope()
get_devedition_signing_cert_scope()
get_phase_from_target_method()
get_release_config()
get_scope_from_project()
get_scope_from_release_type()
get_signing_cert_scope()
get_signing_cert_scope_per_platform()
with_scope_prefix()
- gecko_taskgraph.util.signed_artifacts module
- gecko_taskgraph.util.taskcluster module
- gecko_taskgraph.util.taskgraph module
- gecko_taskgraph.util.verify module
DocPaths
verify_aliases()
verify_always_optimized()
verify_attributes()
verify_dependency_tiers()
verify_docs()
verify_kinds_docs()
verify_parameters_docs()
verify_required_signoffs()
verify_routes_notification_filters()
verify_run_known_projects()
verify_run_using()
verify_shippable_no_sccache()
verify_task_graph_symbol()
verify_test_packaging()
verify_trust_domain_v2_routes()
- gecko_taskgraph.util.workertypes module
- Module contents
Submodules¶
gecko_taskgraph.config module¶
gecko_taskgraph.decision module¶
- gecko_taskgraph.decision.full_task_graph_to_manifests_by_task(full_task_json)¶
- gecko_taskgraph.decision.full_task_graph_to_runnable_jobs(full_task_json)¶
- gecko_taskgraph.decision.get_decision_parameters(graph_config, options)¶
Load parameters from the command-line options for ‘taskgraph decision’. This also applies per-project parameters, based on the given project.
- gecko_taskgraph.decision.get_existing_tasks(rebuild_kinds, parameters, graph_config)¶
Find the decision task corresponding to the on-push graph, and return a mapping of labels to task-ids from it. This will skip the kinds specificed by rebuild_kinds.
- gecko_taskgraph.decision.read_artifact(filename)¶
- gecko_taskgraph.decision.rename_artifact(src, dest)¶
- gecko_taskgraph.decision.set_decision_indexes(decision_task_id, params, graph_config)¶
- gecko_taskgraph.decision.set_try_config(parameters, task_config_file)¶
- gecko_taskgraph.decision.taskgraph_decision(options, parameters=None)¶
Run the decision task. This function implements mach taskgraph decision, and is responsible for
processing decision task command-line options into parameters
running task-graph generation exactly the same way the other mach taskgraph commands do
generating a set of artifacts to memorialize the graph
calling TaskCluster APIs to create the graph
- gecko_taskgraph.decision.try_syntax_from_message(message)¶
Parse the try syntax out of a commit message, returning ‘’ if none is found.
- gecko_taskgraph.decision.write_artifact(filename, data)¶
gecko_taskgraph.docker module¶
- gecko_taskgraph.docker.build_context(name, outputFile, args=None)¶
Build a context.tar for image with specified name.
- gecko_taskgraph.docker.build_image(name, tag, args=None)¶
Build a Docker image of specified name.
Output from image building process will be printed to stdout.
- gecko_taskgraph.docker.get_image_digest(image_name)¶
- gecko_taskgraph.docker.load_image_by_name(image_name, tag=None)¶
gecko_taskgraph.files_changed module¶
Support for optimizing tasks based on the set of files that have changed.
- gecko_taskgraph.files_changed.check(params, file_patterns)¶
Determine whether any of the files changed in the indicated push to https://hg.mozilla.org match any of the given file patterns.
- gecko_taskgraph.files_changed.get_changed_files(repository, revision)¶
Get the set of files changed in the push headed by the given revision. Responses are cached, so multiple calls with the same arguments are OK.
- gecko_taskgraph.files_changed.get_locally_changed_files(repo)¶
gecko_taskgraph.filter_tasks module¶
- gecko_taskgraph.filter_tasks.target_tasks_try_auto(full_task_graph, parameters, graph_config)¶
Target the tasks which have indicated they should be run on autoland (rather than try) via the run_on_projects attributes.
Should do the same thing as the default target tasks method.
- gecko_taskgraph.filter_tasks.target_tasks_try_select(full_task_graph, parameters, graph_config)¶
- gecko_taskgraph.filter_tasks.target_tasks_try_select_uncommon(full_task_graph, parameters, graph_config)¶
gecko_taskgraph.main module¶
- gecko_taskgraph.main.action_callback(options)¶
- gecko_taskgraph.main.build_image(args)¶
- gecko_taskgraph.main.create_parser()¶
- gecko_taskgraph.main.decision(options)¶
- gecko_taskgraph.main.format_taskgraph_yaml(taskgraph)¶
- gecko_taskgraph.main.image_digest(args)¶
- gecko_taskgraph.main.load_image(args)¶
- gecko_taskgraph.main.main(args=['doc', '--upload', '--no-open', '--no-serve', '--write-url', '/builds/worker/firefox-source-docs-url.txt', '--dump-trees=/builds/worker/artifacts/trees.json'])¶
- gecko_taskgraph.main.setup_logging()¶
- gecko_taskgraph.main.show_taskgraph(options)¶
- gecko_taskgraph.main.test_action_callback(options)¶
gecko_taskgraph.morph module¶
Graph morphs are modifications to task-graphs that take place after the optimization phase.
These graph morphs are largely invisible to developers running ./mach locally, so they should be limited to changes that do not modify the meaning of the graph.
- gecko_taskgraph.morph.add_eager_cache_index_tasks(taskgraph, label_to_taskid, parameters, graph_config)¶
Some tasks (e.g. cached tasks) we want to exist in the index before they even run/complete. Our current use is to allow us to depend on an unfinished cached task in future pushes. This graph morph adds “eager-index tasks” that depend on the decision task and do the index insertions directly, which does not need to wait on the pointed at task to complete.
- gecko_taskgraph.morph.add_index_tasks(taskgraph, label_to_taskid, parameters, graph_config)¶
The TaskCluster queue only allows 10 routes on a task, but we have tasks with many more routes, for purposes of indexing. This graph morph adds “index tasks” that depend on such tasks and do the index insertions directly, avoiding the limits on task.routes.
- gecko_taskgraph.morph.add_try_task_duplicates(taskgraph, label_to_taskid, parameters, graph_config)¶
- gecko_taskgraph.morph.amend_taskgraph(taskgraph, label_to_taskid, to_add)¶
Add the given tasks to the taskgraph, returning a new taskgraph
- gecko_taskgraph.morph.derive_misc_task(target_task, purpose, image, taskgraph, label_to_taskid, parameters, graph_config, dependencies)¶
Create the shell of a task that depends on dependencies and on the given docker image.
- gecko_taskgraph.morph.make_index_task(parent_task, taskgraph, label_to_taskid, parameters, graph_config, index_paths, index_rank, purpose, dependencies)¶
gecko_taskgraph.parameters module¶
- gecko_taskgraph.parameters.get_app_version(product_dir='browser')¶
- gecko_taskgraph.parameters.get_contents(path)¶
- gecko_taskgraph.parameters.get_defaults(repo_root=None)¶
- gecko_taskgraph.parameters.get_version(product_dir='browser')¶
- gecko_taskgraph.parameters.register_parameters()¶
gecko_taskgraph.target_tasks module¶
- gecko_taskgraph.target_tasks.accept_awsy_task(try_name, platform)¶
- gecko_taskgraph.target_tasks.accept_raptor_android_build(platform)¶
Helper function for selecting the correct android raptor builds.
- gecko_taskgraph.target_tasks.accept_raptor_desktop_build(platform)¶
Helper function for selecting correct desktop raptor builds.
- gecko_taskgraph.target_tasks.filter_by_regex(task_label, regexes, mode='include')¶
Filters tasks according to a list of pre-compiled reguar expressions.
If mode is “include”, a task label must match any regex to pass. If it is “exclude”, a task label must _not_ match any regex to pass.
- gecko_taskgraph.target_tasks.filter_by_uncommon_try_tasks(task, optional_filters=None)¶
Filters tasks that should not be commonly run on try.
- Parameters:
task (str) – String representing the task name.
optional_filters (list, optional) – Additional filters to apply to task filtering.
- Returns:
- True if task does not match any known filters.
False otherwise.
- Return type:
(Boolean)
- gecko_taskgraph.target_tasks.filter_for_hg_branch(task, parameters)¶
Filter tasks by hg branch. If run_on_hg_branch is not defined, then task runs on all branches
- gecko_taskgraph.target_tasks.filter_for_project(task, parameters)¶
Filter tasks by project. Optionally enable nightlies.
- gecko_taskgraph.target_tasks.filter_on_platforms(task, platforms)¶
Filter tasks on the given platform
- gecko_taskgraph.target_tasks.filter_out_android_on_esr(parameters, task)¶
- gecko_taskgraph.target_tasks.filter_out_cron(task, parameters)¶
Filter out tasks that run via cron.
- gecko_taskgraph.target_tasks.filter_out_devedition(task, parameters)¶
- gecko_taskgraph.target_tasks.filter_out_missing_signoffs(task, parameters)¶
- gecko_taskgraph.target_tasks.filter_out_shippable(task)¶
- gecko_taskgraph.target_tasks.filter_out_shipping_phase(task, parameters)¶
- gecko_taskgraph.target_tasks.filter_release_tasks(task, parameters)¶
- gecko_taskgraph.target_tasks.filter_tests_without_manifests(task, parameters)¶
Remove test tasks that have an empty ‘test_manifests’ attribute.
This situation can arise when the test loader (e.g bugbug) decided there weren’t any important manifests to run for the given push. We filter tasks out here rather than in the transforms so that the full task graph is still aware that the task exists (which is needed by the backfill action).
- gecko_taskgraph.target_tasks.filter_unsupported_artifact_builds(task, parameters)¶
- gecko_taskgraph.target_tasks.index_exists(index_path, reason='')¶
- gecko_taskgraph.target_tasks.make_desktop_nightly_filter(platforms)¶
Returns a filter that gets all nightly tasks on the given platform.
- gecko_taskgraph.target_tasks.standard_filter(task, parameters)¶
- gecko_taskgraph.target_tasks.target_tasks_android_l10n_import(full_task_graph, parameters, graph_config)¶
- gecko_taskgraph.target_tasks.target_tasks_android_l10n_sync(full_task_graph, parameters, graph_config)¶
- gecko_taskgraph.target_tasks.target_tasks_autoland(full_task_graph, parameters, graph_config)¶
In addition to doing the filtering by project that the ‘default’ filter does, also remove any tests running against shippable builds for non-backstop pushes.
- gecko_taskgraph.target_tasks.target_tasks_backfill_all_browsertime(full_task_graph, parameters, graph_config)¶
Search for revisions that contains patches that were reviewed by perftest reviewers and landed the day before the cron is running. Trigger backfill-all-browsertime action task on each of them.
- gecko_taskgraph.target_tasks.target_tasks_bouncer_check(full_task_graph, parameters, graph_config)¶
Select the set of tasks required to perform bouncer version verification.
- gecko_taskgraph.target_tasks.target_tasks_build_linux64_clang_trunk_perf(full_task_graph, parameters, graph_config)¶
Select tasks required to run perf test on linux64 build with clang trunk
- gecko_taskgraph.target_tasks.target_tasks_codereview(full_task_graph, parameters, graph_config)¶
Select all code review tasks needed to produce a report
- gecko_taskgraph.target_tasks.target_tasks_condprof(full_task_graph, parameters, graph_config)¶
Select tasks required for building conditioned profiles.
- gecko_taskgraph.target_tasks.target_tasks_custom_car_perf_testing(full_task_graph, parameters, graph_config)¶
Select tasks required for running daily performance tests for custom chromium-as-release.
- gecko_taskgraph.target_tasks.target_tasks_customv8_update(full_task_graph, parameters, graph_config)¶
Select tasks required for building latest d8/v8 version.
- gecko_taskgraph.target_tasks.target_tasks_cypress(full_task_graph, parameters, graph_config)¶
- gecko_taskgraph.target_tasks.target_tasks_daily_beta_perf(full_task_graph, parameters, graph_config)¶
Select performance tests on the beta branch to be run daily
- gecko_taskgraph.target_tasks.target_tasks_daily_releases(full_task_graph, parameters, graph_config)¶
Select the set of tasks required to identify if we should release. If we determine that we should the task will communicate to ship-it to schedule the release itself.
- gecko_taskgraph.target_tasks.target_tasks_default(full_task_graph, parameters, graph_config)¶
Target the tasks which have indicated they should be run on this project via the run_on_projects attributes.
- gecko_taskgraph.target_tasks.target_tasks_eslint_build(full_task_graph, parameters, graph_config)¶
Select the task to run additional ESLint rules which require a build.
- gecko_taskgraph.target_tasks.target_tasks_file_update(full_task_graph, parameters, graph_config)¶
Select the set of tasks required to perform nightly in-tree file updates
- gecko_taskgraph.target_tasks.target_tasks_general_perf_testing(full_task_graph, parameters, graph_config)¶
Select tasks required for running performance tests 3 times a week.
- gecko_taskgraph.target_tasks.target_tasks_graphics(full_task_graph, parameters, graph_config)¶
In addition to doing the filtering by project that the ‘default’ filter does, also remove artifact builds because we have csets on the graphics branch that aren’t on the candidate branches of artifact builds
- gecko_taskgraph.target_tasks.target_tasks_holly(full_task_graph, parameters, graph_config)¶
Bug 1814661: only run updatebot tasks on holly
- gecko_taskgraph.target_tasks.target_tasks_kaios(full_task_graph, parameters, graph_config)¶
The set of tasks to run for kaios integration
- gecko_taskgraph.target_tasks.target_tasks_l10n_bump(full_task_graph, parameters, graph_config)¶
Select the set of tasks required to perform l10n bumping.
- gecko_taskgraph.target_tasks.target_tasks_l10n_cross_channel(full_task_graph, parameters, graph_config)¶
Select the set of tasks required to run l10n cross-channel.
- gecko_taskgraph.target_tasks.target_tasks_larch(full_task_graph, parameters, graph_config)¶
Bug 1879213 - only run necessary tasks on larch
- gecko_taskgraph.target_tasks.target_tasks_merge_automation(full_task_graph, parameters, graph_config)¶
Select the set of tasks required to perform repository merges.
- gecko_taskgraph.target_tasks.target_tasks_mozilla_beta(full_task_graph, parameters, graph_config)¶
Select the set of tasks required for a promotable beta or release build of desktop, plus android CI. The candidates build process involves a pipeline of builds and signing, but does not include beetmover or balrog jobs.
- gecko_taskgraph.target_tasks.target_tasks_mozilla_central(full_task_graph, parameters, graph_config)¶
In addition to doing the filtering by project that the ‘default’ filter does, also remove any tests running against regular (aka not shippable, asan, etc.) opt builds.
- gecko_taskgraph.target_tasks.target_tasks_mozilla_esr128(full_task_graph, parameters, graph_config)¶
Select the set of tasks required for a promotable beta or release build of desktop, without android CI. The candidates build process involves a pipeline of builds and signing, but does not include beetmover or balrog jobs.
- gecko_taskgraph.target_tasks.target_tasks_mozilla_release(full_task_graph, parameters, graph_config)¶
Select the set of tasks required for a promotable beta or release build of desktop, plus android CI. The candidates build process involves a pipeline of builds and signing, but does not include beetmover or balrog jobs.
- gecko_taskgraph.target_tasks.target_tasks_nightly_all(full_task_graph, parameters, graph_config)¶
Select the set of tasks required for a nightly build of firefox desktop and android
- gecko_taskgraph.target_tasks.target_tasks_nightly_android(full_task_graph, parameters, graph_config)¶
- gecko_taskgraph.target_tasks.target_tasks_nightly_asan(full_task_graph, parameters, graph_config)¶
Select the set of tasks required for a nightly build of asan. The nightly build process involves a pipeline of builds, signing, and, eventually, uploading the tasks to balrog.
- gecko_taskgraph.target_tasks.target_tasks_nightly_desktop(full_task_graph, parameters, graph_config)¶
Select the set of tasks required for a nightly build of linux, mac, windows.
- gecko_taskgraph.target_tasks.target_tasks_nightly_linux(full_task_graph, parameters, graph_config)¶
Select the set of tasks required for a nightly build of linux. The nightly build process involves a pipeline of builds, signing, and, eventually, uploading the tasks to balrog.
- gecko_taskgraph.target_tasks.target_tasks_nightly_macosx(full_task_graph, parameters, graph_config)¶
Select the set of tasks required for a nightly build of macosx. The nightly build process involves a pipeline of builds, signing, and, eventually, uploading the tasks to balrog.
- gecko_taskgraph.target_tasks.target_tasks_nightly_win32(full_task_graph, parameters, graph_config)¶
Select the set of tasks required for a nightly build of win32 and win64. The nightly build process involves a pipeline of builds, signing, and, eventually, uploading the tasks to balrog.
- gecko_taskgraph.target_tasks.target_tasks_nightly_win64(full_task_graph, parameters, graph_config)¶
Select the set of tasks required for a nightly build of win32 and win64. The nightly build process involves a pipeline of builds, signing, and, eventually, uploading the tasks to balrog.
- gecko_taskgraph.target_tasks.target_tasks_nightly_win64_aarch64(full_task_graph, parameters, graph_config)¶
Select the set of tasks required for a nightly build of win32 and win64. The nightly build process involves a pipeline of builds, signing, and, eventually, uploading the tasks to balrog.
- gecko_taskgraph.target_tasks.target_tasks_nothing(full_task_graph, parameters, graph_config)¶
Select nothing, for DONTBUILD pushes
- gecko_taskgraph.target_tasks.target_tasks_os_integration(full_task_graph, parameters, graph_config)¶
- gecko_taskgraph.target_tasks.target_tasks_perftest(full_task_graph, parameters, graph_config)¶
Select perftest tasks we want to run daily
- gecko_taskgraph.target_tasks.target_tasks_perftest_autoland(full_task_graph, parameters, graph_config)¶
Select perftest tasks we want to run daily
- gecko_taskgraph.target_tasks.target_tasks_pine(full_task_graph, parameters, graph_config)¶
Bug 1879960 - no reftests or wpt needed
- gecko_taskgraph.target_tasks.target_tasks_promote_desktop(full_task_graph, parameters, graph_config)¶
Select the superset of tasks required to promote a beta or release build of a desktop product. This should include all non-android mozilla_{beta,release} tasks, plus l10n, beetmover, balrog, etc.
- gecko_taskgraph.target_tasks.target_tasks_push_desktop(full_task_graph, parameters, graph_config)¶
Select the set of tasks required to push a build of desktop to cdns. Previous build deps will be optimized out via action task.
- gecko_taskgraph.target_tasks.target_tasks_raptor_tp6m(full_task_graph, parameters, graph_config)¶
Select tasks required for running raptor cold page-load tests on fenix and refbrow
- gecko_taskgraph.target_tasks.target_tasks_release_simulation(full_task_graph, parameters, graph_config)¶
Select tasks that would run on push on a release branch.
- gecko_taskgraph.target_tasks.target_tasks_scriptworker_canary(full_task_graph, parameters, graph_config)¶
Select the set of tasks required to run scriptworker canaries.
- gecko_taskgraph.target_tasks.target_tasks_searchfox(full_task_graph, parameters, graph_config)¶
Select tasks required for indexing Firefox for Searchfox web site each day
- gecko_taskgraph.target_tasks.target_tasks_ship_desktop(full_task_graph, parameters, graph_config)¶
Select the set of tasks required to ship desktop. Previous build deps will be optimized out via action task.
- gecko_taskgraph.target_tasks.target_tasks_snap_upstream_tests(full_task_graph, parameters, graph_config)¶
Select tasks for testing Snap package built as upstream. Omit -try because it does not really make sense on a m-c cron
- gecko_taskgraph.target_tasks.target_tasks_speedometer_tests(full_task_graph, parameters, graph_config)¶
- gecko_taskgraph.target_tasks.target_tasks_staging_release(full_task_graph, parameters, graph_config)¶
Select all builds that are part of releases.
- gecko_taskgraph.target_tasks.target_tasks_system_symbols(full_task_graph, parameters, graph_config)¶
Select tasks for scraping and uploading system symbols.
- gecko_taskgraph.target_tasks.target_tasks_try(full_task_graph, parameters, graph_config)¶
- gecko_taskgraph.target_tasks.target_tasks_updatebot_cron(full_task_graph, parameters, graph_config)¶
Select tasks required to run Updatebot’s cron job
- gecko_taskgraph.target_tasks.target_tasks_weekly_release_perf(full_task_graph, parameters, graph_config)¶
Select performance tests on the release branch to be run weekly
gecko_taskgraph.try_option_syntax module¶
- class gecko_taskgraph.try_option_syntax.TryOptionSyntax(parameters, full_task_graph, graph_config)¶
Bases:
object
- find_all_attribute_suffixes(graph, prefix)¶
- generate_test_tiers(full_task_graph)¶
- handle_alias(test, all_tests)¶
Expand a test if its name refers to an alias, returning a list of test dictionaries cloned from the first (to maintain any metadata).
- parse_build_types(build_types_arg, full_task_graph)¶
- parse_jobs(jobs_arg)¶
- parse_platforms(options, full_task_graph)¶
- parse_test_chunks(all_tests, tests)¶
Test flags may include parameters to narrow down the number of chunks in a given push. We don’t model 1 chunk = 1 job in taskcluster so we must check each test flag to see if it is actually specifying a chunk.
- parse_test_option(attr_name, test_arg, full_task_graph)¶
Parse a unittest (-u) or talos (-t) option, in the context of a full task graph containing available unittest_try_name or talos_try_name attributes. There are three cases:
test_arg is == ‘none’ (meaning an empty list)
test_arg is == ‘all’ (meaning use the list of jobs for that job type)
test_arg is comma string which needs to be parsed
- parse_test_opts(input_str, all_platforms)¶
Parse testspec,testspec,.., where each testspec is a test name optionally followed by a list of test platforms or negated platforms in [].
No brackets indicates that tests should run on all platforms for which builds are available. If testspecs are provided, then each is treated, from left to right, as an instruction to include or (if negated) exclude a set of test platforms. A single spec may expand to multiple test platforms via UNITTEST_PLATFORM_PRETTY_NAMES. If the first test spec is negated, processing begins with the full set of available test platforms; otherwise, processing begins with an empty set of test platforms.
- task_matches(task)¶
- gecko_taskgraph.try_option_syntax.alias_contains(infix)¶
- gecko_taskgraph.try_option_syntax.alias_matches(pattern)¶
- gecko_taskgraph.try_option_syntax.alias_prefix(prefix)¶
- gecko_taskgraph.try_option_syntax.escape_whitespace_in_brackets(input_str)¶
In tests you may restrict them by platform [] inside of the brackets whitespace may occur this is typically invalid shell syntax so we escape it with backslash sequences .
- gecko_taskgraph.try_option_syntax.parse_message(message)¶
- gecko_taskgraph.try_option_syntax.split_try_msg(message)¶
Module contents¶
- gecko_taskgraph.register(graph_config)¶
Used to register Gecko specific extensions.
- Parameters:
graph_config – The graph configuration object.