Skip to content

Commit

Permalink
Adjust the cpu/mem values as per the step changed
Browse files Browse the repository at this point in the history
  • Loading branch information
tisutisu committed Dec 2, 2024
1 parent e9d5ecf commit b2d4ae5
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions task/buildah-min/0.2/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
- op: replace
path: /spec/steps/0/computeResources/requests/cpu
value: 100m
# sbom-syft-generate step
# push step
- op: replace
path: /spec/steps/1/computeResources/limits/memory
value: 2Gi
Expand All @@ -23,24 +23,24 @@
value: 512Mi
- op: replace
path: /spec/steps/1/computeResources/limits/cpu
value: 1
value: 500m
- op: replace
path: /spec/steps/1/computeResources/requests/cpu
value: 50m
# analyse-dependencies-java-sbom step
value: 100m
# sbom-syft-generate step
- op: replace
path: /spec/steps/2/computeResources/limits/memory
value: 256Mi
value: 2Gi
- op: replace
path: /spec/steps/2/computeResources/requests/memory
value: 128Mi
value: 512Mi
- op: replace
path: /spec/steps/2/computeResources/limits/cpu
value: 100m
value: 1
- op: replace
path: /spec/steps/2/computeResources/requests/cpu
value: 10m
# prepare-sboms step
value: 50m
# analyse-dependencies-java-sbom step
- op: replace
path: /spec/steps/3/computeResources/limits/memory
value: 256Mi
Expand All @@ -53,29 +53,29 @@
- op: replace
path: /spec/steps/3/computeResources/requests/cpu
value: 10m
# inject-sbom-and-push step
# prepare-sboms step
- op: replace
path: /spec/steps/4/computeResources/limits/memory
value: 2Gi
value: 256Mi
- op: replace
path: /spec/steps/4/computeResources/requests/memory
value: 512Mi
value: 128Mi
- op: replace
path: /spec/steps/4/computeResources/limits/cpu
value: 2
value: 100m
- op: replace
path: /spec/steps/4/computeResources/requests/cpu
value: 100m
value: 10m
# upload-sbom step
- op: replace
path: /spec/steps/5/computeResources/limits/memory
value: 256Mi
value: 2Gi
- op: replace
path: /spec/steps/5/computeResources/requests/memory
value: 128Mi
value: 512Mi
- op: replace
path: /spec/steps/5/computeResources/limits/cpu
value: 100m
value: 2
- op: replace
path: /spec/steps/5/computeResources/requests/cpu
value: 10m
value: 100m

0 comments on commit b2d4ae5

Please sign in to comment.