Skip to content

Commit

Permalink
feat: add terminator to Python DSL
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed Jul 21, 2021
1 parent 8293394 commit 003d94e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions examples/107-terminator-pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
(pipeline("107-terminator")
.owner('argoproj-labs')
.describe("""This example demonstrates having a terminator step, and then terminating other steps
using different terminations strategies.
""")
using different terminations strategies.""")
.annotate('dataflow.argoproj.io/wait-for', 'Completed')
.step(
(container('main',
Expand Down
6 changes: 3 additions & 3 deletions examples/107-terminator-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ apiVersion: dataflow.argoproj.io/v1alpha1
kind: Pipeline
metadata:
annotations:
dataflow.argoproj.io/description: "This example demonstrates having a terminator\
\ step, and then terminating other steps\n using different terminations\
\ strategies.\n "
dataflow.argoproj.io/description: |-
This example demonstrates having a terminator step, and then terminating other steps
using different terminations strategies.
dataflow.argoproj.io/owner: argoproj-labs
dataflow.argoproj.io/wait-for: Completed
name: 107-terminator
Expand Down

0 comments on commit 003d94e

Please sign in to comment.