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      "--patch_ref",
48      "https://skia.googlesource.com/skia.git@refs/changes/89/456789/12",
49      "--revision",
50      "skia@abc123"
51    ],
52    "cwd": "[START_DIR]/cache/work",
53    "env_prefixes": {
54      "PATH": [
55        "RECIPE_PACKAGE_REPO[depot_tools]"
56      ]
57    },
58    "infra_step": true,
59    "name": "bot_update",
60    "~followup_annotations": [
61      "@@@STEP_TEXT@Some step text@@@",
62      "@@@STEP_LOG_LINE@json.output@{@@@",
63      "@@@STEP_LOG_LINE@json.output@  \"did_run\": true, @@@",
64      "@@@STEP_LOG_LINE@json.output@  \"fixed_revisions\": {@@@",
65      "@@@STEP_LOG_LINE@json.output@    \"skia\": \"abc123\"@@@",
66      "@@@STEP_LOG_LINE@json.output@  }, @@@",
67      "@@@STEP_LOG_LINE@json.output@  \"manifest\": {@@@",
68      "@@@STEP_LOG_LINE@json.output@    \"skia\": {@@@",
69      "@@@STEP_LOG_LINE@json.output@      \"repository\": \"https://fake.org/skia.git\", @@@",
70      "@@@STEP_LOG_LINE@json.output@      \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
71      "@@@STEP_LOG_LINE@json.output@    }@@@",
72      "@@@STEP_LOG_LINE@json.output@  }, @@@",
73      "@@@STEP_LOG_LINE@json.output@  \"patch_failure\": false, @@@",
74      "@@@STEP_LOG_LINE@json.output@  \"patch_root\": \"skia\", @@@",
75      "@@@STEP_LOG_LINE@json.output@  \"properties\": {@@@",
76      "@@@STEP_LOG_LINE@json.output@    \"got_revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\", @@@",
77      "@@@STEP_LOG_LINE@json.output@    \"got_revision_cp\": \"refs/heads/master@{#164710}\"@@@",
78      "@@@STEP_LOG_LINE@json.output@  }, @@@",
79      "@@@STEP_LOG_LINE@json.output@  \"root\": \"skia\", @@@",
80      "@@@STEP_LOG_LINE@json.output@  \"source_manifest\": {@@@",
81      "@@@STEP_LOG_LINE@json.output@    \"directories\": {@@@",
82      "@@@STEP_LOG_LINE@json.output@      \"skia\": {@@@",
83      "@@@STEP_LOG_LINE@json.output@        \"git_checkout\": {@@@",
84      "@@@STEP_LOG_LINE@json.output@          \"repo_url\": \"https://fake.org/skia.git\", @@@",
85      "@@@STEP_LOG_LINE@json.output@          \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
86      "@@@STEP_LOG_LINE@json.output@        }@@@",
87      "@@@STEP_LOG_LINE@json.output@      }@@@",
88      "@@@STEP_LOG_LINE@json.output@    }, @@@",
89      "@@@STEP_LOG_LINE@json.output@    \"version\": 0@@@",
90      "@@@STEP_LOG_LINE@json.output@  }, @@@",
91      "@@@STEP_LOG_LINE@json.output@  \"step_text\": \"Some step text\"@@@",
92      "@@@STEP_LOG_LINE@json.output@}@@@",
93      "@@@STEP_LOG_END@json.output@@@",
94      "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
95      "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@"
96    ]
97  },
98  {
99    "cmd": [
100      "python",
101      "-u",
102      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
103      "--json-output",
104      "/path/to/tmp/json",
105      "ensure-directory",
106      "--mode",
107      "0777",
108      "[START_DIR]/tmp"
109    ],
110    "infra_step": true,
111    "name": "makedirs tmp_dir"
112  },
113  {
114    "jsonResult": null,
115    "name": "$result"
116  }
117]