You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 5, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/how-to-guides/configuring-builds/proc_customize_build_pipeline.adoc
+24-2Lines changed: 24 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,8 +48,14 @@ name: example-task
48
48
runAfter:
49
49
- build-container #You can be more specific by choosing another task
50
50
taskRef:
51
-
bundle: <path to container image>
52
-
name: example-task
51
+
params:
52
+
- name: name
53
+
value: example-task
54
+
- name: bundle
55
+
value: <path to container image>
56
+
- name: kind
57
+
value: task
58
+
resolver: bundles
53
59
when:
54
60
- input: $(params.skip-checks) #This references the pipeline parameters
55
61
operator: in
@@ -62,6 +68,22 @@ NOTE: If you want to define a task directly in this file, rather than using `tas
62
68
+
63
69
. Commit your changes to the repository of the component.
64
70
71
+
== Exchanging the build pipeline build task with higher memory limits
72
+
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:
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`.
0 commit comments