Debian Codegraph @

infra/bots/recipe_modules/checkout/examples/full.expected/cross_repo_trybot.json

raw
1 [
2 {
3 "cmd": [
4 "python3",
5 "RECIPE_MODULE[skia::checkout]/resources/assert_git_cipd.py"
6 ],
7 "env": {
8 "CHROME_HEADLESS": "1",
9 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
10 },
11 "name": "Assert that Git is from CIPD"
12 },
13 {
14 "cmd": [
15 "vpython3",
16 "-u",
17 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
18 "--json-output",
19 "/path/to/tmp/json",
20 "ensure-directory",
21 "--mode",
22 "0o777",
23 "[START_DIR]/cache/work"
24 ],
25 "infra_step": true,
26 "name": "makedirs checkout_path"
27 },
28 {
29 "cmd": [
30 "vpython3",
31 "-u",
32 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
33 "--json-output",
34 "/path/to/tmp/json",
35 "remove",
36 "[START_DIR]/cache/work/.gclient_entries"
37 ],
38 "infra_step": true,
39 "name": "remove [START_DIR]/cache/work/.gclient_entries"
40 },
41 {
42 "cmd": [
43 "vpython3",
44 "-u",
45 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
46 "--spec-path",
47 "cache_dir = '[START_DIR]/cache/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'parent_repo', 'url': 'https://skia.googlesource.com/parent_repo.git'}]",
48 "--patch_root",
49 "skia",
50 "--revision_mapping_file",
51 "{\"got_revision\": \"parent_repo\"}",
52 "--git-cache-dir",
53 "[START_DIR]/cache/git",
54 "--cleanup-dir",
55 "[CLEANUP]/bot_update",
56 "--output_json",
57 "/path/to/tmp/json",
58 "--patch_ref",
59 "https://skia.googlesource.com/skia.git@abc123:refs/changes/89/456789/12",
60 "--revision",
61 "parent_repo@abc123",
62 "--download_topics"
63 ],
64 "cwd": "[START_DIR]/cache/work",
65 "env": {
66 "CHROME_HEADLESS": "1",
67 "DEPOT_TOOLS_COLLECT_METRICS": "0",
68 "GIT_BACKENDINFO": "1",
69 "GIT_DAPPER_TRACE": "1",
70 "GIT_HTTP_LOW_SPEED_LIMIT": "102400",
71 "GIT_HTTP_LOW_SPEED_TIME": "1800",
72 "GIT_SSH_COMMAND": "ssh -o SendEnv=GIT_DAPPER_TRACE -o SendEnv=GIT_BACKENDINFO",
73 "GIT_TRACE2_EVENT": "[CLEANUP]/trace2-event",
74 "GIT_TRACE_CURL": "[CLEANUP]/trace-curl",
75 "GIT_TRACE_CURL_NO_DATA": "1",
76 "GIT_TRACE_PACKET": "[CLEANUP]/trace-packet"
77 },
78 "env_suffixes": {
79 "DEPOT_TOOLS_UPDATE": [
80 "0"
81 ],
82 "PATH": [
83 "RECIPE_REPO[depot_tools]"
84 ]
85 },
86 "infra_step": true,
87 "name": "bot_update",
88 "~followup_annotations": [
89 "@@@STEP_TEXT@Some step text@@@",
90 "@@@[email protected]@{@@@",
91 "@@@[email protected]@ \"did_run\": true,@@@",
92 "@@@[email protected]@ \"fixed_revisions\": {@@@",
93 "@@@[email protected]@ \"parent_repo\": \"abc123\"@@@",
94 "@@@[email protected]@ },@@@",
95 "@@@[email protected]@ \"manifest\": {@@@",
96 "@@@[email protected]@ \"parent_repo\": {@@@",
97 "@@@[email protected]@ \"repository\": \"https://fake.org/parent_repo.git\",@@@",
98 "@@@[email protected]@ \"revision\": \"abc123\"@@@",
99 "@@@[email protected]@ }@@@",
100 "@@@[email protected]@ },@@@",
101 "@@@[email protected]@ \"patch_root\": \"skia\",@@@",
102 "@@@[email protected]@ \"properties\": {@@@",
103 "@@@[email protected]@ \"got_revision\": \"abc123\",@@@",
104 "@@@[email protected]@ \"got_revision_cp\": \"refs/heads/main@{#106773}\"@@@",
105 "@@@[email protected]@ },@@@",
106 "@@@[email protected]@ \"root\": \"parent_repo\",@@@",
107 "@@@[email protected]@ \"source_manifest\": {@@@",
108 "@@@[email protected]@ \"directories\": {@@@",
109 "@@@[email protected]@ \"parent_repo\": {@@@",
110 "@@@[email protected]@ \"git_checkout\": {@@@",
111 "@@@[email protected]@ \"repo_url\": \"https://fake.org/parent_repo.git\",@@@",
112 "@@@[email protected]@ \"revision\": \"abc123\"@@@",
113 "@@@[email protected]@ }@@@",
114 "@@@[email protected]@ }@@@",
115 "@@@[email protected]@ },@@@",
116 "@@@[email protected]@ \"version\": 0@@@",
117 "@@@[email protected]@ },@@@",
118 "@@@[email protected]@ \"step_text\": \"Some step text\"@@@",
119 "@@@[email protected]@}@@@",
120 "@@@[email protected]@@@",
121 "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@",
122 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/main@{#106773}\"@@@"
123 ]
124 },
125 {
126 "cmd": [
127 "vpython3",
128 "-u",
129 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
130 "--json-output",
131 "/path/to/tmp/json",
132 "ensure-directory",
133 "--mode",
134 "0o777",
135 "[START_DIR]/tmp"
136 ],
137 "infra_step": true,
138 "name": "makedirs tmp_dir"
139 },
140 {
141 "name": "$result"
142 }
143 ]