You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,8 @@ Note that all images needed to run the specified stages are pulled in parallel d
60
60
#### Run
61
61
62
62
```
63
-
run(self, environ={}):
63
+
def run(self, environ={})
64
+
async def run_async(self, environ={})
64
65
```
65
66
66
67
The `Chainlink` run function takes a base environment (`environ`) and executes each container specified by `stages` during construction in sequence. If a stage fails, then no subsequent stages will be run.
@@ -86,6 +87,8 @@ The run function returns a list of object, an example of which is annotated belo
86
87
87
88
Note that the returned list will have the same number of elements as there are stages, with element corresponding to the stage with the same index.
88
89
90
+
`run_async` is an async version of `run`.
91
+
89
92
### Cross-Stage Communication
90
93
91
94
A single directory is mounted at `/job` in each container before it is run, and contents in this `/job` directory are persisted across stages.
0 commit comments