From ec05e4c30271d38daa3a17bae6cafe5a7477c943 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Mon, 17 Feb 2025 18:13:37 +0100 Subject: syz-cluster: update workflow templates with kustomize This removes one of the required manual steps. --- syz-cluster/README.md | 3 +-- syz-cluster/overlays/dev/kustomization.yaml | 1 + syz-cluster/workflow/kustomization.yaml | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 syz-cluster/workflow/kustomization.yaml 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 -- cgit mrf-deployment