I'm using a Cloud Source Repo for my Cloud Function which is connected to an external GitHub repo. The github repo has a submodule.
When my cloud function runs (Python), I get import errors when trying to import files from said submodule.
It the same errors I get if I do:
git clone <repo>
And then try to run my python script instead of:
git clone --recurse-submodules <repo>
AFAICT, it seems like Cloud Functions isn't pulling in my submodules. I've tried making the submodule point directly to a mirror repo in Cloud Source Repository - but to no effect.
Any idea how to get submodules working correctly with Cloud Functions?