From 003d94ead7e949597424259c748cce306abccf18 Mon Sep 17 00:00:00 2001 From: Alex Collins Date: Wed, 21 Jul 2021 14:37:25 -0700 Subject: [PATCH] feat: add terminator to Python DSL --- examples/107-terminator-pipeline.py | 3 +-- examples/107-terminator-pipeline.yaml | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/107-terminator-pipeline.py b/examples/107-terminator-pipeline.py index bb8c6aea..7e5f3cc4 100644 --- a/examples/107-terminator-pipeline.py +++ b/examples/107-terminator-pipeline.py @@ -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', diff --git a/examples/107-terminator-pipeline.yaml b/examples/107-terminator-pipeline.yaml index 32ab327c..d933f828 100644 --- a/examples/107-terminator-pipeline.yaml +++ b/examples/107-terminator-pipeline.yaml @@ -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