Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit 9518b80

Browse files
committed
Update based on review comments
1 parent 341eaa8 commit 9518b80

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/modules/ROOT/pages/how-to-guides/configuring-builds/proc_customize_build_pipeline.adoc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,20 @@ NOTE: If you want to define a task directly in this file, rather than using `tas
7070

7171
== Exchanging the build pipeline build task with higher memory limits
7272

73-
Task `buildah` for building components from Dockerfile has a memory limit set to 4 GB. For components with higher memory requirements, there are tasks prepared:
73+
The `buildah` task, which builds components from a Dockerfile, has a memory limit of 4 GB. To build components with memory requirements greater than 4 GB, use the following tasks:
7474

7575
* link:https://quay.io/repository/redhat-appstudio-tekton-catalog/task-buildah-6gb?tab=tags[quay.io/redhat-appstudio-tekton-catalog/task-buildah-6gb]
7676
* link:https://quay.io/repository/redhat-appstudio-tekton-catalog/task-buildah-8gb?tab=tags[quay.io/redhat-appstudio-tekton-catalog/task-buildah-8gb]
7777
* link:https://quay.io/repository/redhat-appstudio-tekton-catalog/task-buildah-10gb?tab=tags[quay.io/redhat-appstudio-tekton-catalog/task-buildah-10gb]
7878

7979
.Procedure
8080

81-
. In each `.yaml` file in the `.tekton` directory, locate a task named `build-container` under `tasks`:
82-
.. Set under `.taskRef.params` `name` to `buildah-6gb`
83-
.. Set under `.taskRef.params` `bundle` to `quay.io/redhat-appstudio-tekton-catalog/task-buildah-6gb:0.1`
81+
To exchange the build task with a memory limit of 6 GB, complete the following steps. For a memory limit of 8 or 10 GB, replace the references to 6 GB with the appropriate values.
82+
83+
. Go to the GitHub repo of your component.
84+
. In each .yaml file in the .tekton directory, under tasks, locate the task named build-container:
85+
.. Under `.taskRef.params`, set `name` to `buildah-6gb`.
86+
.. Under `.taskRef.params`, set `bundle` to `quay.io/redhat-appstudio-tekton-catalog/task-buildah-6gb:0.1`.
8487

8588
== Verification
8689

0 commit comments

Comments
 (0)