aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-02-17 18:13:37 +0100
committerAleksandr Nogikh <nogikh@google.com>2025-02-18 14:23:32 +0000
commitec05e4c30271d38daa3a17bae6cafe5a7477c943 (patch)
tree27734f7f1bfc97bbdab61c92287c4c070f77ea5c
parent30e664133f1d6d163a0cafa118603da3bc9a40c0 (diff)
syz-cluster: update workflow templates with kustomize
This removes one of the required manual steps.
-rw-r--r--syz-cluster/README.md3
-rw-r--r--syz-cluster/overlays/dev/kustomization.yaml1
-rw-r--r--syz-cluster/workflow/kustomization.yaml8
3 files changed, 10 insertions, 2 deletions
diff --git a/syz-cluster/README.md b/syz-cluster/README.md
index b92476e33..3c5bf5b1f 100644
--- a/syz-cluster/README.md
+++ b/syz-cluster/README.md
@@ -20,8 +20,7 @@ $ make all-containers
```
$ make restart-spanner
$ kubectl create namespace argo
-$ minikube kubectl -- kubectl apply -k ./overlays/dev/
-$ argo template create workflow/*/workflow-template.yaml
+$ kubectl apply -k ./overlays/dev/
```
5. (Optional) Pre-fetch the kernel git repository:
```
diff --git a/syz-cluster/overlays/dev/kustomization.yaml b/syz-cluster/overlays/dev/kustomization.yaml
index 8038adaf2..fb122b390 100644
--- a/syz-cluster/overlays/dev/kustomization.yaml
+++ b/syz-cluster/overlays/dev/kustomization.yaml
@@ -8,6 +8,7 @@ resources:
- ../../kernel-disk
- ../../reporter
- ../common
+ - ../../workflow
- global-config.yaml
- https://github.com/argoproj/argo-workflows/releases/download/v3.6.2/install.yaml
- workflow-roles.yaml
diff --git a/syz-cluster/workflow/kustomization.yaml b/syz-cluster/workflow/kustomization.yaml
new file mode 100644
index 000000000..4bf5582d6
--- /dev/null
+++ b/syz-cluster/workflow/kustomization.yaml
@@ -0,0 +1,8 @@
+# Copyright 2025 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+resources:
+ - triage-step/workflow-template.yaml
+ - build-step/workflow-template.yaml
+ - boot-step/workflow-template.yaml
+ - fuzz-step/workflow-template.yaml