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