Skip to content

Commit

Permalink
docs: Add links to Python examples to description annotations (#6202)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
  • Loading branch information
terrytangyuan authored Jun 24, 2021
1 parent 4fd38fa commit 6167aaa
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/coinflip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: coinflip-
annotations:
workflows.argoproj.io/description: |
This is an example of coin flip defined as a sequence of conditional steps.
You can also run it in Python: https://couler-proj.github.io/couler/examples/#coin-flip
spec:
entrypoint: coinflip
templates:
Expand Down
4 changes: 4 additions & 0 deletions examples/dag-coinflip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: dag-diamond-coinflip-
annotations:
workflows.argoproj.io/description: |
This is an example of coin flip defined as a DAG.
You can also run it in Python: https://couler-proj.github.io/couler/examples/#dag
spec:
entrypoint: diamond
templates:
Expand Down
4 changes: 4 additions & 0 deletions examples/hello-world.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
generateName: hello-world-
labels:
workflows.argoproj.io/archive-strategy: "false"
annotations:
workflows.argoproj.io/description: |
This is a simple hello world example.
You can also run it in Python: https://couler-proj.github.io/couler/examples/#hello-world
spec:
entrypoint: whalesay
templates:
Expand Down

0 comments on commit 6167aaa

Please sign in to comment.