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