1[ 2 { 3 "cmd": [ 4 "python", 5 "-u", 6 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 7 "--json-output", 8 "/path/to/tmp/json", 9 "ensure-directory", 10 "--mode", 11 "0777", 12 "[START_DIR]/cache/work" 13 ], 14 "infra_step": true, 15 "name": "makedirs checkout_path" 16 }, 17 { 18 "cmd": [ 19 "python", 20 "-u", 21 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 22 "--json-output", 23 "/path/to/tmp/json", 24 "remove", 25 "[START_DIR]/cache/work/.gclient_entries" 26 ], 27 "infra_step": true, 28 "name": "remove [START_DIR]/cache/work/.gclient_entries" 29 }, 30 { 31 "cmd": [ 32 "python", 33 "-u", 34 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 35 "--spec-path", 36 "cache_dir = '[START_DIR]/cache/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]", 37 "--patch_root", 38 "skia", 39 "--revision_mapping_file", 40 "{\"got_revision\": \"skia\"}", 41 "--git-cache-dir", 42 "[START_DIR]/cache/git", 43 "--cleanup-dir", 44 "[CLEANUP]/bot_update", 45 "--output_json", 46 "/path/to/tmp/json", 47 "--revision", 48 "skia@abc123" 49 ], 50 "cwd": "[START_DIR]/cache/work", 51 "env_prefixes": { 52 "PATH": [ 53 "RECIPE_PACKAGE_REPO[depot_tools]" 54 ] 55 }, 56 "infra_step": true, 57 "name": "bot_update", 58 "~followup_annotations": [ 59 "@@@STEP_TEXT@Some step text@@@", 60 "@@@STEP_LOG_LINE@json.output@{@@@", 61 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 62 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", 63 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@", 64 "@@@STEP_LOG_LINE@json.output@ }, @@@", 65 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", 66 "@@@STEP_LOG_LINE@json.output@ \"skia\": {@@@", 67 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/skia.git\", @@@", 68 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 69 "@@@STEP_LOG_LINE@json.output@ }@@@", 70 "@@@STEP_LOG_LINE@json.output@ }, @@@", 71 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", 72 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"skia\", @@@", 73 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 74 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\", @@@", 75 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#164710}\"@@@", 76 "@@@STEP_LOG_LINE@json.output@ }, @@@", 77 "@@@STEP_LOG_LINE@json.output@ \"root\": \"skia\", @@@", 78 "@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@", 79 "@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@", 80 "@@@STEP_LOG_LINE@json.output@ \"skia\": {@@@", 81 "@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@", 82 "@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/skia.git\", @@@", 83 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 84 "@@@STEP_LOG_LINE@json.output@ }@@@", 85 "@@@STEP_LOG_LINE@json.output@ }@@@", 86 "@@@STEP_LOG_LINE@json.output@ }, @@@", 87 "@@@STEP_LOG_LINE@json.output@ \"version\": 0@@@", 88 "@@@STEP_LOG_LINE@json.output@ }, @@@", 89 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", 90 "@@@STEP_LOG_LINE@json.output@}@@@", 91 "@@@STEP_LOG_END@json.output@@@", 92 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", 93 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@" 94 ] 95 }, 96 { 97 "cmd": [ 98 "[START_DIR]/build/bookmaker", 99 "-a", 100 "docs/status.json", 101 "-e", 102 "[START_DIR]/fiddle.json" 103 ], 104 "cwd": "[START_DIR]/cache/work/skia", 105 "env": { 106 "CHROME_HEADLESS": "1", 107 "GOCACHE": "[START_DIR]/cache/go_cache", 108 "GOPATH": "[START_DIR]/go_deps", 109 "GOROOT": "[START_DIR]/go/go", 110 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/go_deps/bin:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 111 }, 112 "name": "Extract all fiddles out of md files" 113 }, 114 { 115 "cmd": [ 116 "cat", 117 "[START_DIR]/fiddle.json" 118 ], 119 "cwd": "[START_DIR]/cache/work/skia", 120 "env": { 121 "CHROME_HEADLESS": "1", 122 "GOCACHE": "[START_DIR]/cache/go_cache", 123 "GOPATH": "[START_DIR]/go_deps", 124 "GOROOT": "[START_DIR]/go/go", 125 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/go_deps/bin:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 126 }, 127 "name": "Output fiddle.json" 128 }, 129 { 130 "cmd": [ 131 "fiddlecli", 132 "--input", 133 "[START_DIR]/fiddle.json", 134 "--output", 135 "[START_DIR]/fiddleout.json", 136 "--procs", 137 "10", 138 "--logtostderr", 139 "--force" 140 ], 141 "cwd": "[START_DIR]/cache/work/skia", 142 "env": { 143 "CHROME_HEADLESS": "1", 144 "GOCACHE": "[START_DIR]/cache/go_cache", 145 "GOPATH": "[START_DIR]/go_deps", 146 "GOROOT": "[START_DIR]/go/go", 147 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/go_deps/bin:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 148 }, 149 "name": "Force fiddle to compile all examples" 150 }, 151 { 152 "cmd": [ 153 "python", 154 "-u", 155 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 156 "--json-output", 157 "/path/to/tmp/json", 158 "copy", 159 "[START_DIR]/fiddleout.json", 160 "/path/to/tmp/" 161 ], 162 "cwd": "[START_DIR]/cache/work/skia", 163 "env": { 164 "GOCACHE": "[START_DIR]/cache/go_cache", 165 "GOPATH": "[START_DIR]/go_deps", 166 "GOROOT": "[START_DIR]/go/go", 167 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/go_deps/bin:<PATH>" 168 }, 169 "infra_step": true, 170 "name": "Read fiddleout.json" 171 }, 172 { 173 "cmd": [ 174 "cat", 175 "[START_DIR]/fiddleout.json" 176 ], 177 "cwd": "[START_DIR]/cache/work/skia", 178 "env": { 179 "CHROME_HEADLESS": "1", 180 "GOCACHE": "[START_DIR]/cache/go_cache", 181 "GOPATH": "[START_DIR]/go_deps", 182 "GOROOT": "[START_DIR]/go/go", 183 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/go_deps/bin:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 184 }, 185 "name": "Output fiddleout.json" 186 }, 187 { 188 "cmd": [ 189 "python", 190 "[START_DIR]/cache/work/skia/infra/bots/upload_md.py", 191 "--bookmaker_binary", 192 "[START_DIR]/build/bookmaker", 193 "--fiddlecli_output", 194 "[START_DIR]/fiddleout.json" 195 ], 196 "cwd": "[START_DIR]/cache/work/skia", 197 "env": { 198 "CHROME_HEADLESS": "1", 199 "GOCACHE": "[START_DIR]/cache/go_cache", 200 "GOPATH": "[START_DIR]/go_deps", 201 "GOROOT": "[START_DIR]/go/go", 202 "PATH": "[START_DIR]/go/go/bin:[START_DIR]/go_deps/bin:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" 203 }, 204 "name": "Generate and Upload Markdown files" 205 }, 206 { 207 "jsonResult": null, 208 "name": "$result" 209 } 210]