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