tal
Deploys python GCP Functions with private git requirements.
Install
pip install tal
Deploying Functions:
-
Add the following to
main.py
import sys sys.path.append('lib')
-
Put git dependencies in
private_requirements.txt
. -
Make sure there is no
lib/
directory. -
Run
tal func deploy my_func --stage dev
.
Creating Repositories:
- Run
tal repo create my_repo
Creating Buckets:
- Run
tal storage create-bucket my_bucket
Deleting Buckets:
- Run
tal storage delete-bucket my_bucket
Uploading Files:
- Run
tal storage upload my_file.txt --bucket=my_bucket --path=my/nested/path
Inspiration
Build like Tal: https://www.youtube.com/watch?v=CF6w2-WNZLE