| [ |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/default.xml", |
| "/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 manifest", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@default.xml@<?xml version=\"1.0\" encoding=\"UTF-8\"?>@@@", |
| "@@@STEP_LOG_LINE@default.xml@<manifest>@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <!-- single-line comment -->@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <remote name=\"foo\" fetch=\"sso://foo\" review=\"sso://foo\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <remote name=\"bar\" fetch=\"sso://bar\" review=\"sso://bar\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <remote name=\"host\" fetch=\"..\" review=\"sso://host\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <remote name=\"dotdot-prefix\" fetch=\"../prefix\" review=\"sso://host/prefix\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <remote name=\"host-prefix\" fetch=\"sso://host/prefix\"@@@", |
| "@@@STEP_LOG_LINE@default.xml@ review=\"sso://host/prefix\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <default remote=\"bar\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"a\" path=\"a1\" remote=\"foo\"@@@", |
| "@@@STEP_LOG_LINE@default.xml@ revision=\"1111111111111111111111111111111111111111\" upstream=\"main\"/>@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"b\" path=\"b2\"@@@", |
| "@@@STEP_LOG_LINE@default.xml@ revision=\"2222222222222222222222222222222222222222\" upstream=\"main\"/>@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <!--@@@", |
| "@@@STEP_LOG_LINE@default.xml@ multi@@@", |
| "@@@STEP_LOG_LINE@default.xml@ line@@@", |
| "@@@STEP_LOG_LINE@default.xml@ comment@@@", |
| "@@@STEP_LOG_LINE@default.xml@ -->@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"c\" path=\"c3\" revision=\"main\"/>@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"d\" path=\"d4\"@@@", |
| "@@@STEP_LOG_LINE@default.xml@ revision=\"0000000000111111111122222222223333333333\"/>@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"e5\" revision=\"refs/tags/e\"/>@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"f\" path=\"f6\" remote=\"host\" revision=\"main\"/>@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"g\" path=\"g7\" remote=\"dotdot-prefix\" revision=\"main\"/>@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"h\" path=\"h8\" remote=\"host-prefix\" revision=\"main\"/>@@@", |
| "@@@STEP_LOG_LINE@default.xml@</manifest>@@@", |
| "@@@STEP_LOG_END@default.xml@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout c" |
| }, |
| { |
| "cmd": [], |
| "name": "checkout c.options", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@remote: \"https://bar.googlesource.com/c\"\nbranch: \"main\"\n@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout c.options with defaults", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@remote: \"https://bar.googlesource.com/c\"\nbranch: \"main\"\nmanifest_file: \"default.xml\"\nrepo_init_timeout_sec: 20\nrepo_sync_timeout_sec: 120\nnumber_of_attempts: 3\nsubmodule_timeout_sec: 600\n@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout c.not matching branch names", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout c.cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@miss@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[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 c.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 c.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", |
| "0o777", |
| "[CACHE]/git/bar.googlesource.com-c" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout c.cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[CACHE]/git/bar.googlesource.com-c", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout c.cache.git init", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://bar.googlesource.com/c" |
| ], |
| "cwd": "[CACHE]/git/bar.googlesource.com-c", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout c.cache.remote set-url", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/bar.googlesource.com-c", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout c.cache.set fetch.uriprotocols", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout c.cache.timeout 10s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "--jobs", |
| "4", |
| "origin", |
| "--no-recurse-submodules" |
| ], |
| "cwd": "[CACHE]/git/bar.googlesource.com-c", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout c.cache.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "merge", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[CACHE]/git/bar.googlesource.com-c", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout c.cache.git merge", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout c.cache.timeout 10s (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--recursive", |
| "--force", |
| "--jobs", |
| "4" |
| ], |
| "cwd": "[CACHE]/git/bar.googlesource.com-c", |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout c.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 c.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/bar.googlesource.com-c", |
| "[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 c.copy from cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout c.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout c.git checkout.timeout 10s", |
| "~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", |
| "0o777", |
| "[START_DIR]/project" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": 1337000019.0 |
| }, |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout c.git checkout.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "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 c.git checkout.git init", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://bar.googlesource.com/c" |
| ], |
| "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 c.git checkout.git remote", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "core.longpaths", |
| "true" |
| ], |
| "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 c.git checkout.set core.longpaths", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "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 c.git checkout.set fetch.uriprotocols", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "--jobs", |
| "4", |
| "origin", |
| "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 c.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": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout c.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": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout c.git checkout.git rev-parse", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "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 c.git checkout.git clean", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout c.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 c.git log.[START_DIR]/project", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-f", |
| "-d" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout c.git clean", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "status" |
| ], |
| "cwd": "[START_DIR]/project", |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "checkout c.git 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", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[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 c.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 c.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 c.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 c.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 c.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", |
| "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<manifest>\n <!-- single-line comment -->\n <remote fetch=\"sso://foo\" name=\"foo\" review=\"sso://foo\" />\n <remote fetch=\"sso://bar\" name=\"bar\" review=\"sso://bar\" />\n <remote fetch=\"..\" name=\"host\" review=\"sso://host\" />\n <remote fetch=\"../prefix\" name=\"dotdot-prefix\" review=\"sso://host/prefix\" />\n <remote fetch=\"sso://host/prefix\" name=\"host-prefix\" review=\"sso://host/prefix\" />\n <default remote=\"bar\" />\n <project name=\"a\" path=\"a1\" remote=\"foo\" revision=\"1111111111111111111111111111111111111111\" upstream=\"main\" />\n <project name=\"b\" path=\"b2\" revision=\"2222222222222222222222222222222222222222\" upstream=\"main\" />\n <!--\n multi\n line\n comment\n -->\n <project name=\"c\" path=\"c3\" revision=\"2d72510e447ab60a9728aeea2362d8be2cbd7789\" upstream=\"main\" />\n <project name=\"d\" path=\"d4\" revision=\"0000000000111111111122222222223333333333\" />\n <project name=\"e5\" revision=\"refs/tags/e\" />\n <project name=\"f\" path=\"f6\" remote=\"host\" revision=\"main\" />\n <project name=\"g\" path=\"g7\" remote=\"dotdot-prefix\" revision=\"main\" />\n <project name=\"h\" path=\"h8\" remote=\"host-prefix\" revision=\"main\" />\n</manifest>\n", |
| "[START_DIR]/checkout/default.xml" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "write manifest", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@default.xml@<?xml version=\"1.0\" encoding=\"UTF-8\"?>@@@", |
| "@@@STEP_LOG_LINE@default.xml@<manifest>@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <!-- single-line comment -->@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <remote fetch=\"sso://foo\" name=\"foo\" review=\"sso://foo\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <remote fetch=\"sso://bar\" name=\"bar\" review=\"sso://bar\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <remote fetch=\"..\" name=\"host\" review=\"sso://host\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <remote fetch=\"../prefix\" name=\"dotdot-prefix\" review=\"sso://host/prefix\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <remote fetch=\"sso://host/prefix\" name=\"host-prefix\" review=\"sso://host/prefix\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <default remote=\"bar\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"a\" path=\"a1\" remote=\"foo\" revision=\"1111111111111111111111111111111111111111\" upstream=\"main\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"b\" path=\"b2\" revision=\"2222222222222222222222222222222222222222\" upstream=\"main\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <!--@@@", |
| "@@@STEP_LOG_LINE@default.xml@ multi@@@", |
| "@@@STEP_LOG_LINE@default.xml@ line@@@", |
| "@@@STEP_LOG_LINE@default.xml@ comment@@@", |
| "@@@STEP_LOG_LINE@default.xml@ -->@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"c\" path=\"c3\" revision=\"2d72510e447ab60a9728aeea2362d8be2cbd7789\" upstream=\"main\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"d\" path=\"d4\" revision=\"0000000000111111111122222222223333333333\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"e5\" revision=\"refs/tags/e\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"f\" path=\"f6\" remote=\"host\" revision=\"main\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"g\" path=\"g7\" remote=\"dotdot-prefix\" revision=\"main\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@ <project name=\"h\" path=\"h8\" remote=\"host-prefix\" revision=\"main\" />@@@", |
| "@@@STEP_LOG_LINE@default.xml@</manifest>@@@", |
| "@@@STEP_LOG_END@default.xml@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "change" |
| }, |
| { |
| "cmd": [], |
| "name": "change.dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@[START_DIR]/project@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "change.old", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@main@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "change.new", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@2d72510e447ab60a9728aeea2362d8be2cbd7789@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "change.direction", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@Direction.FORWARD@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |