| [ |
| { |
| "cmd": [], |
| "name": "ensure goma" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/goma/client", |
| "-ensure-file", |
| "infra_internal/goma/client/${platform} release", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure goma.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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-release---------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/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": [], |
| "name": "checkout sources" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/ninja" |
| ], |
| "infra_step": true, |
| "name": "checkout sources.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "infra_step": true, |
| "name": "checkout sources.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://fuchsia.googlesource.com/third_party/github.com/ninja-build/ninja" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "infra_step": true, |
| "name": "checkout sources.git remote", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout sources.cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-ninja--build-ninja" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "infra_step": true, |
| "name": "checkout sources.cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-ninja--build-ninja", |
| "infra_step": true, |
| "name": "checkout sources.cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://fuchsia.googlesource.com/third_party/github.com/ninja-build/ninja" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-ninja--build-ninja", |
| "infra_step": true, |
| "name": "checkout sources.cache.remote set-url", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-ninja--build-ninja", |
| "infra_step": true, |
| "name": "checkout sources.cache.git config", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-ninja--build-ninja", |
| "infra_step": true, |
| "name": "checkout sources.cache.git fetch", |
| "~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", |
| "[START_DIR]/ninja/.git/objects/info" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "infra_step": true, |
| "name": "checkout sources.cache.makedirs object/info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-ninja--build-ninja/objects\n", |
| "[START_DIR]/ninja/.git/objects/info/alternates" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "infra_step": true, |
| "name": "checkout sources.cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-ninja--build-ninja/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "infra_step": true, |
| "name": "checkout sources.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "infra_step": true, |
| "name": "checkout sources.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "infra_step": true, |
| "name": "checkout sources.git rev-parse", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "infra_step": true, |
| "name": "checkout sources.git clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout sources.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "infra_step": true, |
| "name": "checkout sources.submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "infra_step": true, |
| "name": "checkout sources.submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure packages" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd", |
| "-ensure-file", |
| "fuchsia/third_party/clang/${platform} goma", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure packages.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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-goma------------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/clang/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": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{\n \"directories\": {\n \"[START_DIR]/cipd\": {\n \"cipd_package\": {\n \"fuchsia/third_party/clang/resolved-platform\": {\n \"instance_id\": \"resolved-instance_id-of-goma------------\"\n }\n }, \n \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"\n }, \n \"[START_DIR]/ninja\": {\n \"git_checkout\": {\n \"repo_url\": \"https://fuchsia.googlesource.com/third_party/github.com/ninja-build/ninja\", \n \"revision\": \"deadbeef\"\n }\n }\n }\n}", |
| "[START_DIR]/ninja/source_manifest.json" |
| ], |
| "infra_step": true, |
| "name": "source manifest", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@source_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ \"directories\": {@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/cipd\": {@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_package\": {@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ \"fuchsia/third_party/clang/resolved-platform\": {@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ \"instance_id\": \"resolved-instance_id-of-goma------------\"@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ }@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ }, @@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ }, @@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/ninja\": {@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ \"git_checkout\": {@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ \"repo_url\": \"https://fuchsia.googlesource.com/third_party/github.com/ninja-build/ninja\", @@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ \"revision\": \"deadbeef\"@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ }@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ }@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ }@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@}@@@", |
| "@@@STEP_LOG_END@source_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/macos_sdk", |
| "-ensure-file", |
| "infra/tools/mac_toolchain/${platform} git_revision:434f5462a77e7103f9d610fa5cabc426bb21502e", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure_installed", |
| "~followup_annotations": [ |
| "@@@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-git_revision:434\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/mac_toolchain/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]/macos_sdk/mac_toolchain", |
| "install", |
| "-kind", |
| "mac", |
| "-xcode-version", |
| "10b61", |
| "-output-dir", |
| "[CACHE]/macos_sdk/XCode.app" |
| ], |
| "infra_step": true, |
| "name": "install xcode" |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--switch", |
| "[CACHE]/macos_sdk/XCode.app" |
| ], |
| "infra_step": true, |
| "name": "select XCode" |
| }, |
| { |
| "cmd": [], |
| "name": "pre_goma" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| "<LUCI_CONTEXT>", |
| "/path/to/tmp/json" |
| ], |
| "name": "pre_goma.read context", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{\"local_auth\": {\"accounts\": [{\"email\": \"some@example.com\", \"id\": \"test\"}], \"default_account_id\": \"system\"}}", |
| "[CLEANUP]/luci_context._tmp_1" |
| ], |
| "infra_step": true, |
| "name": "pre_goma.write context", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@luci_context._tmp_1@{\"local_auth\": {\"accounts\": [{\"email\": \"some@example.com\", \"id\": \"test\"}], \"default_account_id\": \"system\"}}@@@", |
| "@@@STEP_LOG_END@luci_context._tmp_1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "restart" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "infra_step": true, |
| "name": "pre_goma.start_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "--show-sdk-path" |
| ], |
| "name": "xcrun", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@raw_io.output[sdk-path]@/some/xcode/path@@@", |
| "@@@STEP_LOG_END@raw_io.output[sdk-path]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/ninja/configure.py", |
| "--bootstrap" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "env": { |
| "AR": "[START_DIR]/cipd/bin/llvm-ar", |
| "CFLAGS": "--sysroot=/some/xcode/path -flto", |
| "CXX": "[START_DIR]/cipd/bin/clang++", |
| "LDFLAGS": "--sysroot=/some/xcode/path -nostdlib++ -nostdlib++ [START_DIR]/cipd/lib/libc++.a -flto" |
| }, |
| "name": "bootstrap" |
| }, |
| { |
| "cmd": [], |
| "name": "test" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/ninja/ninja", |
| "ninja_test" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "env": { |
| "AR": "[START_DIR]/cipd/bin/llvm-ar", |
| "CFLAGS": "--sysroot=/some/xcode/path -flto", |
| "CXX": "[START_DIR]/cipd/bin/clang++", |
| "LDFLAGS": "--sysroot=/some/xcode/path -nostdlib++ -nostdlib++ [START_DIR]/cipd/lib/libc++.a -flto" |
| }, |
| "name": "test.ninja", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/ninja/ninja_test" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "env": { |
| "AR": "[START_DIR]/cipd/bin/llvm-ar", |
| "CFLAGS": "--sysroot=/some/xcode/path -flto", |
| "CXX": "[START_DIR]/cipd/bin/clang++", |
| "LDFLAGS": "--sysroot=/some/xcode/path -nostdlib++ -nostdlib++ [START_DIR]/cipd/lib/libc++.a -flto" |
| }, |
| "name": "test.test", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "strip", |
| "-x", |
| "[START_DIR]/ninja/ninja" |
| ], |
| "cwd": "[START_DIR]/ninja", |
| "env": { |
| "AR": "[START_DIR]/cipd/bin/llvm-ar", |
| "CFLAGS": "--sysroot=/some/xcode/path -flto", |
| "CXX": "[START_DIR]/cipd/bin/clang++", |
| "LDFLAGS": "--sysroot=/some/xcode/path -nostdlib++ -nostdlib++ [START_DIR]/cipd/lib/libc++.a -flto" |
| }, |
| "name": "strip" |
| }, |
| { |
| "cmd": [], |
| "name": "post_goma" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "jsonstatus", |
| "[CACHE]/goma/client/jsonstatus" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "post_goma.goma_jsonstatus", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"notice\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"infra_status\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"num_user_error\": 0, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ping_status_code\": 200@@@", |
| "@@@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": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "stat" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "post_goma.goma_stats", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "stop" |
| ], |
| "env": { |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json", |
| "LUCI_CONTEXT": "[CLEANUP]/luci_context._tmp_1" |
| }, |
| "name": "post_goma.stop_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/goma/client/goma_stats.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "post_goma.read goma_stats.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@goma_stats.json@{}@@@", |
| "@@@STEP_LOG_END@goma_stats.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{\"build_info\": {\"build_id\": 8945511751514863184, \"time_stamp\": \"2012-05-14 12:53:21.500000\", \"builder\": \"builder\", \"time_stamp_int\": 1337000003000}}", |
| "[CACHE]/goma/client/goma_stats.json" |
| ], |
| "infra_step": true, |
| "name": "post_goma.write goma_stats.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@goma_stats.json@{\"build_info\": {\"build_id\": 8945511751514863184, \"time_stamp\": \"2012-05-14 12:53:21.500000\", \"builder\": \"builder\", \"time_stamp_int\": 1337000003000}}@@@", |
| "@@@STEP_LOG_END@goma_stats.json@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"build_info\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"build_id\": 8945511751514863184, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"time_stamp\": \"2012-05-14 12:53:21.500000\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": \"builder\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"time_stamp_int\": 1337000003000@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "post_goma.ensure bqupload", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/bqupload", |
| "-ensure-file", |
| "infra/tools/bqupload/${platform} git_revision:d85fe78f303c3e969f815121e17c8b08868039ef", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "post_goma.ensure bqupload.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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-git_revision:d85\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/bqupload/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": [ |
| "[START_DIR]/cipd/bqupload/bqupload", |
| "fuchsia-infra.artifacts.builds_beta_goma", |
| "[CACHE]/goma/client/goma_stats.json" |
| ], |
| "name": "post_goma.upload goma_stats_to BQ: fuchsia-infra/artifacts/builds_beta_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--reset" |
| ], |
| "infra_step": true, |
| "name": "reset XCode" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/ninja/ninja", |
| "--version" |
| ], |
| "name": "ninja version" |
| }, |
| { |
| "cmd": [], |
| "name": "isolated", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@isolated@\"[dummy hash]\"@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "isolated.ensure isolated", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/isolated_client", |
| "-ensure-file", |
| "infra/tools/luci/isolated/${platform} git_revision:305e79001db1846906c7136d90a863bee5bd3bfc", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "isolated.ensure isolated.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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-git_revision:305\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/isolated/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]/isolated_client/isolated", |
| "archive", |
| "-verbose", |
| "-isolate-server", |
| "https://example.isolateserver.appspot.com", |
| "-namespace", |
| "default-gzip", |
| "-dump-hash", |
| "/path/to/tmp/", |
| "-files", |
| "[START_DIR]/ninja:ninja" |
| ], |
| "infra_step": true, |
| "name": "isolated.isolate", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@isolated UI@https://example.isolateserver.appspot.com/browse?namespace=default-gzip&hash=%5Bdummy+hash%5D@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "cipd" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-pkg-def", |
| "{\"data\": [{\"file\": \"ninja\"}, {\"version_file\": \".versions/ninja.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/ninja/${platform}\", \"root\": \"[START_DIR]/ninja\"}", |
| "-out", |
| "[CLEANUP]/ninja.cipd", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.build fuchsia/third_party/ninja/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/ninja/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "fuchsia/third_party/ninja/${platform}", |
| "-tag", |
| "git_revision:deadbeef", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.cipd search fuchsia/third_party/ninja/${platform} git_revision:deadbeef", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/ninja/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "cipd.Package is up-to-date", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |