| OLD | NEW |
| (Empty) |
| 1 [ | |
| 2 { | |
| 3 "cmd": [ | |
| 4 "python", | |
| 5 "-u", | |
| 6 "RECIPE_MODULE[git]/resources/git_setup.py", | |
| 7 "--path", | |
| 8 "[SLAVE_BUILD]/src", | |
| 9 "--url", | |
| 10 "https://chromium.googlesource.com/chromium/src.git" | |
| 11 ], | |
| 12 "cwd": "[SLAVE_BUILD]", | |
| 13 "name": "git setup" | |
| 14 }, | |
| 15 { | |
| 16 "cmd": [ | |
| 17 "git", | |
| 18 "retry", | |
| 19 "fetch", | |
| 20 "origin", | |
| 21 "testing", | |
| 22 "--recurse-submodules" | |
| 23 ], | |
| 24 "cwd": "[SLAVE_BUILD]/src", | |
| 25 "name": "git fetch" | |
| 26 }, | |
| 27 { | |
| 28 "cmd": [ | |
| 29 "git", | |
| 30 "checkout", | |
| 31 "-f", | |
| 32 "FETCH_HEAD" | |
| 33 ], | |
| 34 "cwd": "[SLAVE_BUILD]/src", | |
| 35 "name": "git checkout" | |
| 36 }, | |
| 37 { | |
| 38 "cmd": [ | |
| 39 "git", | |
| 40 "clean", | |
| 41 "-f", | |
| 42 "-d", | |
| 43 "-x" | |
| 44 ], | |
| 45 "cwd": "[SLAVE_BUILD]/src", | |
| 46 "name": "git clean" | |
| 47 }, | |
| 48 { | |
| 49 "cmd": [ | |
| 50 "git", | |
| 51 "submodule", | |
| 52 "sync" | |
| 53 ], | |
| 54 "cwd": "[SLAVE_BUILD]/src", | |
| 55 "name": "submodule sync" | |
| 56 }, | |
| 57 { | |
| 58 "cmd": [ | |
| 59 "git", | |
| 60 "submodule", | |
| 61 "update", | |
| 62 "--init", | |
| 63 "--recursive" | |
| 64 ], | |
| 65 "cwd": "[SLAVE_BUILD]/src", | |
| 66 "name": "submodule update" | |
| 67 }, | |
| 68 { | |
| 69 "cmd": [ | |
| 70 "git", | |
| 71 "-c", | |
| 72 "foo=bar", | |
| 73 "count-objects", | |
| 74 "-v" | |
| 75 ], | |
| 76 "cwd": "[SLAVE_BUILD]/src", | |
| 77 "name": "count-objects", | |
| 78 "stdout": "/path/to/tmp/" | |
| 79 }, | |
| 80 { | |
| 81 "cmd": [ | |
| 82 "git", | |
| 83 "config", | |
| 84 "--get", | |
| 85 "remote.origin.url" | |
| 86 ], | |
| 87 "cwd": "[SLAVE_BUILD]/src", | |
| 88 "name": "git config remote.origin.url", | |
| 89 "stdout": "/path/to/tmp/", | |
| 90 "~followup_annotations": [ | |
| 91 "@@@STEP_TEXT@foo@@@" | |
| 92 ] | |
| 93 }, | |
| 94 { | |
| 95 "cmd": [ | |
| 96 "git", | |
| 97 "show", | |
| 98 "HEAD", | |
| 99 "--format=%at", | |
| 100 "-s" | |
| 101 ], | |
| 102 "cwd": "[SLAVE_BUILD]/src", | |
| 103 "name": "git show", | |
| 104 "stdout": "/path/to/tmp/" | |
| 105 }, | |
| 106 { | |
| 107 "cmd": [ | |
| 108 "git", | |
| 109 "fetch", | |
| 110 "origin", | |
| 111 "--tags" | |
| 112 ], | |
| 113 "cwd": "[SLAVE_BUILD]/src", | |
| 114 "name": "git fetch tags" | |
| 115 }, | |
| 116 { | |
| 117 "cmd": [ | |
| 118 "git", | |
| 119 "status" | |
| 120 ], | |
| 121 "cwd": "[SLAVE_BUILD]/src", | |
| 122 "name": "git status" | |
| 123 }, | |
| 124 { | |
| 125 "cmd": [ | |
| 126 "git", | |
| 127 "status" | |
| 128 ], | |
| 129 "cwd": "[SLAVE_BUILD]/src", | |
| 130 "name": "git status can_fail_build" | |
| 131 }, | |
| 132 { | |
| 133 "cmd": [ | |
| 134 "git", | |
| 135 "status" | |
| 136 ], | |
| 137 "cwd": "[SLAVE_BUILD]/src", | |
| 138 "name": "git status cannot_fail_build" | |
| 139 }, | |
| 140 { | |
| 141 "cmd": [ | |
| 142 "git", | |
| 143 "rebase", | |
| 144 "origin/master" | |
| 145 ], | |
| 146 "cwd": "[SLAVE_BUILD]/src", | |
| 147 "name": "my repo rebase" | |
| 148 }, | |
| 149 { | |
| 150 "cmd": [ | |
| 151 "git", | |
| 152 "bundle", | |
| 153 "create", | |
| 154 "[SLAVE_BUILD]/all.bundle", | |
| 155 "--all" | |
| 156 ], | |
| 157 "cwd": "[SLAVE_BUILD]/src", | |
| 158 "name": "git bundle" | |
| 159 }, | |
| 160 { | |
| 161 "name": "$result", | |
| 162 "recipe_result": null, | |
| 163 "status_code": 0 | |
| 164 } | |
| 165 ] | |
| OLD | NEW |