Skip to content

Commit

Permalink
[infra] Use python3 for all recipes.
Browse files Browse the repository at this point in the history
This will ensure that new recipes that get added are run under python3.

Change-Id: I632cb6b616807aa5448083320244551ab9540b58
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3421266
Reviewed-by: Stephen Martinis <martiniss@chromium.org>
Commit-Queue: Garrett Beaty <gbeaty@google.com>
Cr-Commit-Position: refs/heads/main@{#971936}
  • Loading branch information
kleerwater authored and Chromium LUCI CQ committed Feb 16, 2022
1 parent 3cc0281 commit db1c9ea
Showing 1 changed file with 1 addition and 42 deletions.
43 changes: 1 addition & 42 deletions infra/config/recipes.star
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def _recipe_for_package(cipd_package):
name,
cipd_version = None,
recipe = None,
use_python3 = False,
bootstrappable = False,
experiments = None):
"""Declare a recipe for the given package.
Expand All @@ -29,7 +28,6 @@ def _recipe_for_package(cipd_package):
information.
cipd_version: See luci.recipe.
recipe: See luci.recipe.
use_python3: See luci.recipe.
bootstrappable: Whether or not the recipe supports the chromium
bootstrapper. A recipe supports the bootstrapper if the following
conditions are met:
Expand Down Expand Up @@ -64,7 +62,7 @@ def _recipe_for_package(cipd_package):
cipd_version = cipd_version,
recipe = recipe,
use_bbagent = True,
use_python3 = use_python3,
use_python3 = True,
)

register_recipe_bootstrappability(name, bootstrappable)
Expand All @@ -81,201 +79,162 @@ build_recipe = _recipe_for_package(

build_recipe(
name = "recipe:android/androidx_packager",
use_python3 = True,
)

build_recipe(
name = "recipe:android/avd_packager",
use_python3 = True,
)

build_recipe(
name = "recipe:android/sdk_packager",
use_python3 = True,
)

build_recipe(
name = "recipe:angle_chromium",
use_python3 = True,
)

build_recipe(
name = "recipe:angle_chromium_trybot",
use_python3 = True,
)

build_recipe(
name = "recipe:binary_size_generator_tot",
use_python3 = True,
)

build_recipe(
name = "recipe:binary_size_trybot",
use_python3 = True,
)

build_recipe(
name = "recipe:binary_size_fuchsia_trybot",
use_python3 = True,
)

build_recipe(
name = "recipe:branch_configuration/tester",
use_python3 = True,
)

build_recipe(
name = "recipe:celab",
use_python3 = True,
)

build_recipe(
name = "recipe:chromium",
bootstrappable = True,
use_python3 = True,
)

build_recipe(
name = "recipe:chromium/builder_config_verifier",
use_python3 = True,
)

build_recipe(
name = "recipe:chromium/orchestrator",
bootstrappable = True,
use_python3 = True,
)

build_recipe(
name = "recipe:chromium/compilator",
bootstrappable = True,
use_python3 = True,
)

build_recipe(
name = "recipe:chromium/builder_cache_prewarmer",
bootstrappable = True,
use_python3 = True,
)

build_recipe(
name = "recipe:chromium_3pp",
use_python3 = True,
)

build_recipe(
name = "recipe:chromium_afl",
use_python3 = True,
)

build_recipe(
name = "recipe:chromium_clang_coverage_tot",
use_python3 = True,
)

build_recipe(
name = "recipe:chromium_codesearch",
use_python3 = True,
)

build_recipe(
name = "recipe:chromium_export_metadata",
use_python3 = True,
)

build_recipe(
name = "recipe:chromium_libfuzzer",
use_python3 = True,
)

build_recipe(
name = "recipe:chromium_libfuzzer_trybot",
use_python3 = True,
)

build_recipe(
name = "recipe:chromium_rts/create_model",
use_python3 = True,
)

build_recipe(
name = "recipe:chromium_trybot",
bootstrappable = True,
use_python3 = True,
)

build_recipe(
name = "recipe:chromium_upload_clang",
use_python3 = True,
)

build_recipe(
name = "recipe:cronet",
use_python3 = True,
)

build_recipe(
name = "recipe:flakiness/generate_builder_test_data",
use_python3 = True,
)

build_recipe(
name = "recipe:findit/chromium/single_revision",
bootstrappable = PROPERTIES_OPTIONAL,
use_python3 = True,
)

build_recipe(
name = "recipe:presubmit",
use_python3 = True,
)

build_recipe(
name = "recipe:reclient_config_deploy_check/tester",
use_python3 = True,
)

build_recipe(
name = "recipe:reclient_goma_comparison",
use_python3 = True,
)

build_recipe(
name = "recipe:requires_testing_checker",
use_python3 = True,
)

build_recipe(
name = "recipe:swarming/deterministic_build",
use_python3 = True,
)

build_recipe(
name = "recipe:swarming/staging",
use_python3 = True,
)

build_recipe(
name = "recipe:tricium_clang_tidy_wrapper",
use_python3 = True,
)

build_recipe(
name = "recipe:tricium_metrics",
use_python3 = True,
)

build_recipe(
name = "recipe:tricium_oilpan",
use_python3 = True,
)

build_recipe(
name = "recipe:tricium_simple",
use_python3 = True,
)

build_recipe(
name = "recipe:webrtc/chromium_ios",
use_python3 = True,
)

0 comments on commit db1c9ea

Please sign in to comment.