• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmd": [
4      "python",
5      "-u",
6      "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
7      "--path",
8      "[START_DIR]/skia",
9      "--url",
10      "https://skia.googlesource.com/skia.git"
11    ],
12    "name": "git setup"
13  },
14  {
15    "cmd": [
16      "git",
17      "retry",
18      "fetch",
19      "origin",
20      "abc123",
21      "--progress"
22    ],
23    "cwd": "[START_DIR]/skia",
24    "env": {
25      "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
26    },
27    "infra_step": true,
28    "name": "git fetch"
29  },
30  {
31    "cmd": [
32      "git",
33      "checkout",
34      "-f",
35      "FETCH_HEAD"
36    ],
37    "cwd": "[START_DIR]/skia",
38    "infra_step": true,
39    "name": "git checkout"
40  },
41  {
42    "cmd": [
43      "git",
44      "rev-parse",
45      "HEAD"
46    ],
47    "cwd": "[START_DIR]/skia",
48    "infra_step": true,
49    "name": "read revision",
50    "stdout": "/path/to/tmp/",
51    "~followup_annotations": [
52      "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
53    ]
54  },
55  {
56    "cmd": [
57      "git",
58      "clean",
59      "-f",
60      "-d",
61      "-x"
62    ],
63    "cwd": "[START_DIR]/skia",
64    "infra_step": true,
65    "name": "git clean"
66  },
67  {
68    "cmd": [
69      "git",
70      "fetch",
71      "origin",
72      "refs/changes/89/456789/12"
73    ],
74    "cwd": "[START_DIR]/skia",
75    "infra_step": true,
76    "name": "git fetch (2)"
77  },
78  {
79    "cmd": [
80      "git",
81      "checkout",
82      "FETCH_HEAD"
83    ],
84    "cwd": "[START_DIR]/skia",
85    "infra_step": true,
86    "name": "git checkout (2)"
87  },
88  {
89    "cmd": [
90      "git",
91      "rebase",
92      "abc123"
93    ],
94    "cwd": "[START_DIR]/skia",
95    "infra_step": true,
96    "name": "git rebase"
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]