I am trying to a Rails 6 application to Google AppEngine flex. I've followed the steps here and currently have the following app.yaml
setup in my root:
entrypoint: bundle exec rails s --port $PORT
env: flex
runtime: ruby
env_variables: ...
When running gcloud --project [PROJECT_ID] app deploy app.yaml --verbosity=debug
it continues until this point:
...
INFO: Need Dockerfile to be generated for runtime ruby
Building and pushing image for service [default]
At this point it's spinning up the following process on my machine:
python2 -S /usr/bin/../lib/google-cloud-sdk/lib/gcloud.py --project [PROJECT_ID] app deploy app.yaml --verbosity=debug
which uses 100% CPU and can run for 30min+ without anything happening. I also checked the network traffic at this point and there is nothing related to that process happening.
Any thoughts on why this is happening and how to fix it are very much appreciated.