From 2e400a94f570e74be1c6895b3e87ac8fee4cd75e Mon Sep 17 00:00:00 2001 From: JasonPowr Date: Fri, 22 Nov 2024 11:51:07 +0000 Subject: [PATCH] increase resource limits --- .tekton/backfill-redis-pull-request.yaml | 11 +++++++++++ .tekton/backfill-redis-push.yaml | 11 +++++++++++ .tekton/rekor-cli-pull-request.yaml | 11 +++++++++++ .tekton/rekor-cli-push.yaml | 11 +++++++++++ .tekton/rekor-server-pull-request.yaml | 11 +++++++++++ .tekton/rekor-server-push.yaml | 11 +++++++++++ 6 files changed, 66 insertions(+) diff --git a/.tekton/backfill-redis-pull-request.yaml b/.tekton/backfill-redis-pull-request.yaml index 9f385beaa..e420e9484 100644 --- a/.tekton/backfill-redis-pull-request.yaml +++ b/.tekton/backfill-redis-pull-request.yaml @@ -37,6 +37,17 @@ spec: value: [{"path": ".", "type": "gomod"}, {"path": "./hack/tools", "type": "gomod"}] - name: go_unit_test value: true + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineRef: resolver: git params: diff --git a/.tekton/backfill-redis-push.yaml b/.tekton/backfill-redis-push.yaml index f0f916bf5..af664c9f2 100644 --- a/.tekton/backfill-redis-push.yaml +++ b/.tekton/backfill-redis-push.yaml @@ -35,6 +35,17 @@ spec: value: [{"path": ".", "type": "gomod"}, {"path": "./hack/tools", "type": "gomod"}] - name: go_unit_test value: true + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineRef: resolver: git params: diff --git a/.tekton/rekor-cli-pull-request.yaml b/.tekton/rekor-cli-pull-request.yaml index 504e12d70..2a6684107 100644 --- a/.tekton/rekor-cli-pull-request.yaml +++ b/.tekton/rekor-cli-pull-request.yaml @@ -37,6 +37,17 @@ spec: value: "true" - name: go_unit_test value: true + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineRef: resolver: git params: diff --git a/.tekton/rekor-cli-push.yaml b/.tekton/rekor-cli-push.yaml index b53356922..dca8f701d 100644 --- a/.tekton/rekor-cli-push.yaml +++ b/.tekton/rekor-cli-push.yaml @@ -34,6 +34,17 @@ spec: value: "true" - name: go_unit_test value: true + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineRef: resolver: git params: diff --git a/.tekton/rekor-server-pull-request.yaml b/.tekton/rekor-server-pull-request.yaml index a64d0d109..e297cfab9 100644 --- a/.tekton/rekor-server-pull-request.yaml +++ b/.tekton/rekor-server-pull-request.yaml @@ -37,6 +37,17 @@ spec: value: [{"path": ".", "type": "gomod"}, {"path": "./hack/tools", "type": "gomod"}] - name: go_unit_test value: true + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineRef: resolver: git params: diff --git a/.tekton/rekor-server-push.yaml b/.tekton/rekor-server-push.yaml index 07298abfe..3764da42a 100644 --- a/.tekton/rekor-server-push.yaml +++ b/.tekton/rekor-server-push.yaml @@ -35,6 +35,17 @@ spec: value: [{"path": ".", "type": "gomod"}, {"path": "./hack/tools", "type": "gomod"}] - name: go_unit_test value: true + taskRunSpecs: + - pipelineTaskName: prefetch-dependencies + stepSpecs: + - name: prefetch-dependencies + computeResources: + requests: + cpu: '3' + memory: 3Gi + limits: + cpu: '3' + memory: 3Gi pipelineRef: resolver: git params: