Skip to content

Commit

Permalink
Drop clamav-scan resource requests
Browse files Browse the repository at this point in the history
Let the Konflux team manage these resources as they seem to be on
track of doing that
konflux-ci/build-definitions#1247
  • Loading branch information
msugakov committed Oct 10, 2024
1 parent 970d39c commit e25b1af
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 36 deletions.
8 changes: 0 additions & 8 deletions .tekton/scanner-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,6 @@ spec:
computeResources:
requests:
cpu: 2
- pipelineTaskName: clamav-scan
stepSpecs:
# Provision more CPU to speed up ClamAV scan compared to the defaults.
# https://github.com/redhat-appstudio/build-definitions/blob/main/task/clamav-scan/0.1/clamav-scan.yaml#L48
- name: extract-and-scan-image
computeResources:
requests:
cpu: 1

# Multiarch builds sometimes make the pipeline timeout after 1h.
timeouts:
Expand Down
10 changes: 0 additions & 10 deletions .tekton/scanner-db-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,6 @@ spec:
secret:
secretName: '{{ git_auth_secret }}'

taskRunSpecs:
- pipelineTaskName: clamav-scan
stepSpecs:
# Provision more CPU to speed up ClamAV scan compared to the defaults.
# https://github.com/redhat-appstudio/build-definitions/blob/main/task/clamav-scan/0.1/clamav-scan.yaml#L48
- name: extract-and-scan-image
computeResources:
requests:
cpu: 1

timeouts:
tasks: 1h
finally: 10m
Expand Down
10 changes: 0 additions & 10 deletions .tekton/scanner-db-slim-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,6 @@ spec:
secret:
secretName: '{{ git_auth_secret }}'

taskRunSpecs:
- pipelineTaskName: clamav-scan
stepSpecs:
# Provision more CPU to speed up ClamAV scan compared to the defaults.
# https://github.com/redhat-appstudio/build-definitions/blob/main/task/clamav-scan/0.1/clamav-scan.yaml#L48
- name: extract-and-scan-image
computeResources:
requests:
cpu: 1

timeouts:
tasks: 1h
finally: 10m
Expand Down
8 changes: 0 additions & 8 deletions .tekton/scanner-slim-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,6 @@ spec:
computeResources:
requests:
cpu: 2
- pipelineTaskName: clamav-scan
stepSpecs:
# Provision more CPU to speed up ClamAV scan compared to the defaults.
# https://github.com/redhat-appstudio/build-definitions/blob/main/task/clamav-scan/0.1/clamav-scan.yaml#L48
- name: extract-and-scan-image
computeResources:
requests:
cpu: 1

# Multiarch builds sometimes make the pipeline timeout after 1h.
timeouts:
Expand Down

0 comments on commit e25b1af

Please sign in to comment.