Skip to content

Commit

Permalink
Deprecate buildah task resource variations
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorhun committed Sep 27, 2024
1 parent 3650868 commit 4cb5762
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 0 deletions.
6 changes: 6 additions & 0 deletions task/buildah-10gb/0.1/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
- op: replace
path: /spec/steps/0/computeResources/requests/memory
value: 8Gi
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expires-on
value: "2025-01-21T00:00:00Z"
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expiry-message
value: "Instead of using this task, switch to buildah task and configure build step resources as described in the doc: https://konflux-ci.dev/docs/how-tos/configuring/overriding-compute-resources/"
6 changes: 6 additions & 0 deletions task/buildah-10gb/0.2/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
- op: replace
path: /spec/steps/0/computeResources/requests/memory
value: 8Gi
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expires-on
value: "2025-01-21T00:00:00Z"
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expiry-message
value: "Instead of using this task, switch to buildah task and configure build step resources as described in the doc: https://konflux-ci.dev/docs/how-tos/configuring/overriding-compute-resources/"
6 changes: 6 additions & 0 deletions task/buildah-20gb/0.1/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
- op: replace
path: /spec/steps/0/computeResources/requests/memory
value: 16Gi
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expires-on
value: "2025-01-21T00:00:00Z"
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expiry-message
value: "Instead of using this task, switch to buildah task and configure build step resources as described in the doc: https://konflux-ci.dev/docs/how-tos/configuring/overriding-compute-resources/"
6 changes: 6 additions & 0 deletions task/buildah-20gb/0.2/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
- op: replace
path: /spec/steps/0/computeResources/requests/memory
value: 16Gi
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expires-on
value: "2025-01-21T00:00:00Z"
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expiry-message
value: "Instead of using this task, switch to buildah task and configure build step resources as described in the doc: https://konflux-ci.dev/docs/how-tos/configuring/overriding-compute-resources/"
6 changes: 6 additions & 0 deletions task/buildah-24gb/0.1/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@
- op: replace
path: /spec/steps/0/computeResources/requests/cpu
value: "10"
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expires-on
value: "2025-01-21T00:00:00Z"
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expiry-message
value: "Instead of using this task, switch to buildah task and configure build step resources as described in the doc: https://konflux-ci.dev/docs/how-tos/configuring/overriding-compute-resources/"
6 changes: 6 additions & 0 deletions task/buildah-24gb/0.2/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@
- op: replace
path: /spec/steps/0/computeResources/requests/cpu
value: "10"
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expires-on
value: "2025-01-21T00:00:00Z"
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expiry-message
value: "Instead of using this task, switch to buildah task and configure build step resources as described in the doc: https://konflux-ci.dev/docs/how-tos/configuring/overriding-compute-resources/"
6 changes: 6 additions & 0 deletions task/buildah-6gb/0.1/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
- op: replace
path: /spec/steps/0/computeResources/requests/memory
value: 4Gi
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expires-on
value: "2025-01-21T00:00:00Z"
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expiry-message
value: "Instead of using this task, switch to buildah task and configure build step resources as described in the doc: https://konflux-ci.dev/docs/how-tos/configuring/overriding-compute-resources/"
6 changes: 6 additions & 0 deletions task/buildah-6gb/0.2/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
- op: replace
path: /spec/steps/0/computeResources/requests/memory
value: 4Gi
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expires-on
value: "2025-01-21T00:00:00Z"
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expiry-message
value: "Instead of using this task, switch to buildah task and configure build step resources as described in the doc: https://konflux-ci.dev/docs/how-tos/configuring/overriding-compute-resources/"
6 changes: 6 additions & 0 deletions task/buildah-8gb/0.1/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
- op: replace
path: /spec/steps/0/computeResources/requests/memory
value: 6Gi
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expires-on
value: "2025-01-21T00:00:00Z"
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expiry-message
value: "Instead of using this task, switch to buildah task and configure build step resources as described in the doc: https://konflux-ci.dev/docs/how-tos/configuring/overriding-compute-resources/"
6 changes: 6 additions & 0 deletions task/buildah-8gb/0.2/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
- op: replace
path: /spec/steps/0/computeResources/requests/memory
value: 6Gi
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expires-on
value: "2025-01-21T00:00:00Z"
- op: add
path: /metadata/annotations/build.appstudio.redhat.com~1expiry-message
value: "Instead of using this task, switch to buildah task and configure build step resources as described in the doc: https://konflux-ci.dev/docs/how-tos/configuring/overriding-compute-resources/"

0 comments on commit 4cb5762

Please sign in to comment.