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
Is your feature request related to a problem? Please describe.
Docker build fails during odsComponentStageBuildOpenShiftImage due to resource constrains of the build config.
Desired Feature | Set resources as optional parameter in build stage
Set the resource limits for the build config in the Jenkinsfile of the project as an additional param when calling the build.
e.g.
odsComponentStageBuildOpenShiftImage(
context, [resourceName: "${context.componentId}-api", dockerDir: "myfolder/-api",
buildArgs: [], cpuLimit: "300m", memoryLimit: "5Gi",
] )
Alterantive | Increase hard coded values
As alternative we could increase the hard coded values in the following code here
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Docker build fails during odsComponentStageBuildOpenShiftImage due to resource constrains of the build config.
Desired Feature | Set resources as optional parameter in build stage
Set the resource limits for the build config in the Jenkinsfile of the project as an additional param when calling the build.
e.g.
odsComponentStageBuildOpenShiftImage(
context, [resourceName: "${context.componentId}-api", dockerDir: "myfolder/-api",
buildArgs: [],
cpuLimit: "300m", memoryLimit: "5Gi",
] )
Alterantive | Increase hard coded values
As alternative we could increase the hard coded values in the following code
here
The text was updated successfully, but these errors were encountered: