Skip to content

Commit

Permalink
docs(cli): clarify the difference b/t retry and resubmit (argopro…
Browse files Browse the repository at this point in the history
…j#11625)

Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
  • Loading branch information
agilgur5 authored and dpadhiar committed May 9, 2024
1 parent 818a065 commit cd33ca5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions cmd/argo/commands/resubmit.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func NewResubmitCommand() *cobra.Command {
command := &cobra.Command{
Use: "resubmit [WORKFLOW...]",
Short: "resubmit one or more workflows",
Long: "Submit a completed workflow again. Optionally override parameters and memoize. Similar to running `argo submit` again with the same parameters.",
Example: `# Resubmit a workflow:
argo resubmit my-wf
Expand Down
3 changes: 2 additions & 1 deletion cmd/argo/commands/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ func NewRetryCommand() *cobra.Command {
command := &cobra.Command{
Use: "retry [WORKFLOW...]",
Short: "retry zero or more workflows",
Long: "Rerun a failed Workflow. Specifically, rerun all failed steps. The same Workflow object is used and no new Workflows are created.",
Example: `# Retry a workflow:
argo retry my-wf
# Retry multiple workflows:
# Retry multiple workflows:
argo retry my-wf my-other-wf my-third-wf
Expand Down
4 changes: 4 additions & 0 deletions docs/cli/argo_resubmit.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

resubmit one or more workflows

### Synopsis

Submit a completed workflow again. Optionally override parameters and memoize. Similar to running `argo submit` again with the same parameters.

```
argo resubmit [WORKFLOW...] [flags]
```
Expand Down
6 changes: 5 additions & 1 deletion docs/cli/argo_retry.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

retry zero or more workflows

### Synopsis

Rerun a failed Workflow. Specifically, rerun all failed steps. The same Workflow object is used and no new Workflows are created.

```
argo retry [WORKFLOW...] [flags]
```
Expand All @@ -13,7 +17,7 @@ argo retry [WORKFLOW...] [flags]
argo retry my-wf
# Retry multiple workflows:
# Retry multiple workflows:
argo retry my-wf my-other-wf my-third-wf
Expand Down

0 comments on commit cd33ca5

Please sign in to comment.