Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: infra/bots/recipes/swarmbucket_wrapper.expected/trigger_recipe.json

Issue 2185203003: Add swarmbucket_wrapper recipe (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « infra/bots/recipes/swarmbucket_wrapper.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [
4 "python",
5 "-u",
6 "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = js on.load(f)\n\nprint json.dumps(content, indent=2)\n",
7 "{\"buildername\": \"Some-Builder\", \"buildnumber\": 5, \"mastername\": \ "client.skia.fyi\", \"path_config\": \"swarmbucket\", \"recipe\": \"swarmbucket_ wrapper\", \"slavename\": \"some-slave\"}"
8 ],
9 "name": "print properties",
10 "~followup_annotations": [
11 "@@@STEP_LOG_LINE@python.inline@@@@",
12 "@@@STEP_LOG_LINE@python.inline@import json@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
14 "@@@STEP_LOG_LINE@python.inline@@@@",
15 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
16 "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@",
17 "@@@STEP_LOG_LINE@python.inline@@@@",
18 "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@",
19 "@@@STEP_LOG_END@python.inline@@@"
20 ]
21 },
22 {
23 "cmd": [
24 "python",
25 "-u",
26 "\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",
27 "[B]/work",
28 "511"
29 ],
30 "name": "makedirs workdir",
31 "~followup_annotations": [
32 "@@@STEP_LOG_LINE@python.inline@@@@",
33 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
34 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
35 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
36 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
37 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
38 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
39 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
40 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
41 "@@@STEP_LOG_END@python.inline@@@"
42 ]
43 },
44 {
45 "cmd": [
46 "python",
47 "-u",
48 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
49 "--master",
50 "client.skia.fyi",
51 "--builder",
52 "Some-Builder",
53 "--slave",
54 "some-slave",
55 "--spec",
56 "cache_dir = '[B]/cache'\nsolutions = [{'deps_file': '.DEPS.git', 'managed ': True, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]",
57 "--root",
58 "skia",
59 "--revision_mapping_file",
60 "{\"skia\": \"got_revision\"}",
61 "--git-cache-dir",
62 "[B]/cache",
63 "--output_json",
64 "/path/to/tmp/json",
65 "--revision",
66 "skia@origin/master"
67 ],
68 "cwd": "[B]/work",
69 "env": {
70 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
71 },
72 "name": "bot_update",
73 "~followup_annotations": [
74 "@@@STEP_TEXT@Some step text@@@",
75 "@@@STEP_LOG_LINE@json.output@{@@@",
76 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
77 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
78 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"origin/master\"@@@",
79 "@@@STEP_LOG_LINE@json.output@ }, @@@",
80 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
81 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"skia\", @@@",
82 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
83 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9046e2e693bb92a76e97 2b694580e5d17ad10748\", @@@",
84 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#164710}\"@@@",
85 "@@@STEP_LOG_LINE@json.output@ }, @@@",
86 "@@@STEP_LOG_LINE@json.output@ \"root\": \"skia\", @@@",
87 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
88 "@@@STEP_LOG_LINE@json.output@}@@@",
89 "@@@STEP_LOG_END@json.output@@@",
90 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1 0748\"@@@",
91 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@"
92 ]
93 },
94 {
95 "allow_subannotations": true,
96 "cmd": [
97 "python",
98 "[B]/work/skia/infra/bots/recipes.py",
99 "run",
100 "--workdir",
101 "[B]/work",
102 "swarm_trigger",
103 "path_config=kitchen",
104 "buildername=Some-Builder",
105 "recipe=swarmbucket_wrapper",
106 "mastername=client.skia.fyi",
107 "buildnumber=5",
108 "slavename=some-slave",
109 "path_config=swarmbucket"
110 ],
111 "name": "run recipe"
112 },
113 {
114 "name": "$result",
115 "recipe_result": null,
116 "status_code": 0
117 }
118 ]
OLDNEW
« no previous file with comments | « infra/bots/recipes/swarmbucket_wrapper.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698