| [ |
| { |
| "cmd": [], |
| "name": "ensure_goma" |
| }, |
| { |
| "cmd": [ |
| "cipd.bat", |
| "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]\\cmake" |
| ], |
| "infra_step": true, |
| "name": "checkout sources.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]\\cmake", |
| "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/Kitware/CMake" |
| ], |
| "cwd": "[START_DIR]\\cmake", |
| "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-Kitware-CMake" |
| ], |
| "cwd": "[START_DIR]\\cmake", |
| "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-Kitware-CMake", |
| "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/Kitware/CMake" |
| ], |
| "cwd": "[CACHE]\\git\\fuchsia.googlesource.com-third_party-github.com-Kitware-CMake", |
| "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-Kitware-CMake", |
| "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-Kitware-CMake", |
| "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]\\cmake\\.git\\objects\\info" |
| ], |
| "cwd": "[START_DIR]\\cmake", |
| "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-Kitware-CMake\\objects\n", |
| "[START_DIR]\\cmake\\.git\\objects\\info\\alternates" |
| ], |
| "cwd": "[START_DIR]\\cmake", |
| "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-Kitware-CMake\\objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[START_DIR]\\cmake", |
| "infra_step": true, |
| "name": "checkout sources.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" |
| ], |
| "cwd": "[START_DIR]\\cmake", |
| "infra_step": true, |
| "name": "checkout sources.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]\\cmake", |
| "infra_step": true, |
| "name": "checkout sources.git rev-parse", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]\\cmake", |
| "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]\\cmake", |
| "infra_step": true, |
| "name": "checkout sources.submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init" |
| ], |
| "cwd": "[START_DIR]\\cmake", |
| "infra_step": true, |
| "name": "checkout sources.submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure packages" |
| }, |
| { |
| "cmd": [ |
| "cipd.bat", |
| "ensure", |
| "-root", |
| "[START_DIR]\\cipd", |
| "-ensure-file", |
| "", |
| "-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_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CLEANUP]\\cmake_tmp_1\\cmake_build_dir" |
| ], |
| "infra_step": true, |
| "name": "create build dir" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CLEANUP]\\cmake_tmp_1\\cmake" |
| ], |
| "infra_step": true, |
| "name": "create pkg dir" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{\n \"directories\": {\n \"[START_DIR]\\\\cmake\": {\n \"git_checkout\": {\n \"repo_url\": \"https://fuchsia.googlesource.com/third_party/github.com/Kitware/CMake\", \n \"revision\": \"deadbeef\"\n }\n }\n }\n}", |
| "[CLEANUP]\\cmake_tmp_1\\cmake\\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]\\\\cmake\": {@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ \"git_checkout\": {@@@", |
| "@@@STEP_LOG_LINE@source_manifest.json@ \"repo_url\": \"https://fuchsia.googlesource.com/third_party/github.com/Kitware/CMake\", @@@", |
| "@@@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": [ |
| "[START_DIR]\\cmake\\bootstrap" |
| ], |
| "cwd": "[CLEANUP]\\cmake_tmp_1\\cmake_build_dir", |
| "name": "bootstrap" |
| }, |
| { |
| "cmd": [ |
| "make" |
| ], |
| "cwd": "[CLEANUP]\\cmake_tmp_1\\cmake_build_dir", |
| "name": "build" |
| }, |
| { |
| "cmd": [ |
| "make", |
| "install" |
| ], |
| "cwd": "[CLEANUP]\\cmake_tmp_1\\cmake_build_dir", |
| "env": { |
| "DESTDIR": "[CLEANUP]\\cmake_tmp_1\\cmake" |
| }, |
| "name": "install" |
| }, |
| { |
| "cmd": [ |
| "make", |
| "test" |
| ], |
| "cwd": "[CLEANUP]\\cmake_tmp_1\\cmake_build_dir", |
| "name": "test" |
| }, |
| { |
| "cmd": [ |
| "[CLEANUP]\\cmake_tmp_1\\cmake_build_dir\\bin\\cmake", |
| "--version" |
| ], |
| "name": "cmake version" |
| }, |
| { |
| "cmd": [], |
| "name": "ensure isolated" |
| }, |
| { |
| "cmd": [ |
| "cipd.bat", |
| "ensure", |
| "-root", |
| "[CACHE]\\isolated_client", |
| "-ensure-file", |
| "infra/tools/luci/isolated/${platform} git_revision:81f8525a0214a266d8ad33d072a7b23c89d51752", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure isolated.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-git_revision:81f\", @@@", |
| "@@@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/", |
| "-dirs", |
| "[CLEANUP]\\cmake_tmp_1\\cmake:." |
| ], |
| "infra_step": true, |
| "name": "isolate", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@[dummy hash]@@@", |
| "@@@STEP_LINK@isolated UI@https://example.isolateserver.appspot.com/browse?namespace=default-gzip&hash=%5Bdummy+hash%5D@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd.bat", |
| "pkg-build", |
| "-pkg-def", |
| "{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/cmake.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/cmake/${platform}\", \"root\": \"[CLEANUP]\\\\cmake_tmp_1\\\\cmake\"}", |
| "-out", |
| "[CLEANUP]\\cmake.cipd", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "build fuchsia/third_party/cmake/${platform}", |
| "~followup_annotations": [ |
| "@@@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/cmake/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd.bat", |
| "search", |
| "fuchsia/third_party/cmake/${platform}", |
| "-tag", |
| "git_revision:deadbeef", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd search fuchsia/third_party/cmake/${platform} git_revision:deadbeef", |
| "~followup_annotations": [ |
| "@@@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/cmake/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "Package is up-to-date" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |