OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
5 "-u", | |
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | |
7 "--spec", | |
8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'util/bot/DEPS', 'm
anaged': True, 'name': 'boringssl', 'url': 'https://boringssl.googlesource.com/b
oringssl.git'}]", | |
9 "--patch_root", | |
10 "boringssl", | |
11 "--revision_mapping_file", | |
12 "{}", | |
13 "--git-cache-dir", | |
14 "[GIT_CACHE]", | |
15 "--gerrit_repo", | |
16 "https://boringssl.googlesource.com/boringssl", | |
17 "--gerrit_ref", | |
18 "refs/changes/11/338811/3", | |
19 "--output_json", | |
20 "/path/to/tmp/json", | |
21 "--revision", | |
22 "boringssl@HEAD", | |
23 "--output_manifest" | |
24 ], | |
25 "env": { | |
26 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
27 }, | |
28 "name": "bot_update", | |
29 "~followup_annotations": [ | |
30 "@@@STEP_TEXT@Some step text@@@", | |
31 "@@@STEP_LOG_LINE@json.output@{@@@", | |
32 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
33 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | |
34 "@@@STEP_LOG_LINE@json.output@ \"boringssl\": \"HEAD\"@@@", | |
35 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
36 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@", | |
37 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
38 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"boringssl\", @@@", | |
39 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@", | |
40 "@@@STEP_LOG_LINE@json.output@ \"root\": \"boringssl\", @@@", | |
41 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
42 "@@@STEP_LOG_LINE@json.output@}@@@", | |
43 "@@@STEP_LOG_END@json.output@@@" | |
44 ] | |
45 }, | |
46 { | |
47 "cmd": [ | |
48 "python", | |
49 "-u", | |
50 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
51 "runhooks" | |
52 ], | |
53 "cwd": "[SLAVE_BUILD]/boringssl", | |
54 "env": { | |
55 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
56 }, | |
57 "name": "gclient runhooks" | |
58 }, | |
59 { | |
60 "cmd": [ | |
61 "python", | |
62 "-u", | |
63 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py", | |
64 "[SLAVE_BUILD]/boringssl/build" | |
65 ], | |
66 "name": "clean" | |
67 }, | |
68 { | |
69 "cmd": [ | |
70 "python", | |
71 "-u", | |
72 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | |
73 "[SLAVE_BUILD]/boringssl/build", | |
74 "511" | |
75 ], | |
76 "name": "makedirs mkdir", | |
77 "~followup_annotations": [ | |
78 "@@@STEP_LOG_LINE@python.inline@@@@", | |
79 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
80 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
81 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
82 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
83 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
84 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
85 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
86 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
87 "@@@STEP_LOG_END@python.inline@@@" | |
88 ] | |
89 }, | |
90 { | |
91 "cmd": [ | |
92 "python", | |
93 "-u", | |
94 "[SLAVE_BUILD]/boringssl/util/bot/go/env.py", | |
95 "[SLAVE_BUILD]/boringssl/util/bot/cmake-linux64/bin/cmake", | |
96 "-GNinja", | |
97 "-DCMAKE_MAKE_PROGRAM=RECIPE_PACKAGE_REPO[depot_tools]/ninja", | |
98 "[SLAVE_BUILD]/boringssl" | |
99 ], | |
100 "cwd": "[SLAVE_BUILD]/boringssl/build", | |
101 "name": "cmake" | |
102 }, | |
103 { | |
104 "cmd": [ | |
105 "python", | |
106 "-u", | |
107 "[SLAVE_BUILD]/boringssl/util/bot/go/env.py", | |
108 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | |
109 "-C", | |
110 "[SLAVE_BUILD]/boringssl/build" | |
111 ], | |
112 "name": "ninja" | |
113 }, | |
114 { | |
115 "cmd": [ | |
116 "python", | |
117 "-u", | |
118 "[SLAVE_BUILD]/boringssl/util/bot/go/env.py", | |
119 "go", | |
120 "run", | |
121 "util/all_tests.go", | |
122 "-json-output", | |
123 "/path/to/tmp/json" | |
124 ], | |
125 "cwd": "[SLAVE_BUILD]/boringssl", | |
126 "name": "unit tests", | |
127 "~followup_annotations": [ | |
128 "@@@STEP_LOG_LINE@test_utils.test_results (invalid)@null@@@", | |
129 "@@@STEP_LOG_END@test_utils.test_results (invalid)@@@" | |
130 ] | |
131 }, | |
132 { | |
133 "cmd": [ | |
134 "python", | |
135 "-u", | |
136 "[SLAVE_BUILD]/boringssl/util/bot/go/env.py", | |
137 "go", | |
138 "test", | |
139 "-pipe", | |
140 "-json-output", | |
141 "/path/to/tmp/json" | |
142 ], | |
143 "cwd": "[SLAVE_BUILD]/boringssl/ssl/test/runner", | |
144 "name": "ssl tests", | |
145 "~followup_annotations": [ | |
146 "@@@STEP_LOG_LINE@test_utils.test_results (invalid)@null@@@", | |
147 "@@@STEP_LOG_END@test_utils.test_results (invalid)@@@" | |
148 ] | |
149 }, | |
150 { | |
151 "name": "$result", | |
152 "recipe_result": null, | |
153 "status_code": 0 | |
154 } | |
155 ] | |
OLD | NEW |