apiVersion: argoproj.io/v1alpha1 kind: WorkflowTemplate spec: arguments: parameters: - name: create_foo value: 'true' enum: - 'false' - 'true' templates: - name: conditional-step steps: - - name: conditionally-add-foo when: "{{workflow.parameters.create_foo == 'true'}}" template:...
Workflow Engine for Kubernetes. Contribute to argoproj/argo-workflows development by creating an account on GitHub.
wf.id: workflow ID in argo wf.query_status(): query workflow status, return"Pending","Running","Succeeded", etc. wf.query_step(name=None, key=None, phase=None, id=None, type=None): query step by name (support for regex)/key/phase/ID/type, return a list of argo step objects ...
If possible to created a conditional variable for maxRuns (a la maxSuccessRuns) based on the status of the workflow, that would address use cases we have seen before via Circuit Breakers for CronWorkflows #7291. Member sarabala1979 commented Jun 20, 2023 I like @terrytangyuan idea RunStra...
cluster-workflow-templates.md conditional-artifacts-parameters.md configure-archive-logs.md configure-artifact-repository.md container-set-template.md core-concepts.md cost-optimisation.md cron-backfill.md cron-workflows.md data-sourcing-and-transformation.md debug-pause.md default-workf...
If `expression` evaluates to false, the step will not be retried. See [example](https://raw.githubusercontent.com/argoproj/argo-workflows/master/examples/retry-conditional.yaml) for usage. ## Backoff You can configure the delay between retries with `backoff`. See [example](https://raw.gi...
We also support conditional execution as shown in this example:apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: generateName: coinflip- spec: entrypoint: coinflip templates: - name: coinflip steps: # flip a coin - - name: flip-coin template: flip-coin # evaluate the result...