From 693832a123f851b68da48a512051affcb9b65c45 Mon Sep 17 00:00:00 2001 From: Luiz Carvalho Date: Fri, 9 Aug 2024 16:52:16 -0400 Subject: [PATCH] Run prefetch-deps Task unconditionally in TA The way the docker-build-oci-ta Pipeline is defined, the prefetch-dependencies Task must always execute. In some cases this becomes a no-op operation and the provided source artifact is passed through to its result. This change removes the `when` clause from the Task in the docker-build-oci-ta Pipeline. Without this, all Tasks are skipped after the prefetch-dependencies Task. Ref: KFLUXBUGS-1516 Signed-off-by: Luiz Carvalho --- pipelines/docker-build-oci-ta/patch.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipelines/docker-build-oci-ta/patch.yaml b/pipelines/docker-build-oci-ta/patch.yaml index 677281306d..2a294b5809 100644 --- a/pipelines/docker-build-oci-ta/patch.yaml +++ b/pipelines/docker-build-oci-ta/patch.yaml @@ -64,6 +64,8 @@ value: $(params.image-expires-after) - op: remove path: /spec/tasks/2/workspaces/0 +- op: remove + path: /spec/tasks/2/when # build-container - op: replace