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