コード例 #1
0
 def echo2_graph_component(text2):
     dsl.ContainerOp(name='echo2-task1',
                     image='library/bash:4.4.23',
                     command=['sh', '-c'],
                     arguments=['echo "$0"', text2])
コード例 #2
0
ファイル: compiler_test.py プロジェクト: ydataai/pipelines
 def my_pipeline():
     dsl.ContainerOp(name='comp1',
                     image='gcr.io/dummy',
                     command=['python', 'main.py'])