| OLD | NEW |
| (Empty) |
| 1 [ | |
| 2 { | |
| 3 "cmd": [ | |
| 4 "python", | |
| 5 "-u", | |
| 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | |
| 7 "--master", | |
| 8 "chromium.infra", | |
| 9 "--builder", | |
| 10 "infra-continuous-64", | |
| 11 "--slave", | |
| 12 "TestSlavename", | |
| 13 "--spec", | |
| 14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infr
a.git'}]", | |
| 15 "--root", | |
| 16 "infra", | |
| 17 "--revision_mapping_file", | |
| 18 "{\"infra\": \"got_revision\"}", | |
| 19 "--git-cache-dir", | |
| 20 "[GIT_CACHE]", | |
| 21 "--output_json", | |
| 22 "/path/to/tmp/json", | |
| 23 "--revision", | |
| 24 "infra@c14d891d44f0afff64e56ed7c9702df1d807b1ee", | |
| 25 "--force", | |
| 26 "--output_manifest" | |
| 27 ], | |
| 28 "env": { | |
| 29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
| 30 }, | |
| 31 "name": "bot_update", | |
| 32 "~followup_annotations": [ | |
| 33 "@@@STEP_TEXT@Some step text@@@", | |
| 34 "@@@STEP_LOG_LINE@json.output@{@@@", | |
| 35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
| 36 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | |
| 37 "@@@STEP_LOG_LINE@json.output@ \"infra\": \"c14d891d44f0afff64e56ed7c97
02df1d807b1ee\"@@@", | |
| 38 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 39 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
| 40 "@@@STEP_LOG_LINE@json.output@ \"infra\": {@@@", | |
| 41 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/inf
ra.git\", @@@", | |
| 42 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"5e03a58dc0850e5137a8eb
bce29610670c756aed\"@@@", | |
| 43 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| 44 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 45 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
| 46 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"infra\", @@@", | |
| 47 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
| 48 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"5e03a58dc0850e5137a8
ebbce29610670c756aed\", @@@", | |
| 49 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#197293}\"@@@", | |
| 50 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
| 51 "@@@STEP_LOG_LINE@json.output@ \"root\": \"infra\", @@@", | |
| 52 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
| 53 "@@@STEP_LOG_LINE@json.output@}@@@", | |
| 54 "@@@STEP_LOG_END@json.output@@@", | |
| 55 "@@@SET_BUILD_PROPERTY@got_revision@\"5e03a58dc0850e5137a8ebbce29610670c75
6aed\"@@@", | |
| 56 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#197293}\"@@@" | |
| 57 ] | |
| 58 }, | |
| 59 { | |
| 60 "cmd": [ | |
| 61 "python", | |
| 62 "-u", | |
| 63 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
| 64 "runhooks" | |
| 65 ], | |
| 66 "cwd": "[SLAVE_BUILD]/infra", | |
| 67 "env": { | |
| 68 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
| 69 }, | |
| 70 "name": "gclient runhooks" | |
| 71 }, | |
| 72 { | |
| 73 "cmd": [ | |
| 74 "python", | |
| 75 "-u", | |
| 76 "test.py", | |
| 77 "test" | |
| 78 ], | |
| 79 "cwd": "[SLAVE_BUILD]/infra", | |
| 80 "name": "infra python tests" | |
| 81 }, | |
| 82 { | |
| 83 "cmd": [ | |
| 84 "python", | |
| 85 "-u", | |
| 86 "[SLAVE_BUILD]/infra/glyco/tests/run_all_tests.py" | |
| 87 ], | |
| 88 "cwd": "[SLAVE_BUILD]/infra", | |
| 89 "name": "Glyco tests" | |
| 90 }, | |
| 91 { | |
| 92 "cmd": [ | |
| 93 "python", | |
| 94 "-u", | |
| 95 "[SLAVE_BUILD]/infra/go/env.py", | |
| 96 "go", | |
| 97 "version" | |
| 98 ], | |
| 99 "name": "go third parties" | |
| 100 }, | |
| 101 { | |
| 102 "cmd": [ | |
| 103 "python", | |
| 104 "-u", | |
| 105 "[SLAVE_BUILD]/infra/go/env.py", | |
| 106 "python", | |
| 107 "[SLAVE_BUILD]/infra/go/test.py" | |
| 108 ], | |
| 109 "name": "infra go tests" | |
| 110 }, | |
| 111 { | |
| 112 "cmd": [ | |
| 113 "python", | |
| 114 "-u", | |
| 115 "[SLAVE_BUILD]/infra/build/build.py", | |
| 116 "--builder", | |
| 117 "infra-continuous-64" | |
| 118 ], | |
| 119 "name": "cipd - build packages" | |
| 120 }, | |
| 121 { | |
| 122 "cmd": [ | |
| 123 "python", | |
| 124 "-u", | |
| 125 "[SLAVE_BUILD]/infra/build/test_packages.py" | |
| 126 ], | |
| 127 "name": "cipd - test packages integrity" | |
| 128 }, | |
| 129 { | |
| 130 "cmd": [ | |
| 131 "python", | |
| 132 "-u", | |
| 133 "[SLAVE_BUILD]/infra/build/build.py", | |
| 134 "--no-rebuild", | |
| 135 "--upload", | |
| 136 "--service-account-json", | |
| 137 "/creds/service_accounts/service-account-cipd-builder.json", | |
| 138 "--json-output", | |
| 139 "/path/to/tmp/json", | |
| 140 "--builder", | |
| 141 "infra-continuous-64", | |
| 142 "--tags", | |
| 143 "buildbot_build:chromium.infra/infra-continuous-64/123", | |
| 144 "git_repository:https://chromium.googlesource.com/infra/infra", | |
| 145 "git_revision:5e03a58dc0850e5137a8ebbce29610670c756aed" | |
| 146 ], | |
| 147 "name": "cipd - upload packages", | |
| 148 "~followup_annotations": [ | |
| 149 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | |
| 150 "@@@STEP_LOG_END@json.output (invalid)@@@" | |
| 151 ] | |
| 152 }, | |
| 153 { | |
| 154 "cmd": [ | |
| 155 "python", | |
| 156 "-u", | |
| 157 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\npath = sys.argv[1]\nif os.path.exists(path):\n for p in (o
s.path.join(path, x) for x in os.listdir(path)):\n if os.path.isdir(p):\n
chromium_utils.RemoveDirectory(p)\n else:\n os.unlink(p)\n", | |
| 158 "[SLAVE_BUILD]/infra/go/bin" | |
| 159 ], | |
| 160 "name": "rmcontents clean go bin", | |
| 161 "~followup_annotations": [ | |
| 162 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 163 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
| 164 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | |
| 165 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 166 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
| 167 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(path):@@@", | |
| 168 "@@@STEP_LOG_LINE@python.inline@ for p in (os.path.join(path, x) for x in
os.listdir(path)):@@@", | |
| 169 "@@@STEP_LOG_LINE@python.inline@ if os.path.isdir(p):@@@", | |
| 170 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(p)@@@
", | |
| 171 "@@@STEP_LOG_LINE@python.inline@ else:@@@", | |
| 172 "@@@STEP_LOG_LINE@python.inline@ os.unlink(p)@@@", | |
| 173 "@@@STEP_LOG_END@python.inline@@@" | |
| 174 ] | |
| 175 }, | |
| 176 { | |
| 177 "cmd": [ | |
| 178 "python", | |
| 179 "-u", | |
| 180 "[SLAVE_BUILD]/infra/go/env.py", | |
| 181 "go", | |
| 182 "install", | |
| 183 "github.com/luci/luci-go/client/cmd/..." | |
| 184 ], | |
| 185 "name": "build luci-go" | |
| 186 }, | |
| 187 { | |
| 188 "cmd": [ | |
| 189 "python", | |
| 190 "-u", | |
| 191 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(
sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys
.argv[1]), f)\n", | |
| 192 "[SLAVE_BUILD]/infra/go/bin", | |
| 193 "/path/to/tmp/json" | |
| 194 ], | |
| 195 "name": "listdir listing go bin", | |
| 196 "~followup_annotations": [ | |
| 197 "@@@STEP_LOG_LINE@json.output@[@@@", | |
| 198 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@", | |
| 199 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@", | |
| 200 "@@@STEP_LOG_LINE@json.output@]@@@", | |
| 201 "@@@STEP_LOG_END@json.output@@@", | |
| 202 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 203 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", | |
| 204 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path
.isdir(sys.argv[1]):@@@", | |
| 205 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@", | |
| 206 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@
@@", | |
| 207 "@@@STEP_LOG_END@python.inline@@@" | |
| 208 ] | |
| 209 }, | |
| 210 { | |
| 211 "cmd": [ | |
| 212 "python", | |
| 213 "-u", | |
| 214 "RECIPE_PACKAGE_REPO[depot_tools]/upload_to_google_storage.py", | |
| 215 "-b", | |
| 216 "chromium-luci", | |
| 217 "[SLAVE_BUILD]/infra/go/bin/file 1", | |
| 218 "[SLAVE_BUILD]/infra/go/bin/file 2" | |
| 219 ], | |
| 220 "name": "upload go bin" | |
| 221 }, | |
| 222 { | |
| 223 "cmd": [ | |
| 224 "python", | |
| 225 "-u", | |
| 226 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
| 227 "[SLAVE_BUILD]/infra/go/bin/file 1.sha1", | |
| 228 "/path/to/tmp/" | |
| 229 ], | |
| 230 "name": "file 1 sha1", | |
| 231 "~followup_annotations": [ | |
| 232 "@@@STEP_TEXT@0123456789abcdeffedcba987654321012345678@@@" | |
| 233 ] | |
| 234 }, | |
| 235 { | |
| 236 "cmd": [ | |
| 237 "python", | |
| 238 "-u", | |
| 239 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
| 240 "[SLAVE_BUILD]/infra/go/bin/file 2.sha1", | |
| 241 "/path/to/tmp/" | |
| 242 ], | |
| 243 "name": "file 2 sha1", | |
| 244 "~followup_annotations": [ | |
| 245 "@@@STEP_TEXT@0123456789abcdeffedcba987654321012345678@@@" | |
| 246 ] | |
| 247 }, | |
| 248 { | |
| 249 "name": "$result", | |
| 250 "recipe_result": null, | |
| 251 "status_code": 0 | |
| 252 } | |
| 253 ] | |
| OLD | NEW |