Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: adjust the cpu/mem values as per the step changed #1675

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading