diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-01-22 15:11:49 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-01-27 08:57:27 +0000 |
| commit | 44a4bf20877715222e99bbf3aa82a6ec33857148 (patch) | |
| tree | c67db0fb6e6373660231330a9d20849877276382 /syz-cluster/pkg/workflow | |
| parent | 0d4dc8c3e85c8d0cd8c7a5b3d1079da2ef51cf48 (diff) | |
syz-cluster: explicitly set the skip reason
It lets immediately distinguish the series that were actually processed
from the series that were skipped early on.
By storing a string, we also make it apparent why exactly the series was
skipped.
Diffstat (limited to 'syz-cluster/pkg/workflow')
| -rw-r--r-- | syz-cluster/pkg/workflow/template.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/syz-cluster/pkg/workflow/template.yaml b/syz-cluster/pkg/workflow/template.yaml index a75b1761b..b706776e6 100644 --- a/syz-cluster/pkg/workflow/template.yaml +++ b/syz-cluster/pkg/workflow/template.yaml @@ -26,9 +26,9 @@ spec: templateRef: name: triage-step-template template: triage-step - - - name: abort-on-skip + - - name: abort-on-skip-outcome template: exit-workflow - when: "{{=jsonpath(steps['run-triage'].outputs.parameters.result, '$.skip') == true}}" + when: "{{=jsonpath(steps['run-triage'].outputs.parameters.result, '$.skip') != nil}}" - - name: iterate-fuzz template: process-fuzz-wrapper arguments: @@ -57,7 +57,7 @@ spec: failed: true - - name: break-if-succeeded template: exit-workflow - when: "{{=steps['run-process-fuzz'].status == Succeeded}}" + when: "{{steps['run-process-fuzz'].status}} == Succeeded" - name: process-fuzz inputs: parameters: |
