krishnanlab / geneplexus-app-v2

GenePlexus App - backend (cloud functions) and frontend
https://gene-plexus.netlify.app/
2 stars 0 forks source link

Automate or Script deployment of functions #5

Closed ChristopherMancuso closed 5 months ago

ChristopherMancuso commented 7 months ago

It would be good to have some scripts that can generate the needed files/scripts for deploying functions for the various hyperparameters

falquaddoomi commented 5 months ago

Storage pricing:

GenePlexus storage notes:

GH Action Caching:

falquaddoomi commented 5 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.

ChristopherMancuso commented 5 months ago

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?