| [ |
| { |
| "cmd": [], |
| "name": "checkout pigweed", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@applied pigweed:1234@https://pigweed-review.googlesource.com/c/1234@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.change data", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.change data.process gitiles commit", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.change data.process gitiles commit.ensure gerrit", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::gerrit]/resources/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.change data.process gitiles commit.ensure gerrit.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/gerrit\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.change data.process gitiles commit.ensure gerrit.install path/to/gerrit", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/gerrit/version%3Apinned-version" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.change data.process gitiles commit.ensure gerrit.install path/to/gerrit.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@5@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/gerrit/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/gerrit version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.change data.process gitiles commit.ensure gerrit.install path/to/gerrit.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@5@@@", |
| "@@@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-version:pinned-v\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/gerrit\"@@@", |
| "@@@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/path/to/gerrit/version%3Apinned-version/gerrit", |
| "change-query", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"params\": {\"q\": \"commit:2d72510e447ab60a9728aeea2362d8be2cbd7789\"}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.change data.process gitiles commit.number", |
| "timeout": 30, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"_number\": \"1234\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"branch\": \"main\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"params\": {@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"q\": \"commit:2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ }@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.change data.changes", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.change data.changes.pigweed:1234", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_SUMMARY_TEXT@_Change(number=1234, remote='https://pigweed.googlesource.com/pigweed/pigweed', ref='2d72510e447ab60a9728aeea2362d8be2cbd7789', rebase=False, branch='main', gerrit_name='pigweed', submitted=True, base=None, base_type=None)@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/checkout" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://pigweed.googlesource.com/pigweed/pigweed" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git remote", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.set fetch.uriprotocols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.cache", |
| "~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]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.cache.write guard file", |
| "~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]/git/pigweed.googlesource.com-pigweed-pigweed" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://pigweed.googlesource.com/pigweed/pigweed" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.cache.remote set-url", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.cache.set fetch.uriprotocols", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.cache.replace fetch configs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.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]/checkout/.git/objects/info" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.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/pigweed.googlesource.com-pigweed-pigweed/objects\n", |
| "[START_DIR]/checkout/.git/objects/info/alternates" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.cache.remove guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "main", |
| "--recurse-submodules" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git rev-parse", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git rev-parse (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.apply pigweed:1234", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@gerrit@https://pigweed-review.googlesource.com/c/1234@@@", |
| "@@@STEP_LINK@gitiles@https://pigweed.googlesource.com/pigweed/pigweed/+/2d72510e447ab60a9728aeea2362d8be2cbd7789@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "https://pigweed.googlesource.com/pigweed/pigweed", |
| "2d72510e447ab60a9728aeea2362d8be2cbd7789", |
| "--no-recurse-submodules" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.apply pigweed:1234.git fetch patch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "--force", |
| "-b", |
| "working", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.apply pigweed:1234.git checkout patch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.apply pigweed:1234.git rev-parse", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.apply pigweed:1234.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "status", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git submodule status", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.status", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@applied [_Change(number=1234, remote='https://pigweed.googlesource.com/pigweed/pigweed', ref='2d72510e447ab60a9728aeea2362d8be2cbd7789', rebase=False, branch='main', gerrit_name='pigweed', submitted=True, base='HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_', base_type='submitted_commit_hash')]\nnot applied []@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.git log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "log", |
| "--oneline", |
| "-n", |
| "10" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git log.[START_DIR]/checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.base", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@SET_BUILD_PROPERTY@got_revision@\"HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_\"@@@", |
| "@@@SET_BUILD_PROPERTY@got_revision_type@\"submitted_commit_hash\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/snapshot" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.mkdir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "status", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.submodule-status", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "submodule status filler text", |
| "[START_DIR]/snapshot/submodules.log" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.write submodule snapshot", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@submodules.log@submodule status filler text@@@", |
| "@@@STEP_LOG_END@submodules.log@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "log", |
| "--oneline", |
| "-n", |
| "10" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[START_DIR]/snapshot/git.log" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.write git log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@git.log@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "root", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@Path([START_DIR], 'checkout')@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "log", |
| "--max-count=1", |
| "--pretty=format:%H" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "git log" |
| }, |
| { |
| "cmd": [], |
| "name": "revision", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@'HASH'@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "revision (2)", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@'HASH'@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "remote", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@'https://pigweed.googlesource.com/pigweed/pigweed.git'@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "branch", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@'main'@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "manifest file", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@'default.xml'@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "manifest", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@None@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "gerrit_host", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@'pigweed-review.googlesource.com'@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "gerrit_host_invalid", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@None@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "gerrit_project", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@'pigweed/pigweed.git'@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "gerrit_project_invalid", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@None@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "status" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "git submodule status" |
| }, |
| { |
| "cmd": [], |
| "name": "submodules", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@[]@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |