Skip to content

Commit

Permalink
build: Drop clamav-scan resource requests (#1669)
Browse files Browse the repository at this point in the history
  • Loading branch information
msugakov authored Oct 14, 2024
1 parent 361b940 commit 55fda51
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 55fda51

Please sign in to comment.