| [ |
| { |
| "cmd": [], |
| "name": "build", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@fint_params@field: \"value\"@@@", |
| "@@@STEP_LOG_END@fint_params@@@", |
| "@@@SET_BUILD_PROPERTY@fint_params@\"field: \\\"value\\\"\"@@@", |
| "@@@SET_BUILD_PROPERTY@fint_params_path@\"infra/specs/fint-params.textproto\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/infra/specs/fint-params.textproto", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "build.read fint params", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@fint-params.textproto@field: \"value\"@@@", |
| "@@@STEP_LOG_END@fint-params.textproto@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.get changed files", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build.get changed files.install fuchsia/tools/jiri", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version" |
| ], |
| "infra_step": true, |
| "name": "build.get changed files.install fuchsia/tools/jiri.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version", |
| "-ensure-file", |
| "fuchsia/tools/jiri/${platform} pinned-jiri-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "build.get changed files.install fuchsia/tools/jiri.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-pinned-jiri-vers\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/jiri/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "project", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-json-output", |
| "/path/to/tmp/json", |
| "fuchsia" |
| ], |
| "name": "build.get changed files.jiri project", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"fuchsia\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"path\": \"[START_DIR]/fuchsia\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff-tree", |
| "--no-commit-id", |
| "--name-only", |
| "-r", |
| "-z", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "build.get changed files.git diff-tree", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@files@foo.cc@@@", |
| "@@@STEP_LOG_LINE@files@bar.cc@@@", |
| "@@@STEP_LOG_END@files@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/tools/integration/bootstrap.sh", |
| "-o", |
| "[CLEANUP]/fint_tmp_1/fint" |
| ], |
| "name": "build.bootstrap fint", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CLEANUP]/fint_tmp_1/fint", |
| "set", |
| "-static", |
| "[START_DIR]/infra/specs/fint-params.textproto", |
| "-context", |
| "checkout_dir: \"[START_DIR]\"\nbuild_dir: \"[START_DIR]/out/not-default\"\nartifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"\nchanged_files {\n path: \"fuchsia/foo.cc\"\n}\nchanged_files {\n path: \"fuchsia/bar.cc\"\n}\nsdk_id: \"sdk-id\"\ncache_dir: \"[CACHE]\"\ngoma_job_count: 80\n" |
| ], |
| "name": "build.gn gen", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@run by `fint set`@@@", |
| "@@@STEP_LOG_LINE@context.textproto@checkout_dir: \"[START_DIR]\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@build_dir: \"[START_DIR]/out/not-default\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@artifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@changed_files {@@@", |
| "@@@STEP_LOG_LINE@context.textproto@ path: \"fuchsia/foo.cc\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@}@@@", |
| "@@@STEP_LOG_LINE@context.textproto@changed_files {@@@", |
| "@@@STEP_LOG_LINE@context.textproto@ path: \"fuchsia/bar.cc\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@}@@@", |
| "@@@STEP_LOG_LINE@context.textproto@sdk_id: \"sdk-id\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@cache_dir: \"[CACHE]\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@goma_job_count: 80@@@", |
| "@@@STEP_LOG_END@context.textproto@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/fint_artifacts_tmp_1/set_artifacts.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "build.read fint set artifacts", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@skip_build: true@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@use_goma: true@@@", |
| "@@@STEP_LOG_END@set_artifacts.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/tool_paths.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "build.read tool_paths manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@[@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ {@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"cpu\": \"x64\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"name\": \"foo\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"os\": \"linux\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"path\": \"linux_x64/foo\"@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ }@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@]@@@", |
| "@@@STEP_LOG_END@tool_paths.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/tests.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "build.read tests.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@tests.json@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |