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