File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Fluid
1+ # Couler for Google Tekton
22
3- Fluid is a Python package allowing users to write [ Tekton] ( https://github.com/tektoncd/pipeline ) workflows in Python other than YAML.
3+ Couler is a Python package allowing users to write [ Tekton] ( https://github.com/tektoncd/pipeline ) workflows in Python other than YAML.
44
55Here is an example. To the left is a Python program defining a Task and related TaskRun. To the right is the equivalent YAML file.
66
77<table ><tr ><td valign =top >
88
99``` python
10- import fluid
10+ import fluid as couler
1111
12- @fluid .task
12+ @couler .task
1313def echo_hello_world (hello , world = " El mundo" ):
14- fluid .step(image = " ubuntu" , cmd = [" echo" ], args = [hello])
15- fluid .step(image = " ubuntu" , cmd = [" echo" ], args = [world])
14+ couler .step(image = " ubuntu" , cmd = [" echo" ], args = [hello])
15+ couler .step(image = " ubuntu" , cmd = [" echo" ], args = [world])
1616```
1717
1818</td ><td valign =top >
You can’t perform that action at this time.
0 commit comments