| OLD | NEW |
| (Empty) |
| 1 [ | |
| 2 { | |
| 3 "cmd": [ | |
| 4 "python", | |
| 5 "-u", | |
| 6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | |
| 7 "--path", | |
| 8 "[CWD]/src", | |
| 9 "--url", | |
| 10 "https://chromium.googlesource.com/chromium/src" | |
| 11 ], | |
| 12 "name": "git setup" | |
| 13 }, | |
| 14 { | |
| 15 "cmd": [ | |
| 16 "git", | |
| 17 "retry", | |
| 18 "fetch", | |
| 19 "origin", | |
| 20 "master" | |
| 21 ], | |
| 22 "cwd": "[CWD]/src", | |
| 23 "name": "git fetch" | |
| 24 }, | |
| 25 { | |
| 26 "cmd": [ | |
| 27 "git", | |
| 28 "checkout", | |
| 29 "-f", | |
| 30 "FETCH_HEAD" | |
| 31 ], | |
| 32 "cwd": "[CWD]/src", | |
| 33 "name": "git checkout" | |
| 34 }, | |
| 35 { | |
| 36 "cmd": [ | |
| 37 "git", | |
| 38 "rev-parse", | |
| 39 "HEAD" | |
| 40 ], | |
| 41 "cwd": "[CWD]/src", | |
| 42 "name": "read revision", | |
| 43 "stdout": "/path/to/tmp/", | |
| 44 "~followup_annotations": [ | |
| 45 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | |
| 46 ] | |
| 47 }, | |
| 48 { | |
| 49 "cmd": [ | |
| 50 "git", | |
| 51 "clean", | |
| 52 "-f", | |
| 53 "-d", | |
| 54 "-x" | |
| 55 ], | |
| 56 "cwd": "[CWD]/src", | |
| 57 "name": "git clean" | |
| 58 }, | |
| 59 { | |
| 60 "cmd": [ | |
| 61 "git", | |
| 62 "remote", | |
| 63 "remove", | |
| 64 "destination_repo" | |
| 65 ], | |
| 66 "cwd": "[CWD]/src", | |
| 67 "name": "git remote" | |
| 68 }, | |
| 69 { | |
| 70 "cmd": [ | |
| 71 "git", | |
| 72 "remote", | |
| 73 "add", | |
| 74 "destination_repo", | |
| 75 "https://chromium.googlesource.com/chromium/src/codesearch" | |
| 76 ], | |
| 77 "cwd": "[CWD]/src", | |
| 78 "name": "git remote (2)" | |
| 79 }, | |
| 80 { | |
| 81 "cmd": [ | |
| 82 "git", | |
| 83 "fetch", | |
| 84 "destination_repo", | |
| 85 "+refs/heads/master" | |
| 86 ], | |
| 87 "cwd": "[CWD]/src", | |
| 88 "name": "git fetch (2)" | |
| 89 }, | |
| 90 { | |
| 91 "cmd": [ | |
| 92 "python", | |
| 93 "RECIPE_MODULE[build::sync_submodules]/resources/deps2submodules.py", | |
| 94 "DEPS" | |
| 95 ], | |
| 96 "cwd": "[CWD]/src", | |
| 97 "name": "deps2submodules" | |
| 98 }, | |
| 99 { | |
| 100 "cmd": [ | |
| 101 "git", | |
| 102 "commit", | |
| 103 "-m", | |
| 104 "Update submodule references.\n\nThis is an artificial commit to make depe
ndencies specified in the DEPS file\nvisible to Codesearch.\nThis commit does no
t exist in the underlying repository." | |
| 105 ], | |
| 106 "cwd": "[CWD]/src", | |
| 107 "name": "git commit" | |
| 108 }, | |
| 109 { | |
| 110 "cmd": [ | |
| 111 "git", | |
| 112 "push", | |
| 113 "destination_repo", | |
| 114 "+HEAD:refs/heads/master" | |
| 115 ], | |
| 116 "cwd": "[CWD]/src", | |
| 117 "name": "git push" | |
| 118 }, | |
| 119 { | |
| 120 "cmd": [ | |
| 121 "python", | |
| 122 "-u", | |
| 123 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | |
| 124 "--path", | |
| 125 "[CWD]/infra", | |
| 126 "--url", | |
| 127 "https://chromium.googlesource.com/infra/infra" | |
| 128 ], | |
| 129 "name": "git setup (2)" | |
| 130 }, | |
| 131 { | |
| 132 "cmd": [ | |
| 133 "git", | |
| 134 "retry", | |
| 135 "fetch", | |
| 136 "origin", | |
| 137 "master" | |
| 138 ], | |
| 139 "cwd": "[CWD]/infra", | |
| 140 "name": "git fetch (3)" | |
| 141 }, | |
| 142 { | |
| 143 "cmd": [ | |
| 144 "git", | |
| 145 "checkout", | |
| 146 "-f", | |
| 147 "FETCH_HEAD" | |
| 148 ], | |
| 149 "cwd": "[CWD]/infra", | |
| 150 "name": "git checkout (2)" | |
| 151 }, | |
| 152 { | |
| 153 "cmd": [ | |
| 154 "git", | |
| 155 "rev-parse", | |
| 156 "HEAD" | |
| 157 ], | |
| 158 "cwd": "[CWD]/infra", | |
| 159 "name": "read revision (2)", | |
| 160 "stdout": "/path/to/tmp/", | |
| 161 "~followup_annotations": [ | |
| 162 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | |
| 163 ] | |
| 164 }, | |
| 165 { | |
| 166 "cmd": [ | |
| 167 "git", | |
| 168 "clean", | |
| 169 "-f", | |
| 170 "-d", | |
| 171 "-x" | |
| 172 ], | |
| 173 "cwd": "[CWD]/infra", | |
| 174 "name": "git clean (2)" | |
| 175 }, | |
| 176 { | |
| 177 "cmd": [ | |
| 178 "git", | |
| 179 "remote", | |
| 180 "remove", | |
| 181 "destination_repo" | |
| 182 ], | |
| 183 "cwd": "[CWD]/infra", | |
| 184 "name": "git remote (3)" | |
| 185 }, | |
| 186 { | |
| 187 "cmd": [ | |
| 188 "git", | |
| 189 "remote", | |
| 190 "add", | |
| 191 "destination_repo", | |
| 192 "https://chromium.googlesource.com/infra/infra/codesearch" | |
| 193 ], | |
| 194 "cwd": "[CWD]/infra", | |
| 195 "name": "git remote (4)" | |
| 196 }, | |
| 197 { | |
| 198 "cmd": [ | |
| 199 "git", | |
| 200 "fetch", | |
| 201 "destination_repo", | |
| 202 "+refs/heads/master" | |
| 203 ], | |
| 204 "cwd": "[CWD]/infra", | |
| 205 "name": "git fetch (4)" | |
| 206 }, | |
| 207 { | |
| 208 "cmd": [ | |
| 209 "python", | |
| 210 "RECIPE_MODULE[build::sync_submodules]/resources/deps2submodules.py", | |
| 211 "DEPS" | |
| 212 ], | |
| 213 "cwd": "[CWD]/infra", | |
| 214 "name": "deps2submodules (2)" | |
| 215 }, | |
| 216 { | |
| 217 "cmd": [ | |
| 218 "git", | |
| 219 "commit", | |
| 220 "-m", | |
| 221 "Update submodule references.\n\nThis is an artificial commit to make depe
ndencies specified in the DEPS file\nvisible to Codesearch.\nThis commit does no
t exist in the underlying repository." | |
| 222 ], | |
| 223 "cwd": "[CWD]/infra", | |
| 224 "name": "git commit (2)" | |
| 225 }, | |
| 226 { | |
| 227 "cmd": [ | |
| 228 "git", | |
| 229 "push", | |
| 230 "destination_repo", | |
| 231 "+HEAD:refs/heads/master" | |
| 232 ], | |
| 233 "cwd": "[CWD]/infra", | |
| 234 "name": "git push (2)" | |
| 235 }, | |
| 236 { | |
| 237 "name": "$result", | |
| 238 "recipe_result": null, | |
| 239 "status_code": 0 | |
| 240 } | |
| 241 ] | |
| OLD | NEW |