-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
…11502 (#12809) Signed-off-by: shuangkun <[email protected]> Signed-off-by: shuangkun tian <[email protected]> Signed-off-by: Anton Gilgur <[email protected]> Co-authored-by: Anton Gilgur <[email protected]> Co-authored-by: Anton Gilgur <[email protected]> (cherry picked from commit 459b09d)
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: WorkflowTemplate | ||
metadata: | ||
name: containerset-with-retrystrategy | ||
annotations: | ||
workflows.argoproj.io/description: | | ||
This workflow creates a container set with a retryStrategy. | ||
spec: | ||
entrypoint: test | ||
templates: | ||
- name: test | ||
containerSet: | ||
retryStrategy: | ||
retries: "2" | ||
containers: | ||
- name: c1 | ||
image: python:alpine3.6 | ||
command: | ||
- python | ||
- -c | ||
args: | ||
- | | ||
print("hi") | ||
- name: c2 | ||
image: python:alpine3.6 | ||
command: | ||
- invalid | ||
- command | ||
- name: c3 | ||
image: alpine:latest | ||
command: [ sh, -c ] | ||
args: [ "echo intentional failure; exit 1" ] |