| [ |
| { |
| "cmd": [], |
| "name": "checkout pigweed" |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.not matching branch names", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.cache", |
| "~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", |
| "0777", |
| "[CACHE]/git" |
| ], |
| "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.ensure git cache dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "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 git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-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" |
| ], |
| "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" |
| ], |
| "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", |
| "timeout": 60.0, |
| "~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", |
| "timeout": 60.0, |
| "~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", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.cache.timeout 11h 4m 38s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "--jobs", |
| "4", |
| "origin", |
| "--recurse-submodules" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.cache.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "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 checkout", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync", |
| "--recursive" |
| ], |
| "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 submodule sync", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.cache.timeout 11h 4m 37s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive", |
| "--force", |
| "--jobs", |
| "4" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.cache.git submodule update", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "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 git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copytree", |
| "--symlinks", |
| "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "[START_DIR]/co" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.copy from cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.git checkout.timeout 11h 4m 35s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/co" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git checkout.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git checkout.git init", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://pigweed.googlesource.com/pigweed/pigweed" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git checkout.git remote", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git checkout.set fetch.uriprotocols", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "--jobs", |
| "4", |
| "origin", |
| "main", |
| "--recurse-submodules" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git checkout.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git checkout.git checkout", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git checkout.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git checkout.git clean", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.git checkout.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git checkout.submodule.git submodule sync", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive", |
| "--force", |
| "--jobs", |
| "4" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.git checkout.submodule.git submodule update", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.git log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "log", |
| "--oneline", |
| "-n", |
| "10" |
| ], |
| "cwd": "[START_DIR]/co", |
| "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]/co", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-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]/co", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.submodule-status", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-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]/co", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout pigweed.log", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-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": "checkout foo", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@applied foo:1234@https://foo-review.googlesource.com/c/1234@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.change data", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.change data.process gitiles commit", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.change data.process gitiles commit.ensure gerrit", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-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 foo.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 foo.change data.process gitiles commit.ensure gerrit.install path/to/gerrit", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-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 foo.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 foo.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://foo-review.googlesource.com", |
| "-input", |
| "{\"params\": {\"q\": \"commit:2d72510e447ab60a9728aeea2362d8be2cbd7789\"}}", |
| "-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 foo.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@ \"project\": \"pigweed\"@@@", |
| "@@@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 foo.change data.changes", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.change data.changes.foo:1234", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_SUMMARY_TEXT@Change(number=1234, remote='https://foo.googlesource.com/foo', ref='2d72510e447ab60a9728aeea2362d8be2cbd7789', rebase=False, project='pigweed', branch='main', gerrit_name='foo', submitted=True, patchset=None, base=None, base_type=None, is_merge=False, commit_message='')@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.not matching branch names", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.cache.write git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git/foo.googlesource.com-foo" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-foo", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.cache.git init", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://foo.googlesource.com/foo" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-foo", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.cache.remote set-url", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-foo", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.cache.set fetch.uriprotocols", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.cache.timeout 11h 4m 34s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "--jobs", |
| "4", |
| "origin", |
| "--no-recurse-submodules" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-foo", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.cache.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-foo", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.cache.git checkout", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.cache.timeout 11h 4m 32s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--recursive", |
| "--force", |
| "--jobs", |
| "4" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-foo", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.cache.git submodule update", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.cache.remove git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copytree", |
| "--symlinks", |
| "[CACHE]/git/foo.googlesource.com-foo", |
| "[START_DIR]/project" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.copy from cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.git checkout.timeout 11h 4m 31s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/project" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.git checkout.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.git checkout.git init", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://foo.googlesource.com/foo" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.git checkout.git remote", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.git checkout.set fetch.uriprotocols", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "--jobs", |
| "4", |
| "origin", |
| "main" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.git checkout.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.git checkout.git checkout", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.git checkout.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.git checkout.git clean", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.apply foo:1234", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@gerrit@https://foo-review.googlesource.com/c/1234@@@", |
| "@@@STEP_LINK@gitiles@https://foo.googlesource.com/foo/+/2d72510e447ab60a9728aeea2362d8be2cbd7789@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.apply foo:1234.timeout 11h 4m 29s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--jobs", |
| "4", |
| "https://foo.googlesource.com/foo", |
| "2d72510e447ab60a9728aeea2362d8be2cbd7789", |
| "--no-recurse-submodules" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.apply foo:1234.git fetch patch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "--force", |
| "-b", |
| "working", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.apply foo:1234.git checkout patch", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "https___foo_googlesource_com_foo", |
| "https://foo.googlesource.com/foo" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.apply foo:1234.git remote add", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.apply foo:1234.timeout 11h 4m 28s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--jobs", |
| "4", |
| "https___foo_googlesource_com_foo", |
| "refs/heads/main" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.apply foo:1234.git fetch branch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "branch", |
| "--set-upstream-to=https___foo_googlesource_com_foo/main" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.apply foo:1234.git set upstream", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.apply foo:1234.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.apply foo:1234.timeout 11h 4m 26s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "--detach" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.apply foo:1234.detach", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive", |
| "--jobs", |
| "4" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.apply foo:1234.git submodule update", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": -120.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.apply foo:1234.reattach", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "RECIPE_MODULE[pigweed::checkout]/resources/submodule_status.py", |
| "[START_DIR]/project", |
| "/path/to/tmp/json", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.submodule status", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.status", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@applied [Change(number=1234, remote='https://foo.googlesource.com/foo', ref='2d72510e447ab60a9728aeea2362d8be2cbd7789', rebase=False, project='pigweed', branch='main', gerrit_name='foo', submitted=True, patchset=None, base='HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_', base_type='submitted_commit_hash', is_merge=False, commit_message='')]\nnot applied []@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[{\"applied\": true, \"base\": \"HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_\", \"base_type\": \"submitted_commit_hash\", \"branch\": \"main\", \"commit_message\": \"\", \"gerrit_name\": \"foo\", \"is_merge\": false, \"number\": 1234, \"patchset\": null, \"project\": \"pigweed\", \"rebase\": false, \"ref\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", \"remote\": \"https://foo.googlesource.com/foo\", \"submitted\": true}]", |
| "[CLEANUP]/tmp_tmp_1" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.write changes.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@tmp_tmp_1@[{\"applied\": true, \"base\": \"HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_\", \"base_type\": \"submitted_commit_hash\", \"branch\": \"main\", \"commit_message\": \"\", \"gerrit_name\": \"foo\", \"is_merge\": false, \"number\": 1234, \"patchset\": null, \"project\": \"pigweed\", \"rebase\": false, \"ref\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", \"remote\": \"https://foo.googlesource.com/foo\", \"submitted\": true}]@@@", |
| "@@@STEP_LOG_END@tmp_tmp_1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.git log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "log", |
| "--oneline", |
| "-n", |
| "10" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.git log.[START_DIR]/project", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout foo.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": [ |
| "vpython3", |
| "-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 foo.mkdir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "status", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.submodule-status", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-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 foo.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]/project", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout foo.log", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-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 foo.write git log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@git.log@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/co/foo.txt", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "read old revision", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@foo.txt@1111111111111111111111111111111111111111@@@", |
| "@@@STEP_LOG_END@foo.txt@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "2d72510e447ab60a9728aeea2362d8be2cbd7789\n", |
| "[START_DIR]/co/foo.txt" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "write new revision", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@foo.txt@2d72510e447ab60a9728aeea2362d8be2cbd7789@@@", |
| "@@@STEP_LOG_END@foo.txt@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "get roll direction", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@forward@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "merge-base", |
| "--is-ancestor", |
| "1111111111111111111111111111111111111111", |
| "2d72510e447ab60a9728aeea2362d8be2cbd7789" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get roll direction.is forward", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "merge-base", |
| "--is-ancestor", |
| "2d72510e447ab60a9728aeea2362d8be2cbd7789", |
| "1111111111111111111111111111111111111111" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get roll direction.is backward", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "txt_path", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@'foo.txt'@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "remote" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "remote.name", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "get-url", |
| "origin" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "remote.url", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "foo.txt" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "log", |
| "--pretty=format:%H\n%an\n%ae\n%B", |
| "-z", |
| "1111111111111111111111111111111111111111..2d72510e447ab60a9728aeea2362d8be2cbd7789" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "foo.txt.git log", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/gerrit/version%3Apinned-version/gerrit", |
| "change-query", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"params\": {\"q\": \"commit:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "foo.txt.get change-id", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"_number\": 12345@@@", |
| "@@@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:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ }@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/gerrit/version%3Apinned-version/gerrit", |
| "change-detail", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"12345\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/project", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "foo.txt.get 12345", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"owner\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"author@example.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"author\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"reviewers\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"REVIEWER\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"reviewer@example.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"reviewer\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"nobody@google.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"nobody\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"robot@gserviceaccount.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"robot\"@@@", |
| "@@@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@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"change_id\": \"12345\"@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@", |
| "@@@STEP_LINK@gerrit link@https://pigweed-review.googlesource.com/q/12345@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "roll message" |
| }, |
| { |
| "cmd": [], |
| "name": "roll message.message for foo.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@template@[roll {project_name}] {sanitized_message}@@@", |
| "@@@STEP_LOG_LINE@template@@@@", |
| "@@@STEP_LOG_LINE@template@{remote}@@@", |
| "@@@STEP_LOG_LINE@template@{project_name} Rolled-Commits: {old_revision:.15}..{new_revision:.15}@@@", |
| "@@@STEP_LOG_END@template@@@", |
| "@@@STEP_LOG_LINE@kwargs@'new_revision': '2d72510e447ab60a9728aeea2362d8be2cbd7789'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'old_revision': '1111111111111111111111111111111111111111'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'original_message': 'foo\\nbar\\n\\nChange-Id: I1111'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'project_name': 'foo.txt'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'remote': 'https://pigweed.googlesource.com/pigweed/pigweed'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'sanitized_message': 'foo\\nbar\\n'@@@", |
| "@@@STEP_LOG_END@kwargs@@@", |
| "@@@STEP_LOG_LINE@message@[roll foo.txt] foo@@@", |
| "@@@STEP_LOG_LINE@message@bar@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@https://pigweed.googlesource.com/pigweed/pigweed@@@", |
| "@@@STEP_LOG_LINE@message@foo.txt Rolled-Commits: 111111111111111..2d72510e447ab60@@@", |
| "@@@STEP_LOG_END@message@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-files", |
| "--modified", |
| "--deleted", |
| "--exclude-standard" |
| ], |
| "cwd": "[START_DIR]/co", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "check for no-op commit", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@stdout@hello@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| "--update" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "git add", |
| "timeout": 60.0 |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "git rev-parse", |
| "timeout": 60.0 |
| }, |
| { |
| "cmd": [], |
| "name": "calculate Change-Id", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff", |
| "--unified=0", |
| "--cached" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "calculate Change-Id.git diff", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@diff --git a/foo.txt b/foo.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@--- a/foo.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@+++ b/foo.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@@@ -16 +16 @@@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@- foo = 5@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@+ foo = 6@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@diff --git a/bar.txt b/bar.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@--- a/bar.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@+++ b/bar.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@@@ -5 +5 @@@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@- bar = 0@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@+ bar = 1@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@@@@", |
| "@@@STEP_LOG_END@diff (without hashes)@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "hash-object", |
| "diff --git a/foo.txt b/foo.txt\n--- a/foo.txt\n+++ b/foo.txt\n@@ -16 +16 @@\n- foo = 5\n+ foo = 6\ndiff --git a/bar.txt b/bar.txt\n--- a/bar.txt\n+++ b/bar.txt\n@@ -5 +5 @@\n- bar = 0\n+ bar = 1\n####builder########" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "calculate Change-Id.git hash-object", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/gerrit/version%3Apinned-version/gerrit", |
| "change-query", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"params\": {\"o\": [\"CURRENT_COMMIT\", \"CURRENT_REVISION\", \"MESSAGES\"], \"q\": \"change:pigweed/pigweed~main~I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c\"}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "check for identical roll", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@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@ \"o\": [@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"CURRENT_COMMIT\", @@@", |
| "@@@STEP_LOG_LINE@json.input@ \"CURRENT_REVISION\", @@@", |
| "@@@STEP_LOG_LINE@json.input@ \"MESSAGES\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ ], @@@", |
| "@@@STEP_LOG_LINE@json.input@ \"q\": \"change:pigweed/pigweed~main~I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ }@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "[roll foo.txt] foo\nbar\n\n\nhttps://pigweed.googlesource.com/pigweed/pigweed\nfoo.txt Rolled-Commits: 111111111111111..2d72510e447ab60\n--divider--\nRoller-URL: https://ci.chromium.org/b/8945511751514863184\nCQ-Do-Not-Cancel-Tryjobs: true\nChange-Id: I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c", |
| "-a", |
| "--no-verify", |
| "--author", |
| "author <author@pigweed.infra.roller.example.com>" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "git commit", |
| "timeout": 600.0 |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "--push-option", |
| "nokeycheck", |
| "origin", |
| "HEAD:refs/for/main%l=Commit-Queue+2" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "git push", |
| "timeout": 180.0, |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@stdout@@@@", |
| "@@@STEP_LOG_END@stdout@@@", |
| "@@@STEP_LINK@gerrit link@https://pigweed-review.googlesource.com/q/pigweed/pigweed~main~I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "check for completion" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/gerrit/version%3Apinned-version/gerrit", |
| "change-detail", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"pigweed/pigweed~main~I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c\", \"params\": {\"o\": [\"CURRENT_REVISION\"]}}", |
| "-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": "check for completion.check if done (0)", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"current_revision\": \"abc123\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"labels\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"Commit-Queue\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"approved\": {}@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"status\": \"MERGED\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"change_id\": \"pigweed/pigweed~main~I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c\", @@@", |
| "@@@STEP_LOG_LINE@json.input@ \"params\": {@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"o\": [@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"CURRENT_REVISION\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ ]@@@", |
| "@@@STEP_LOG_LINE@json.input@ }@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@", |
| "@@@STEP_LINK@gerrit link@https://pigweed-review.googlesource.com/q/pigweed/pigweed~main~I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c@@@" |
| ] |
| }, |
| { |
| "name": "$result", |
| "summaryMarkdown": "Roll succeeded. [gerrit link](https://pigweed-review.googlesource.com/q/pigweed/pigweed~main~I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c)" |
| } |
| ] |