| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [], | 3 "cmd": [], |
| 4 "cwd": "[SLAVE_BUILD]", |
| 4 "name": "clean workspace" | 5 "name": "clean workspace" |
| 5 }, | 6 }, |
| 6 { | 7 { |
| 7 "cmd": [ | 8 "cmd": [ |
| 8 "python", | 9 "python", |
| 9 "-u", | 10 "-u", |
| 10 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", | 11 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", |
| 11 "[CWD]/depot_tools" | 12 "[SLAVE_BUILD]/depot_tools" |
| 12 ], | 13 ], |
| 14 "cwd": "[SLAVE_BUILD]", |
| 13 "name": "clean workspace.rmtree rm depot_tools", | 15 "name": "clean workspace.rmtree rm depot_tools", |
| 14 "~followup_annotations": [ | 16 "~followup_annotations": [ |
| 15 "@@@STEP_NEST_LEVEL@1@@@", | 17 "@@@STEP_NEST_LEVEL@1@@@", |
| 16 "@@@STEP_LOG_LINE@python.inline@@@@", | 18 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 17 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 19 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 18 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 20 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 19 "@@@STEP_LOG_LINE@python.inline@@@@", | 21 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 20 "@@@STEP_LOG_LINE@python.inline@@@@", | 22 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 21 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 23 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 22 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 24 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 23 "@@@STEP_LOG_END@python.inline@@@" | 25 "@@@STEP_LOG_END@python.inline@@@" |
| 24 ] | 26 ] |
| 25 }, | 27 }, |
| 26 { | 28 { |
| 27 "cmd": [ | 29 "cmd": [ |
| 28 "python", | 30 "python", |
| 29 "-u", | 31 "-u", |
| 30 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", | 32 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", |
| 31 "[CWD]/depot_tools.zip" | 33 "[SLAVE_BUILD]/depot_tools.zip" |
| 32 ], | 34 ], |
| 35 "cwd": "[SLAVE_BUILD]", |
| 33 "name": "clean workspace.rm depot_tools.zip", | 36 "name": "clean workspace.rm depot_tools.zip", |
| 34 "~followup_annotations": [ | 37 "~followup_annotations": [ |
| 35 "@@@STEP_NEST_LEVEL@1@@@", | 38 "@@@STEP_NEST_LEVEL@1@@@", |
| 36 "@@@STEP_LOG_LINE@python.inline@@@@", | 39 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 37 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 40 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
| 38 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 41 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 39 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", | 42 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", |
| 40 "@@@STEP_LOG_END@python.inline@@@" | 43 "@@@STEP_LOG_END@python.inline@@@" |
| 41 ] | 44 ] |
| 42 }, | 45 }, |
| 43 { | 46 { |
| 44 "cmd": [ | 47 "cmd": [ |
| 45 "mkdir", | 48 "mkdir", |
| 46 "[CWD]/depot_tools" | 49 "[SLAVE_BUILD]/depot_tools" |
| 47 ], | 50 ], |
| 51 "cwd": "[SLAVE_BUILD]", |
| 48 "name": "clean workspace.mk depot_tools", | 52 "name": "clean workspace.mk depot_tools", |
| 49 "~followup_annotations": [ | 53 "~followup_annotations": [ |
| 50 "@@@STEP_NEST_LEVEL@1@@@" | 54 "@@@STEP_NEST_LEVEL@1@@@" |
| 51 ] | 55 ] |
| 52 }, | 56 }, |
| 53 { | 57 { |
| 54 "cmd": [], | 58 "cmd": [], |
| 59 "cwd": "[SLAVE_BUILD]", |
| 55 "name": "clone + checkout" | 60 "name": "clone + checkout" |
| 56 }, | 61 }, |
| 57 { | 62 { |
| 58 "cmd": [ | 63 "cmd": [ |
| 59 "git", | 64 "git", |
| 60 "clone", | 65 "clone", |
| 61 "--single-branch", | 66 "--single-branch", |
| 62 "-n", | 67 "-n", |
| 63 "https://chromium.googlesource.com/chromium/tools/depot_tools.git", | 68 "https://chromium.googlesource.com/chromium/tools/depot_tools.git", |
| 64 "[CWD]/depot_tools" | 69 "[SLAVE_BUILD]/depot_tools" |
| 65 ], | 70 ], |
| 66 "cwd": "[CWD]/depot_tools", | 71 "cwd": "[SLAVE_BUILD]/depot_tools", |
| 67 "name": "clone + checkout.git clone", | 72 "name": "clone + checkout.git clone", |
| 68 "~followup_annotations": [ | 73 "~followup_annotations": [ |
| 69 "@@@STEP_NEST_LEVEL@1@@@" | 74 "@@@STEP_NEST_LEVEL@1@@@" |
| 70 ] | 75 ] |
| 71 }, | 76 }, |
| 72 { | 77 { |
| 73 "cmd": [ | 78 "cmd": [ |
| 74 "git", | 79 "git", |
| 75 "config", | 80 "config", |
| 76 "core.autocrlf", | 81 "core.autocrlf", |
| 77 "false" | 82 "false" |
| 78 ], | 83 ], |
| 79 "cwd": "[CWD]/depot_tools", | 84 "cwd": "[SLAVE_BUILD]/depot_tools", |
| 80 "name": "clone + checkout.set autocrlf", | 85 "name": "clone + checkout.set autocrlf", |
| 81 "~followup_annotations": [ | 86 "~followup_annotations": [ |
| 82 "@@@STEP_NEST_LEVEL@1@@@" | 87 "@@@STEP_NEST_LEVEL@1@@@" |
| 83 ] | 88 ] |
| 84 }, | 89 }, |
| 85 { | 90 { |
| 86 "cmd": [ | 91 "cmd": [ |
| 87 "git", | 92 "git", |
| 88 "config", | 93 "config", |
| 89 "core.filemode", | 94 "core.filemode", |
| 90 "false" | 95 "false" |
| 91 ], | 96 ], |
| 92 "cwd": "[CWD]/depot_tools", | 97 "cwd": "[SLAVE_BUILD]/depot_tools", |
| 93 "name": "clone + checkout.set filemode", | 98 "name": "clone + checkout.set filemode", |
| 94 "~followup_annotations": [ | 99 "~followup_annotations": [ |
| 95 "@@@STEP_NEST_LEVEL@1@@@" | 100 "@@@STEP_NEST_LEVEL@1@@@" |
| 96 ] | 101 ] |
| 97 }, | 102 }, |
| 98 { | 103 { |
| 99 "cmd": [ | 104 "cmd": [ |
| 100 "git", | 105 "git", |
| 101 "config", | 106 "config", |
| 102 "core.symlinks", | 107 "core.symlinks", |
| 103 "false" | 108 "false" |
| 104 ], | 109 ], |
| 105 "cwd": "[CWD]/depot_tools", | 110 "cwd": "[SLAVE_BUILD]/depot_tools", |
| 106 "name": "clone + checkout.set symlinks", | 111 "name": "clone + checkout.set symlinks", |
| 107 "~followup_annotations": [ | 112 "~followup_annotations": [ |
| 108 "@@@STEP_NEST_LEVEL@1@@@" | 113 "@@@STEP_NEST_LEVEL@1@@@" |
| 109 ] | 114 ] |
| 110 }, | 115 }, |
| 111 { | 116 { |
| 112 "cmd": [ | 117 "cmd": [ |
| 113 "git", | 118 "git", |
| 114 "checkout", | 119 "checkout", |
| 115 "origin/master" | 120 "origin/master" |
| 116 ], | 121 ], |
| 117 "cwd": "[CWD]/depot_tools", | 122 "cwd": "[SLAVE_BUILD]/depot_tools", |
| 118 "name": "clone + checkout.git checkout", | 123 "name": "clone + checkout.git checkout", |
| 119 "~followup_annotations": [ | 124 "~followup_annotations": [ |
| 120 "@@@STEP_NEST_LEVEL@1@@@" | 125 "@@@STEP_NEST_LEVEL@1@@@" |
| 121 ] | 126 ] |
| 122 }, | 127 }, |
| 123 { | 128 { |
| 124 "cmd": [ | 129 "cmd": [ |
| 125 "git", | 130 "git", |
| 126 "reset", | 131 "reset", |
| 127 "--hard", | 132 "--hard", |
| 128 "deadbeef" | 133 "deadbeef" |
| 129 ], | 134 ], |
| 130 "cwd": "[CWD]/depot_tools", | 135 "cwd": "[SLAVE_BUILD]/depot_tools", |
| 131 "name": "clone + checkout.git reset", | 136 "name": "clone + checkout.git reset", |
| 132 "~followup_annotations": [ | 137 "~followup_annotations": [ |
| 133 "@@@STEP_NEST_LEVEL@1@@@" | 138 "@@@STEP_NEST_LEVEL@1@@@" |
| 134 ] | 139 ] |
| 135 }, | 140 }, |
| 136 { | 141 { |
| 137 "cmd": [ | 142 "cmd": [ |
| 138 "git", | 143 "git", |
| 139 "reflog", | 144 "reflog", |
| 140 "expire", | 145 "expire", |
| 141 "--all" | 146 "--all" |
| 142 ], | 147 ], |
| 143 "cwd": "[CWD]/depot_tools", | 148 "cwd": "[SLAVE_BUILD]/depot_tools", |
| 144 "name": "clone + checkout.git reflog", | 149 "name": "clone + checkout.git reflog", |
| 145 "~followup_annotations": [ | 150 "~followup_annotations": [ |
| 146 "@@@STEP_NEST_LEVEL@1@@@" | 151 "@@@STEP_NEST_LEVEL@1@@@" |
| 147 ] | 152 ] |
| 148 }, | 153 }, |
| 149 { | 154 { |
| 150 "cmd": [ | 155 "cmd": [ |
| 151 "git", | 156 "git", |
| 152 "gc", | 157 "gc", |
| 153 "--aggressive", | 158 "--aggressive", |
| 154 "--prune=all" | 159 "--prune=all" |
| 155 ], | 160 ], |
| 156 "cwd": "[CWD]/depot_tools", | 161 "cwd": "[SLAVE_BUILD]/depot_tools", |
| 157 "name": "clone + checkout.git gc", | 162 "name": "clone + checkout.git gc", |
| 158 "~followup_annotations": [ | 163 "~followup_annotations": [ |
| 159 "@@@STEP_NEST_LEVEL@1@@@" | 164 "@@@STEP_NEST_LEVEL@1@@@" |
| 160 ] | 165 ] |
| 161 }, | 166 }, |
| 162 { | 167 { |
| 163 "cmd": [ | 168 "cmd": [ |
| 164 "python", | 169 "python", |
| 165 "-u", | 170 "-u", |
| 166 "RECIPE_MODULE[build::zip]/resources/zip.py" | 171 "RECIPE_MODULE[build::zip]/resources/zip.py" |
| 167 ], | 172 ], |
| 173 "cwd": "[SLAVE_BUILD]", |
| 168 "name": "zip it up", | 174 "name": "zip it up", |
| 169 "stdin": "{\"entries\": [{\"path\": \"[CWD]/depot_tools\", \"type\": \"dir\"
}], \"output\": \"[CWD]/depot_tools.zip\", \"root\": \"[CWD]/depot_tools\"}" | 175 "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]/depot_tools\", \"type\":
\"dir\"}], \"output\": \"[SLAVE_BUILD]/depot_tools.zip\", \"root\": \"[SLAVE_BU
ILD]/depot_tools\"}" |
| 170 }, | 176 }, |
| 171 { | 177 { |
| 172 "cmd": [ | 178 "cmd": [ |
| 173 "python", | 179 "python", |
| 174 "-u", | 180 "-u", |
| 175 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 181 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
| 176 "--", | 182 "--", |
| 177 "[ROOT]/b/depot_tools/gsutil.py", | 183 "[DEPOT_TOOLS]/gsutil.py", |
| 178 "----", | 184 "----", |
| 179 "cp", | 185 "cp", |
| 180 "-a", | 186 "-a", |
| 181 "public-read", | 187 "public-read", |
| 182 "[CWD]/depot_tools.zip", | 188 "[SLAVE_BUILD]/depot_tools.zip", |
| 183 "gs://chrome-infra/depot_tools.zip" | 189 "gs://chrome-infra/depot_tools.zip" |
| 184 ], | 190 ], |
| 191 "cwd": "[SLAVE_BUILD]", |
| 185 "name": "gsutil upload", | 192 "name": "gsutil upload", |
| 186 "~followup_annotations": [ | 193 "~followup_annotations": [ |
| 187 "@@@STEP_LINK@gsutil.upload@https://storage.googleapis.com/chrome-infra/de
pot_tools.zip@@@" | 194 "@@@STEP_LINK@gsutil.upload@https://storage.googleapis.com/chrome-infra/de
pot_tools.zip@@@" |
| 188 ] | 195 ] |
| 189 }, | 196 }, |
| 190 { | 197 { |
| 191 "cmd": [ | 198 "cmd": [ |
| 192 "python", | 199 "python", |
| 193 "-u", | 200 "-u", |
| 194 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 201 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
| 195 "--", | 202 "--", |
| 196 "[ROOT]/b/depot_tools/gsutil.py", | 203 "[DEPOT_TOOLS]/gsutil.py", |
| 197 "----", | 204 "----", |
| 198 "cp", | 205 "cp", |
| 199 "-r", | 206 "-r", |
| 200 "-z", | 207 "-z", |
| 201 "html", | 208 "html", |
| 202 "-a", | 209 "-a", |
| 203 "public-read", | 210 "public-read", |
| 204 "[CWD]/depot_tools/man/html", | 211 "[SLAVE_BUILD]/depot_tools/man/html", |
| 205 "gs://chrome-infra-docs/flat/depot_tools/docs/" | 212 "gs://chrome-infra-docs/flat/depot_tools/docs/" |
| 206 ], | 213 ], |
| 214 "cwd": "[SLAVE_BUILD]", |
| 207 "name": "gsutil upload docs" | 215 "name": "gsutil upload docs" |
| 208 }, | 216 }, |
| 209 { | 217 { |
| 210 "name": "$result", | 218 "name": "$result", |
| 211 "recipe_result": null, | 219 "recipe_result": null, |
| 212 "status_code": 0 | 220 "status_code": 0 |
| 213 } | 221 } |
| 214 ] | 222 ] |
| OLD | NEW |