DEPS: depot_tools/gitiles, recipe_engine/buildbucket, recipe_engine/properties, recipe_engine/step
— def is_bisecting(self):
— def schedule(self, repo_url, reason):
DEPS: build/goma, build/swarming_client, depot_tools/bot_update, depot_tools/depot_tools, depot_tools/gclient, depot_tools/git, depot_tools/gsutil, depot_tools/tryserver, recipe_engine/buildbucket, recipe_engine/cipd, recipe_engine/context, recipe_engine/file, recipe_engine/json, recipe_engine/path, recipe_engine/platform, recipe_engine/properties, recipe_engine/python, recipe_engine/raw_io, recipe_engine/runtime, recipe_engine/service_account, recipe_engine/step, recipe_engine/swarming
Recipe module for code commonly used in dart recipes.
Shouldn't be used elsewhere.
— def build(self, build_args=None, name=‘build dart’):
Builds dart using the specified build_args
— def checkout(self, clobber=False):
Checks out the dart code and prepares it for building.
— def collect_all(self, steps):
Collects the results of a sharded test run.
— def commit_id(self):
The commit hash of a CI build or the patch set of a CQ build
— def dart_executable(self):
Returns the path to the checked-in SDK dart executable.
— def delete_debug_log(self):
Deletes the debug log file
— def download_browser(self, runtime, version):
— def download_parent_isolate(self):
— def get_secret(self, name):
Decrypts the specified secret and returns the location of the result
— def kill_tasks(self, ok_ret=‘any’):
Kills leftover tasks from previous runs or steps.
— def read_debug_log(self):
Reads the debug log file
— def shard(self, name, isolate_hash, test_args, os, cpu=‘x86-64’, pool=‘dart.tests’, num_shards=0, last_shard_is_local=False, cipd_ensure_file=None, ignore_failure=False):
Runs test.py in the given isolate, sharded over several swarming tasks. Returns the created tasks, which can be collected with collect_all().
— def test(self, test_data):
Reads the test-matrix.json file in checkout and runs each step listed in the file.
— def upload_isolate(self, isolate_fileset):
Builds an isolate
DEPS: bisect_build, depot_tools/gitiles, recipe_engine/buildbucket, recipe_engine/properties, recipe_engine/step
— def RunSteps(api, current_failure):
DEPS: dart, recipe_engine/context, recipe_engine/file, recipe_engine/path, recipe_engine/platform, recipe_engine/properties, recipe_engine/step, recipe_engine/url
— def RunSteps(api):
DEPS: dart, depot_tools/git, recipe_engine/context, recipe_engine/path, recipe_engine/properties, recipe_engine/step
— def RunSteps(api):
DEPS: recipe_engine/buildbucket, recipe_engine/properties, recipe_engine/step
— def RunSteps(api):
DEPS: build/goma, bisect_build, dart, depot_tools/bot_update, depot_tools/depot_tools, depot_tools/gclient, depot_tools/gitiles, recipe_engine/buildbucket, recipe_engine/context, recipe_engine/file, recipe_engine/json, recipe_engine/path, recipe_engine/platform, recipe_engine/properties, recipe_engine/python, recipe_engine/runtime, recipe_engine/step
— def AnalyzeDartUI(api, checkout_dir):
— def Build(api, checkout_dir, config, *targets):
— def BuildAndTest(api, start_dir, checkout_dir, flutter_rev):
— def BuildLinux(api, checkout_dir):
— def BuildLinuxAndroidArm(api, checkout_dir):
— def BuildLinuxAndroidx86(api, checkout_dir):
— def CopyArtifacts(api, engine_src, cached_dest, file_paths):
— def GetCheckout(api):
— def KillTasks(api, checkout_dir, ok_ret=‘any’):
Kills leftover tasks from previous runs or steps.
— def RunGN(api, checkout_dir, *args):
— def RunSteps(api):
— def TestEngine(api, checkout_dir):
— def TestFlutter(api, start_dir, just_built_dart_sdk):
— def TestObservatory(api, checkout_dir):
— def UpdateCachedEngineArtifacts(api, flutter, engine_src):
DEPS: dart, depot_tools/git, recipe_engine/buildbucket, recipe_engine/path, recipe_engine/properties, recipe_engine/raw_io, recipe_engine/step
— def RunSteps(api):
DEPS: depot_tools/gclient, depot_tools/tryserver, recipe_engine/buildbucket, recipe_engine/properties
— def RunSteps(api):
DEPS: dart, depot_tools/git, depot_tools/gitiles, recipe_engine/buildbucket, recipe_engine/context, recipe_engine/file, recipe_engine/json, recipe_engine/path, recipe_engine/properties
— def RunSteps(api):
DEPS: build/swarming_client, dart, depot_tools/osx_sdk, recipe_engine/buildbucket, recipe_engine/context, recipe_engine/path, recipe_engine/properties, recipe_engine/raw_io, recipe_engine/step
— def RunSteps(api):
DEPS: depot_tools/git, recipe_engine/buildbucket, recipe_engine/cipd, recipe_engine/path, recipe_engine/properties, recipe_engine/step
— def RunSteps(api):
DEPS: dart, depot_tools/tryserver, recipe_engine/buildbucket, recipe_engine/file, recipe_engine/json, recipe_engine/platform, recipe_engine/properties, recipe_engine/raw_io, recipe_engine/runtime, recipe_engine/step, recipe_engine/swarming
— def RunSteps(api):
DEPS: dart, recipe_engine/platform
— def RunSteps(api):