Skip to content

Commit

Permalink
Use cowsay not whalesay as per official example (#822)
Browse files Browse the repository at this point in the history
**Pull Request Checklist**
- [x] Fixes #802
- [ ] Tests added
- [x] Documentation/examples added
- [x] [Good commit messages](https://cbea.ms/git-commit/) and/or PR
title

Signed-off-by: Flaviu Vadan <[email protected]>
  • Loading branch information
flaviuvadan authored Oct 29, 2023
1 parent b13811a commit a7b9e89
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/examples/workflows/workflow_of_workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Container(
name="echo",
image="docker/whalesay:latest",
command=["whalesay"],
command=["cowsay"],
args=["I'm workflow 1"],
)

Expand All @@ -28,7 +28,7 @@
Container(
name="echo",
image="docker/whalesay:latest",
command=["whalesay"],
command=["cowsay"],
args=["I'm workflow 2"],
)

Expand Down Expand Up @@ -70,7 +70,7 @@
failureCondition: status.phase in (Failed, Error)
manifest: "apiVersion: argoproj.io/v1alpha1\nkind: Workflow\nmetadata:\n generateName:\
\ sub-workflow-1-\nspec:\n entrypoint: echo\n templates:\n - container:\n\
\ args:\n - I'm workflow 1\n command:\n - whalesay\n \
\ args:\n - I'm workflow 1\n command:\n - cowsay\n \
\ image: docker/whalesay:latest\n name: echo\n"
successCondition: status.phase == Succeeded
- name: w2-resource
Expand All @@ -79,7 +79,7 @@
failureCondition: status.phase in (Failed, Error)
manifest: "apiVersion: argoproj.io/v1alpha1\nkind: Workflow\nmetadata:\n generateName:\
\ sub-workflow-2-\nspec:\n entrypoint: echo\n templates:\n - container:\n\
\ args:\n - I'm workflow 2\n command:\n - whalesay\n \
\ args:\n - I'm workflow 2\n command:\n - cowsay\n \
\ image: docker/whalesay:latest\n name: echo\n"
successCondition: status.phase == Succeeded
- name: main
Expand Down
4 changes: 2 additions & 2 deletions examples/workflows/workflow-of-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
failureCondition: status.phase in (Failed, Error)
manifest: "apiVersion: argoproj.io/v1alpha1\nkind: Workflow\nmetadata:\n generateName:\
\ sub-workflow-1-\nspec:\n entrypoint: echo\n templates:\n - container:\n\
\ args:\n - I'm workflow 1\n command:\n - whalesay\n \
\ args:\n - I'm workflow 1\n command:\n - cowsay\n \
\ image: docker/whalesay:latest\n name: echo\n"
successCondition: status.phase == Succeeded
- name: w2-resource
Expand All @@ -20,7 +20,7 @@ spec:
failureCondition: status.phase in (Failed, Error)
manifest: "apiVersion: argoproj.io/v1alpha1\nkind: Workflow\nmetadata:\n generateName:\
\ sub-workflow-2-\nspec:\n entrypoint: echo\n templates:\n - container:\n\
\ args:\n - I'm workflow 2\n command:\n - whalesay\n \
\ args:\n - I'm workflow 2\n command:\n - cowsay\n \
\ image: docker/whalesay:latest\n name: echo\n"
successCondition: status.phase == Succeeded
- name: main
Expand Down
4 changes: 2 additions & 2 deletions examples/workflows/workflow_of_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Container(
name="echo",
image="docker/whalesay:latest",
command=["whalesay"],
command=["cowsay"],
args=["I'm workflow 1"],
)

Expand All @@ -18,7 +18,7 @@
Container(
name="echo",
image="docker/whalesay:latest",
command=["whalesay"],
command=["cowsay"],
args=["I'm workflow 2"],
)

Expand Down

0 comments on commit a7b9e89

Please sign in to comment.