From ee40f43af9eb1a85a8a99dfbbf4de1a40739b169 Mon Sep 17 00:00:00 2001 From: Tami Takamiya Date: Sun, 17 Nov 2024 09:48:45 -0500 Subject: [PATCH] Allocate more memory to clair-scan step --- .tekton/ansible-chatbot-service-pull-request.yaml | 8 ++++++++ .tekton/ansible-chatbot-service-push.yaml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/.tekton/ansible-chatbot-service-pull-request.yaml b/.tekton/ansible-chatbot-service-pull-request.yaml index 2d144ab3..97394dfc 100644 --- a/.tekton/ansible-chatbot-service-pull-request.yaml +++ b/.tekton/ansible-chatbot-service-pull-request.yaml @@ -33,6 +33,14 @@ spec: value: . - name: revision value: "{{revision}}" + taskRunSpecs: + - pipelineTaskName: clair-scan + computeResources: + requests: + cpu: '1' + memory: 8Gi + limits: + memory: 16Gi pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/ansible-chatbot-service-push.yaml b/.tekton/ansible-chatbot-service-push.yaml index 6536f75d..71e09d10 100644 --- a/.tekton/ansible-chatbot-service-push.yaml +++ b/.tekton/ansible-chatbot-service-push.yaml @@ -28,6 +28,14 @@ spec: value: . - name: revision value: "{{revision}}" + taskRunSpecs: + - pipelineTaskName: clair-scan + computeResources: + requests: + cpu: '1' + memory: 8Gi + limits: + memory: 16Gi pipelineSpec: finally: - name: show-sbom