Skip to content

Commit

Permalink
feat(KONFLUX-5670): Define computeResources for prefetch-dependencies…
Browse files Browse the repository at this point in the history
… tasks
  • Loading branch information
jhutar committed Dec 17, 2024
1 parent 90bff99 commit 890ab47
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,13 @@ spec:
value: $(workspaces.netrc.bound)
- name: WORKSPACE_NETRC_PATH
value: $(workspaces.netrc.path)
computeResources:
limits:
cpu: '1'
memory: 3Gi
requests:
cpu: '1'
memory: 3Gi
script: |
#!/bin/bash
Expand Down Expand Up @@ -417,3 +424,10 @@ spec:
env:
- name: IMAGE_EXPIRES_AFTER
value: $(params.ociArtifactExpiresAfter)
computeResources:
limits:
cpu: '1'
memory: 3Gi
requests:
cpu: '1'
memory: 3Gi
7 changes: 7 additions & 0 deletions task/prefetch-dependencies/0.1/prefetch-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,13 @@ spec:
readOnly: true
- mountPath: /activation-key
name: activation-key
computeResources:
limits:
cpu: 500m
memory: 3Gi
requests:
cpu: 500m
memory: 3Gi
script: |
#!/bin/bash
Expand Down

0 comments on commit 890ab47

Please sign in to comment.