Debian Codegraph @

infra/bots/recipe_modules/checkout/examples/full.expected/Build-Debian10-Clang-x86_64-Release-NoDEPS.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 "python3",
16 "-u",
17 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
18 "--path",
19 "[START_DIR]/skia",
20 "--url",
21 "https://skia.googlesource.com/skia.git"
22 ],
23 "name": "git setup"
24 },
25 {
26 "cmd": [
27 "git",
28 "fetch",
29 "origin",
30 "abc123",
31 "--progress"
32 ],
33 "cwd": "[START_DIR]/skia",
34 "env": {
35 "PATH": "RECIPE_REPO[depot_tools]:<PATH>"
36 },
37 "infra_step": true,
38 "name": "git fetch"
39 },
40 {
41 "cmd": [
42 "git",
43 "checkout",
44 "-f",
45 "FETCH_HEAD"
46 ],
47 "cwd": "[START_DIR]/skia",
48 "infra_step": true,
49 "name": "git checkout"
50 },
51 {
52 "cmd": [
53 "git",
54 "rev-parse",
55 "HEAD"
56 ],
57 "cwd": "[START_DIR]/skia",
58 "infra_step": true,
59 "name": "read revision",
60 "~followup_annotations": [
61 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
62 ]
63 },
64 {
65 "cmd": [
66 "git",
67 "clean",
68 "-f",
69 "-d",
70 "-x"
71 ],
72 "cwd": "[START_DIR]/skia",
73 "infra_step": true,
74 "name": "git clean"
75 },
76 {
77 "cmd": [
78 "git",
79 "fetch",
80 "origin",
81 "refs/changes/89/456789/12"
82 ],
83 "cwd": "[START_DIR]/skia",
84 "infra_step": true,
85 "name": "git fetch (2)"
86 },
87 {
88 "cmd": [
89 "git",
90 "checkout",
91 "FETCH_HEAD"
92 ],
93 "cwd": "[START_DIR]/skia",
94 "infra_step": true,
95 "name": "git checkout (2)"
96 },
97 {
98 "cmd": [
99 "git",
100 "rebase",
101 "abc123"
102 ],
103 "cwd": "[START_DIR]/skia",
104 "infra_step": true,
105 "name": "git rebase"
106 },
107 {
108 "cmd": [
109 "vpython3",
110 "-u",
111 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
112 "--json-output",
113 "/path/to/tmp/json",
114 "ensure-directory",
115 "--mode",
116 "0o777",
117 "[START_DIR]/tmp"
118 ],
119 "infra_step": true,
120 "name": "makedirs tmp_dir"
121 },
122 {
123 "name": "$result"
124 }
125 ]