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 c9d0d5c commit 2c1090c
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 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,30 @@
- 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

Check failure on line 82 in task/buildah-min/0.2/patch.yaml

View workflow job for this annotation

GitHub Actions / yamllint

82:1 [empty-lines] too many blank lines (1 > 0)

0 comments on commit 2c1090c

Please sign in to comment.