I am trying to execute a deployment to Google App Engine (flexible environment) via Bitbucket Pipelines. The error I am experiencing is as follows:
Updating service [default] (this may take several minutes)...⠹DEBUG: Operation [apps/[PROJECT ID]/operations/{}] not complete. Waiting to retry.
This message continues to print until it finally times out and I receive the following error:
ERROR: (gcloud.app.deploy) Error Response: [4] Timed out waiting for the app infrastructure to become healthy.
This appears to be a fairly recent issue. A couple of weeks ago, this deployment (with the same configurations) was working just fine.
Below is the app.yaml file that i am trying to deploy via gcloud app deploy:
runtime: python
entrypoint: gunicorn -b :$PORT main:app --timeout 60000
env: flex
threadsafe: true
automatic_scaling:
min_num_instances: 1
max_num_instances: 4
cpu_utilization:
target_utilization: 0.75
runtime_config:
python_version: 2
Any help with this issue would be greatly appreciated. Thank you in advance.