| 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 "master", | |
| 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 "rev-parse", | |
| 41 "HEAD" | |
| 42 ], | |
| 43 "cwd": "[SLAVE_BUILD]/src", | |
| 44 "name": "set got_revision", | |
| 45 "stdout": "/path/to/tmp/", | |
| 46 "~followup_annotations": [ | |
| 47 "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" | |
| 48 ] | |
| 49 }, | |
| 50 { | |
| 51 "cmd": [ | |
| 52 "git", | |
| 53 "clean", | |
| 54 "-f", | |
| 55 "-d", | |
| 56 "-x" | |
| 57 ], | |
| 58 "cwd": "[SLAVE_BUILD]/src", | |
| 59 "name": "git clean" | |
| 60 }, | |
| 61 { | |
| 62 "cmd": [ | |
| 63 "git", | |
| 64 "submodule", | |
| 65 "sync" | |
| 66 ], | |
| 67 "cwd": "[SLAVE_BUILD]/src", | |
| 68 "name": "submodule sync" | |
| 69 }, | |
| 70 { | |
| 71 "cmd": [ | |
| 72 "git", | |
| 73 "submodule", | |
| 74 "update", | |
| 75 "--init", | |
| 76 "--recursive" | |
| 77 ], | |
| 78 "cwd": "[SLAVE_BUILD]/src", | |
| 79 "name": "submodule update" | |
| 80 }, | |
| 81 { | |
| 82 "cmd": [ | |
| 83 "git", | |
| 84 "-c", | |
| 85 "foo=bar", | |
| 86 "count-objects", | |
| 87 "-v" | |
| 88 ], | |
| 89 "cwd": "[SLAVE_BUILD]/src", | |
| 90 "name": "count-objects", | |
| 91 "stdout": "/path/to/tmp/" | |
| 92 }, | |
| 93 { | |
| 94 "cmd": [ | |
| 95 "git", | |
| 96 "config", | |
| 97 "--get", | |
| 98 "remote.origin.url" | |
| 99 ], | |
| 100 "cwd": "[SLAVE_BUILD]/src", | |
| 101 "name": "git config remote.origin.url", | |
| 102 "stdout": "/path/to/tmp/", | |
| 103 "~followup_annotations": [ | |
| 104 "@@@STEP_TEXT@foo@@@" | |
| 105 ] | |
| 106 }, | |
| 107 { | |
| 108 "cmd": [ | |
| 109 "git", | |
| 110 "show", | |
| 111 "HEAD", | |
| 112 "--format=%at", | |
| 113 "-s" | |
| 114 ], | |
| 115 "cwd": "[SLAVE_BUILD]/src", | |
| 116 "name": "git show", | |
| 117 "stdout": "/path/to/tmp/" | |
| 118 }, | |
| 119 { | |
| 120 "cmd": [ | |
| 121 "git", | |
| 122 "fetch", | |
| 123 "origin", | |
| 124 "--tags" | |
| 125 ], | |
| 126 "cwd": "[SLAVE_BUILD]/src", | |
| 127 "name": "git fetch tags" | |
| 128 }, | |
| 129 { | |
| 130 "cmd": [ | |
| 131 "git", | |
| 132 "status" | |
| 133 ], | |
| 134 "cwd": "[SLAVE_BUILD]/src", | |
| 135 "name": "git status" | |
| 136 }, | |
| 137 { | |
| 138 "cmd": [ | |
| 139 "git", | |
| 140 "status" | |
| 141 ], | |
| 142 "cwd": "[SLAVE_BUILD]/src", | |
| 143 "name": "git status can_fail_build" | |
| 144 }, | |
| 145 { | |
| 146 "cmd": [ | |
| 147 "git", | |
| 148 "status" | |
| 149 ], | |
| 150 "cwd": "[SLAVE_BUILD]/src", | |
| 151 "name": "git status cannot_fail_build" | |
| 152 }, | |
| 153 { | |
| 154 "cmd": [ | |
| 155 "git", | |
| 156 "rebase", | |
| 157 "origin/master" | |
| 158 ], | |
| 159 "cwd": "[SLAVE_BUILD]/src", | |
| 160 "name": "my repo rebase" | |
| 161 }, | |
| 162 { | |
| 163 "cmd": [ | |
| 164 "git", | |
| 165 "bundle", | |
| 166 "create", | |
| 167 "[SLAVE_BUILD]/all.bundle", | |
| 168 "--all" | |
| 169 ], | |
| 170 "cwd": "[SLAVE_BUILD]/src", | |
| 171 "name": "git bundle" | |
| 172 }, | |
| 173 { | |
| 174 "name": "$result", | |
| 175 "recipe_result": null, | |
| 176 "status_code": 0 | |
| 177 } | |
| 178 ] | |
| OLD | NEW |