Let me explain my current situation, I'm trying to host a Wordpress in a Flexible App Engine environment, the problem is that I have activated CloudBuild triggers for a CI / CD, but at the time of deploying, CloudBuild return me the following error:
Failure status: UNKNOWN: Error Response : [4] DEADLINE_EXCEEDED
I have searched for this error and all that I have found is that CloudBuild exceeded the build time but, it is configured for 1800 seconds in the cloudbuild.yaml file and running the gcloud config set app / cloud_build_timeout
command but the error persists
I think the problem is when CloudBuild is trying to push the image to container registry because if I try to launch a new version of App Engine locally with the gcloud app deploy
command it worked correctly, previously all the deploys work correctly, the only change I made was to the base image, I was using alpine as a base image, I tried to use the official images of ubuntu or php-fpm, but neither work, I thought maybe it was a problem with the size of the image but the strangest thing is that the deploys don't have a 100% failure rate, if run again a deploy that has failed this may work, I would like to know if someone else has experienced this error in order to know how to resolve it