1min timeout on start-build process
When trying to build the image via:
oc new-build --binary=true --image-stream=webserver53-openjdk11-tomcat9-openshift-rhel7 --name=app
oc start-build app --from-dir=./app_dir --follow --loglevel=10
I face below error:
I0527 14:57:56.626587 24347 request.go:897] Response Body: {"metadata":{},"status":"Failure","message":"Timeout: request did not complete within 1m0s","reason":"Timeout","details":{},"code":504}
Uploading finished
I0527 14:57:56.670619 24347 helpers.go:201] server response object: [{
"metadata": {},
"status": "Failure",
"message": "the server was unable to return a response in the time allotted, but may still be processing the request (post buildconfigs.build.openshift.io app)",
"reason": "Timeout",
"details": {
"name": "app",
"group": "build.openshift.io",
"kind": "buildconfigs",
"causes": [
{
"reason": "UnexpectedServerResponse",
"message": "{\"metadata\":{},\"status\":\"Failure\",\"message\":\"Timeout: request did not complete within 1m0s\",\"reason\":\"Timeout\",\"details\":{},\"code\":504}"
}
]
},
"code": 504
}]
F0527 14:57:56.670796 24347 helpers.go:119] Error from server (Timeout): the server was unable to return a response in the time allotted, but may still be processing the request (post buildconfigs.build.openshift.io app)
This is because I am trying to upload ~700MB of files,which exceed 1min. (I am building the image from artifacts).
Is it possible to increase timeout value?