From 68aa75abe16fb593ee02b5a37783371c3dfc24b2 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Mon, 24 Feb 2025 14:30:04 +0100 Subject: syz-cluster: make image prefix and tag configurable Accept IMAGE_PREFIX and IMAGE_TAG parameters that allow to reuse the Makefile and a lot of k8s configurations both for local and prod environments. Refactor Makefile: define build-* and push-* rules, use templates to avoid repetition. --- syz-cluster/workflow/fuzz-step/workflow-template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syz-cluster/workflow/fuzz-step') diff --git a/syz-cluster/workflow/fuzz-step/workflow-template.yaml b/syz-cluster/workflow/fuzz-step/workflow-template.yaml index abdb4eadc..9fd2abecd 100644 --- a/syz-cluster/workflow/fuzz-step/workflow-template.yaml +++ b/syz-cluster/workflow/fuzz-step/workflow-template.yaml @@ -23,7 +23,7 @@ spec: path: /patched timeout: 4h container: - image: fuzz-step-local + image: ${IMAGE_PREFIX}fuzz-step:${IMAGE_TAG} imagePullPolicy: IfNotPresent command: ["/bin/fuzz-step"] args: [ -- cgit mrf-deployment