| [ |
| { |
| "cmd": [ |
| "gn", |
| "gen", |
| "--export-compile-commands", |
| "[START_DIR]/checkout/out" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "name": "gn gen" |
| }, |
| { |
| "cmd": [], |
| "name": "timeout 10s" |
| }, |
| { |
| "cmd": [ |
| "ninja", |
| "-C", |
| "[START_DIR]/checkout/out" |
| ], |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": 1337000013.0 |
| } |
| }, |
| "name": "ninja" |
| }, |
| { |
| "cmd": [ |
| "gn", |
| "args", |
| "[START_DIR]/checkout/out", |
| "--list", |
| "--json" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "name": "all gn args", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@[]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "archive to cas", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@cas_build_digest@\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[recipe_engine::cas]/resources/infra.sha1", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "archive to cas.read infra revision", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@", |
| "@@@STEP_LOG_END@infra.sha1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "archive to cas.install infra/tools/luci/cas", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee" |
| ], |
| "infra_step": true, |
| "name": "archive to cas.install infra/tools/luci/cas.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee", |
| "-ensure-file", |
| "infra/tools/luci/cas/${platform} git_revision:mock_infra_git_revision", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "archive to cas.install infra/tools/luci/cas.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:moc\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cas/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_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee/cas", |
| "archive", |
| "-log-level", |
| "info", |
| "-cas-instance", |
| "projects/example-cas-server/instances/default_instance", |
| "-dump-digest", |
| "/path/to/tmp/", |
| "-paths-json", |
| "[[\"[START_DIR]/checkout/out\", \".\"]]" |
| ], |
| "infra_step": true, |
| "name": "archive to cas.archive", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee/cas", |
| "download", |
| "-cas-instance", |
| "projects/example-cas-server/instances/default_instance", |
| "-digest", |
| "digest", |
| "-dir", |
| "[START_DIR]/checkout/out" |
| ], |
| "infra_step": true, |
| "name": "download from cas" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |