bootstrap SAM stack — S3 bucket + stub Lambda
This commit is contained in:
10
ctrl/seed.sh
10
ctrl/seed.sh
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Uploads the host's /mnt/documents tree into the in-cluster MinIO. Lives
|
||||
# inside the sign_pdfs function folder because it's specific to *this*
|
||||
# function's data shape (bucket "my-company-reports-bucket", prefix "2026/04/").
|
||||
# Other functions will have their own seed scripts in their own folders.
|
||||
# Uploads the host's /mnt/documents tree into the in-cluster MinIO. The seed
|
||||
# lives under sign_pdfs_v1/ (the original implementation kept around for the
|
||||
# before/after demo) but the data it produces is shared — both sign_pdfs/ and
|
||||
# sign_pdfs_v1/ read from the same bucket and prefix in the local lab.
|
||||
set -euo pipefail
|
||||
kubectl --context kind-eth -n eth exec -i deploy/lambda -- \
|
||||
python functions/sign_pdfs/seed.py /mnt/documents
|
||||
python functions/sign_pdfs_v1/seed.py /mnt/documents
|
||||
|
||||
Reference in New Issue
Block a user