Skip to content

Commit a301174

Browse files
TamiTakamiyajameswnl
authored andcommitted
Allocate more memory to clair-scan step
1 parent ef60988 commit a301174

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.tekton/ansible-chatbot-service-pull-request.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ spec:
3333
value: .
3434
- name: revision
3535
value: "{{revision}}"
36+
taskRunSpecs:
37+
- pipelineTaskName: clair-scan
38+
computeResources:
39+
requests:
40+
cpu: '1'
41+
memory: 8Gi
42+
limits:
43+
memory: 16Gi
3644
pipelineSpec:
3745
finally:
3846
- name: show-sbom

.tekton/ansible-chatbot-service-push.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ spec:
2828
value: .
2929
- name: revision
3030
value: "{{revision}}"
31+
taskRunSpecs:
32+
- pipelineTaskName: clair-scan
33+
computeResources:
34+
requests:
35+
cpu: '1'
36+
memory: 8Gi
37+
limits:
38+
memory: 16Gi
3139
pipelineSpec:
3240
finally:
3341
- name: show-sbom

0 commit comments

Comments
 (0)