| [ |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/fuchsia" |
| ], |
| "infra_step": true, |
| "name": "makedirs" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git init" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://fuchsia.googlesource.com/fuchsia.git" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git remote" |
| }, |
| { |
| "cmd": [], |
| "name": "cache" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git/fuchsia.googlesource.com-fuchsia.git" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-fuchsia.git", |
| "name": "cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.None.url", |
| "https://fuchsia.googlesource.com/fuchsia.git" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-fuchsia.git", |
| "name": "cache.remote set-url", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-fuchsia.git", |
| "name": "cache.git config", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-fuchsia.git", |
| "name": "cache.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/fuchsia/.git/objects/info" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "cache.makedirs object/info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/git/fuchsia.googlesource.com-fuchsia.git/objects\n", |
| "[START_DIR]/fuchsia/.git/objects/info/alternates" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-fuchsia.git/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "testing", |
| "--recurse-submodules" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git fetch" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git checkout" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git rev-parse" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git clean" |
| }, |
| { |
| "cmd": [], |
| "name": "submodule" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive", |
| "--force" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git rev-parse (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git config" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "show", |
| "HEAD", |
| "--format=%at", |
| "--no-patch" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git show" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "show", |
| "HEAD", |
| "--format=%B", |
| "--no-patch" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git show (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@commit message@[foo] bar@@@", |
| "@@@STEP_LOG_LINE@commit message@baz@@@", |
| "@@@STEP_LOG_END@commit message@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "show", |
| "HEAD", |
| "--format=%B", |
| "--no-patch", |
| "--oneline" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git show (3)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@commit message@[foo] bar@@@", |
| "@@@STEP_LOG_LINE@commit message@baz@@@", |
| "@@@STEP_LOG_END@commit message@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff-tree", |
| "--no-commit-id", |
| "--name-only", |
| "-r", |
| "HEAD", |
| "-z" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git diff-tree", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@files@foo/bar/baz@@@", |
| "@@@STEP_LOG_LINE@files@foo/baz@@@", |
| "@@@STEP_LOG_END@files@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff-tree", |
| "--no-commit-id", |
| "--name-only", |
| "-r", |
| "HEAD", |
| "-z" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git diff-tree (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@files@foo.bar@@@", |
| "@@@STEP_LOG_LINE@files@bar.foo@@@", |
| "@@@STEP_LOG_END@files@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "-c", |
| "foo=bar", |
| "status" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git status" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rebase", |
| "origin/master" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git rebase" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "describe", |
| "--tags", |
| "--contains", |
| "--exact-match", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git describe" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "describe", |
| "--tags", |
| "--contains", |
| "--exact-match", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git describe (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "describe", |
| "--tags", |
| "--contains", |
| "--exact-match", |
| "foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git describe (3)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://fuchsia.googlesource.com/fuchsia.git", |
| "master" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git ls-remote" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--tags", |
| "https://fuchsia.googlesource.com/fuchsia.git", |
| "dummytag" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git ls-remote (2)" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "1337000001.5", |
| "[START_DIR]/fuchsia/time.txt" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "drop file", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@time.txt@1337000001.5@@@", |
| "@@@STEP_LOG_END@time.txt@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| "[START_DIR]/fuchsia/time.txt" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git add" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "example change 1" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git commit" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "example change 2", |
| "[START_DIR]/fuchsia/time.txt" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git commit (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "example change 3", |
| "-a" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git commit (3)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| "-A" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git add (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "example change 4" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git commit (4)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "example change 5", |
| "--author", |
| "foo <bar@example.com>" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git commit (5)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git diff" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff", |
| "HEAD^", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git diff (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "apply", |
| "[TMP_BASE]/git.patch" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git apply" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "--dry-run", |
| "origin", |
| "HEAD:refs/for/master" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git push" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "--push-option", |
| "nokeycheck", |
| "origin", |
| "HEAD:refs/for/master" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git push (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "--atomic", |
| "origin", |
| "HEAD:refs/heads/master", |
| "refs/tags/foo" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "git push (3)" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |