From f4de8440d9f5cbd81afe7046c9451fcc00a15074 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Wed, 8 Apr 2020 20:20:10 -0400 Subject: [PATCH] Jenkinsfile.kola.aws: allow overriding cosa image This is useful for testing changes to kola. --- Jenkinsfile.kola.aws | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile.kola.aws b/Jenkinsfile.kola.aws index 3d46477c1..a334c3299 100644 --- a/Jenkinsfile.kola.aws +++ b/Jenkinsfile.kola.aws @@ -20,6 +20,10 @@ properties([ string(name: 'S3_STREAM_DIR', description: 'Fedora CoreOS S3 Stream Directory', defaultValue: '', + trim: true), + string(name: 'COREOS_ASSEMBLER_IMAGE', + description: 'Override coreos-assembler image to use', + defaultValue: "coreos-assembler:master", trim: true) ]) ]) @@ -27,7 +31,7 @@ properties([ currentBuild.description = "[${params.STREAM}] - ${params.VERSION}" // substitute the right COSA image into the pod definition before spawning it -pod = pod.replace("COREOS_ASSEMBLER_IMAGE", "coreos-assembler:master") +pod = pod.replace("COREOS_ASSEMBLER_IMAGE", params.COREOS_ASSEMBLER_IMAGE) // shouldn't need more than 256Mi for this job pod = pod.replace("COREOS_ASSEMBLER_MEMORY_REQUEST", "256Mi")