Skip to content

Commit

Permalink
Allocate more memory to clair-scan step
Browse files Browse the repository at this point in the history
  • Loading branch information
TamiTakamiya committed Nov 17, 2024
1 parent 971ec42 commit 039f0cd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .tekton/ansible-chatbot-service-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ spec:
value: .
- name: revision
value: "{{revision}}"
taskRunSpecs:
- pipelineTaskName: clair-scan
computeResources:
requests:
cpu: '1'
memory: 1Gi
limits:
memory: 8Gi
pipelineSpec:
finally:
- name: show-sbom
Expand Down
8 changes: 8 additions & 0 deletions .tekton/ansible-chatbot-service-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 039f0cd

Please sign in to comment.