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

Side by Side Diff: recipes/example/nested.expected/basic.json

Issue 2253943003: Formally define step config, pass to stream. (Closed) Base URL: https://github.com/luci/recipes-py@nest-single-event
Patch Set: Rebase Created 4 years, 3 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [],
4 "name": "complicated thing" 3 "name": "complicated thing"
5 }, 4 },
6 { 5 {
7 "cmd": [],
8 "name": "complicated thing.first part", 6 "name": "complicated thing.first part",
9 "~followup_annotations": [ 7 "~followup_annotations": [
10 "@@@STEP_NEST_LEVEL@1@@@" 8 "@@@STEP_NEST_LEVEL@1@@@"
11 ] 9 ]
12 }, 10 },
13 { 11 {
14 "cmd": [ 12 "cmd": [
15 "sleep", 13 "sleep",
16 "1" 14 "1"
17 ], 15 ],
(...skipping 16 matching lines...) Expand all
34 "cmd": [ 32 "cmd": [
35 "echo", 33 "echo",
36 "derpy" 34 "derpy"
37 ], 35 ],
38 "name": "complicated thing.attempt number.two", 36 "name": "complicated thing.attempt number.two",
39 "~followup_annotations": [ 37 "~followup_annotations": [
40 "@@@STEP_NEST_LEVEL@1@@@" 38 "@@@STEP_NEST_LEVEL@1@@@"
41 ] 39 ]
42 }, 40 },
43 { 41 {
44 "cmd": [],
45 "name": "inherit status" 42 "name": "inherit status"
46 }, 43 },
47 { 44 {
48 "cmd": [],
49 "name": "inherit status.inner step", 45 "name": "inherit status.inner step",
50 "~followup_annotations": [ 46 "~followup_annotations": [
51 "@@@STEP_NEST_LEVEL@1@@@", 47 "@@@STEP_NEST_LEVEL@1@@@",
52 "@@@STEP_EXCEPTION@@@" 48 "@@@STEP_EXCEPTION@@@"
53 ] 49 ]
54 }, 50 },
55 { 51 {
56 "cmd": [],
57 "name": "versatile status", 52 "name": "versatile status",
58 "~followup_annotations": [ 53 "~followup_annotations": [
59 "@@@STEP_FAILURE@@@" 54 "@@@STEP_FAILURE@@@"
60 ] 55 ]
61 }, 56 },
62 { 57 {
63 "cmd": [],
64 "name": "versatile status.inner step", 58 "name": "versatile status.inner step",
65 "~followup_annotations": [ 59 "~followup_annotations": [
66 "@@@STEP_NEST_LEVEL@1@@@" 60 "@@@STEP_NEST_LEVEL@1@@@"
67 ] 61 ]
68 }, 62 },
69 { 63 {
70 "cmd": [],
71 "name": "versatile status.inner step.even deeper", 64 "name": "versatile status.inner step.even deeper",
72 "~followup_annotations": [ 65 "~followup_annotations": [
73 "@@@STEP_NEST_LEVEL@2@@@" 66 "@@@STEP_NEST_LEVEL@2@@@"
74 ] 67 ]
75 }, 68 },
76 { 69 {
77 "cmd": [ 70 "cmd": [
78 "sleep", 71 "sleep",
79 "1" 72 "1"
80 ], 73 ],
81 "name": "simple thing" 74 "name": "simple thing"
82 }, 75 },
83 { 76 {
84 "name": "$result", 77 "name": "$result",
85 "recipe_result": null, 78 "recipe_result": null,
86 "status_code": 0 79 "status_code": 0
87 } 80 }
88 ] 81 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698