| [ |
| { |
| "cmd": [], |
| "name": "dest1" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://foo.googlesource.com/foo", |
| "main" |
| ], |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "name": "dest1.git ls-remote", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/main@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[START_DIR]/checkout" |
| ], |
| "infra_step": true, |
| "name": "dest1.ensure directory [START_DIR]/checkout", |
| "~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]/checkout/dest1", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "dest1.read destination dest1", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@dest1@old1@@@", |
| "@@@STEP_LOG_END@dest1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "dest1.checkout https://foo.googlesource.com/foo", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@https://foo.googlesource.com/foo@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[CLEANUP]/copy_roll_checkout_tmp_1" |
| ], |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.git init", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://foo.googlesource.com/foo" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.git remote", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "core.longpaths", |
| "true" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.set core.longpaths", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.enable packfiles", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "dest1.checkout https://foo.googlesource.com/foo.cache", |
| "~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" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.cache.ensure git cache dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.cache.write git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[CACHE]/git/foo.googlesource.com-foo" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-foo", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.cache.git init", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://foo.googlesource.com/foo" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-foo", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.cache.remote set-url", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "core.longpaths", |
| "true" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-foo", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.cache.set core.longpaths", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-foo", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.cache.enable packfiles", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-foo", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.cache.replace fetch configs", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "--jobs", |
| "4", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-foo", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.cache.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[CLEANUP]/copy_roll_checkout_tmp_1/.git/objects/info" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.cache.makedirs object/info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/git/foo.googlesource.com-foo/objects\n", |
| "[CLEANUP]/copy_roll_checkout_tmp_1/.git/objects/info/alternates" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/foo.googlesource.com-foo/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.cache.remove git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "--jobs", |
| "4", |
| "origin", |
| "h3ll0" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.git checkout", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.git rev-parse", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.git clean", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "dest1.checkout https://foo.googlesource.com/foo.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "dest1.checkout https://foo.googlesource.com/foo.submodule.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.submodule.submodule.git submodule sync", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--jobs", |
| "4" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_1", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest1.checkout https://foo.googlesource.com/foo.submodule.submodule.git submodule update", |
| "timeout": 1800.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/copy_roll_checkout_tmp_1/source1", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "dest1.read source source1", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@source1@new1@@@", |
| "@@@STEP_LOG_END@source1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "dest1.new source1", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@'new1'@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "is_executable", |
| "[START_DIR]/checkout/dest1" |
| ], |
| "infra_step": true, |
| "name": "dest1.check executable destination dest1", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "is_executable", |
| "[CLEANUP]/copy_roll_checkout_tmp_1/source1" |
| ], |
| "infra_step": true, |
| "name": "dest1.check executable source source1", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/copy_roll_checkout_tmp_1/source1", |
| "[START_DIR]/checkout/dest1" |
| ], |
| "infra_step": true, |
| "name": "dest1.copy destination dest1", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "dest2" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://foo.googlesource.com/bar", |
| "main" |
| ], |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "name": "dest2.git ls-remote", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/main@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[START_DIR]/checkout" |
| ], |
| "infra_step": true, |
| "name": "dest2.ensure directory [START_DIR]/checkout", |
| "~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]/checkout/dest2", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "dest2.read destination dest2", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@dest2@old2@@@", |
| "@@@STEP_LOG_END@dest2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "dest2.checkout https://foo.googlesource.com/bar", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@https://foo.googlesource.com/bar@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[CLEANUP]/copy_roll_checkout_tmp_2" |
| ], |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.git init", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://foo.googlesource.com/bar" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.git remote", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "core.longpaths", |
| "true" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.set core.longpaths", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.enable packfiles", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "dest2.checkout https://foo.googlesource.com/bar.cache", |
| "~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" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.cache.write git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[CACHE]/git/foo.googlesource.com-bar" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-bar", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.cache.git init", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://foo.googlesource.com/bar" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-bar", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.cache.remote set-url", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "core.longpaths", |
| "true" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-bar", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.cache.set core.longpaths", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-bar", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.cache.enable packfiles", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-bar", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.cache.replace fetch configs", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "--jobs", |
| "4", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/foo.googlesource.com-bar", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.cache.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[CLEANUP]/copy_roll_checkout_tmp_2/.git/objects/info" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.cache.makedirs object/info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/git/foo.googlesource.com-bar/objects\n", |
| "[CLEANUP]/copy_roll_checkout_tmp_2/.git/objects/info/alternates" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/foo.googlesource.com-bar/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.cache.remove git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "--jobs", |
| "4", |
| "origin", |
| "h3ll0" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.git checkout", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.git rev-parse", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.git clean", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "dest2.checkout https://foo.googlesource.com/bar.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "dest2.checkout https://foo.googlesource.com/bar.submodule.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.submodule.submodule.git submodule sync", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--jobs", |
| "4" |
| ], |
| "cwd": "[CLEANUP]/copy_roll_checkout_tmp_2", |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "4", |
| "GIT_CONFIG_KEY_0": "fetch.unpackLimit", |
| "GIT_CONFIG_KEY_1": "gc.auto", |
| "GIT_CONFIG_KEY_2": "gc.autoDetach", |
| "GIT_CONFIG_KEY_3": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "1", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0", |
| "GIT_CONFIG_VALUE_3": "0" |
| }, |
| "infra_step": true, |
| "name": "dest2.checkout https://foo.googlesource.com/bar.submodule.submodule.git submodule update", |
| "timeout": 1800.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/copy_roll_checkout_tmp_2/source2", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "dest2.read source source2", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@source2@new2@@@", |
| "@@@STEP_LOG_END@source2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "dest2.new source2", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@'new2'@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "is_executable", |
| "[START_DIR]/checkout/dest2" |
| ], |
| "infra_step": true, |
| "name": "dest2.check executable destination dest2", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "is_executable", |
| "[CLEANUP]/copy_roll_checkout_tmp_2/source2" |
| ], |
| "infra_step": true, |
| "name": "dest2.check executable source source2", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/copy_roll_checkout_tmp_2/source2", |
| "[START_DIR]/checkout/dest2" |
| ], |
| "infra_step": true, |
| "name": "dest2.copy destination dest2", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "commit message", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@roll: dest1, dest2\n\ndest1\nFrom\n old1\nTo\n new1\n\ndest2\nFrom\n old2\nTo\n new2@@@", |
| "@@@SET_BUILD_PROPERTY@dest1@{\"new\": \"new1\", \"old\": \"old1\", \"path\": \"dest1\", \"revision\": \"h3ll0\"}@@@", |
| "@@@SET_BUILD_PROPERTY@dest2@{\"new\": \"new2\", \"old\": \"old2\", \"path\": \"dest2\", \"revision\": \"h3ll0\"}@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |