From f6eaf685fb047bf200c8f4da439699c1b75ae3eb Mon Sep 17 00:00:00 2001 From: Rob Nester Date: Thu, 12 Feb 2026 10:42:40 -0500 Subject: [PATCH] enable Konflux cache proxy for builds Enable the cache proxy in the Tekton pipeline definitions to improve build performance by caching dependencies. Ref: EC-1614 Signed-off-by: Rob Nester --- .tekton/cli-v06-pull-request.yaml | 8 ++++++++ .tekton/cli-v06-push.yaml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/.tekton/cli-v06-pull-request.yaml b/.tekton/cli-v06-pull-request.yaml index b77235046..5a7400a01 100644 --- a/.tekton/cli-v06-pull-request.yaml +++ b/.tekton/cli-v06-pull-request.yaml @@ -40,6 +40,8 @@ spec: value: quick-build-args.conf - name: hermetic value: "true" + - name: enable-cache-proxy + value: "true" pipelineSpec: description: | This pipeline is ideal for building container images from a Containerfile while maintaining trust after pipeline customization. @@ -123,6 +125,10 @@ spec: VMs name: privileged-nested type: string + - default: "true" + description: Enable cache proxy + name: enable-cache-proxy + type: string results: - description: "" name: IMAGE_URL @@ -242,6 +248,8 @@ spec: value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT) - name: CACHI2_ARTIFACT value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT) + - name: ENABLE_CACHE_PROXY + value: $(params.enable-cache-proxy) runAfter: - prefetch-dependencies taskRef: diff --git a/.tekton/cli-v06-push.yaml b/.tekton/cli-v06-push.yaml index 54b91ec06..a4dc2b76a 100644 --- a/.tekton/cli-v06-push.yaml +++ b/.tekton/cli-v06-push.yaml @@ -39,6 +39,8 @@ spec: value: "" - name: hermetic value: "true" + - name: enable-cache-proxy + value: "true" pipelineSpec: description: | This pipeline is ideal for building container images from a Containerfile while maintaining trust after pipeline customization. @@ -122,6 +124,10 @@ spec: VMs name: privileged-nested type: string + - default: "true" + description: Enable cache proxy + name: enable-cache-proxy + type: string results: - description: "" name: IMAGE_URL @@ -241,6 +247,8 @@ spec: value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT) - name: CACHI2_ARTIFACT value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT) + - name: ENABLE_CACHE_PROXY + value: $(params.enable-cache-proxy) runAfter: - prefetch-dependencies taskRef: