diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-10-21 14:37:49 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-10-22 14:20:38 +0000 |
| commit | c0460fcde7051a8d07612ec2a17718d3c3019bb0 (patch) | |
| tree | 2e8c1931273280930e892fc515eadaa67ca1308c /syz-cluster | |
| parent | 5faec6871b587407d55b2ea1bbfe0dfa6d6ea77f (diff) | |
syz-cluster: set workflow step retry strategy
When a triage or build step coincides with a cron job that polls new
kernel trees, they often fail due to git command noticing that the
repository is being updated.
In this case, the step logs an error and exits with status=1. Argo
workflows offers a functionality to retry such steps up to the specific
number of times and with exponentially increasing backoffs.
Configure the build and triage step templates to retry 3 times with 5
and then 10 minutes distance between the retries.
Diffstat (limited to 'syz-cluster')
| -rw-r--r-- | syz-cluster/workflow/build-step/workflow-template.yaml | 4 | ||||
| -rw-r--r-- | syz-cluster/workflow/triage-step/workflow-template.yaml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/syz-cluster/workflow/build-step/workflow-template.yaml b/syz-cluster/workflow/build-step/workflow-template.yaml index 76edbf037..b7b343745 100644 --- a/syz-cluster/workflow/build-step/workflow-template.yaml +++ b/syz-cluster/workflow/build-step/workflow-template.yaml @@ -8,6 +8,10 @@ metadata: spec: templates: - name: build-step + retryStrategy: + limit: "3" + backoff: + duration: "5m" inputs: parameters: - name: findings diff --git a/syz-cluster/workflow/triage-step/workflow-template.yaml b/syz-cluster/workflow/triage-step/workflow-template.yaml index 37427cf73..126d6c775 100644 --- a/syz-cluster/workflow/triage-step/workflow-template.yaml +++ b/syz-cluster/workflow/triage-step/workflow-template.yaml @@ -8,6 +8,10 @@ metadata: spec: templates: - name: triage-step + retryStrategy: + limit: "3" + backoff: + duration: "5m" initContainers: - name: setup-overlays image: alpine/git:latest |
