Closed ChristopherMancuso closed 7 months ago
Regarding progress, so far I've tested the data retrieval from the bucket (which requires authenticating to GCP using a service account key), extracting the archive, caching, and verifying that the filesystem with the extracted data looks correct. I've been using act to do the action testing, which is surprisingly actually working for once, including emulating a local GH action cache.
I haven't tested actually deploying the functions because I didn't want to mess up the current deployment. @ChristopherMancuso, if you're ok with me trying and potentially having to revert to a previous deployment if things go awry, I can test that, too. FYI, I've been testing with the convert-ids
function, since its data requirement is tiny, ~20mb.
This all sounds great. I feel like you can mess with the current GCP deployment as much as you want since you set the repo up to use functions-framework
, I don't think Vince is actually using the GCP functions, just the local version, right?
It would be good to have some scripts that can generate the needed files/scripts for deploying functions for the various hyperparameters
main.py
andrequirements.txt
filesgcloud functions deploy
command