A fork of ContrastingSounds/compile-report-pack designed for deployment on Google Cloud Functions
Follow normal instructions on parent repo
Google Cloud specific instructions
- Deploy
/google_cloud/list/action_list
andgoogle_cloud/execute/action_execute/
as separate google cloud functions- Allow unauthenticated invocations and deploy as HTTP triggers
- Deploy the execute function first (see below) and fetch the URL of the deployed function. This should be used as the
EXECUTE_URL
defined in the/list
function (currently markedREPLACE_ME
)- Keep the
/form
and/execute
paths as they are in the function body
- Keep the
- The
execute
function needs to be deployed with some additional configuration:- Set some environment variables on the cloud function as defined in the
env.example
file (replace with real values from Looker and Sendgrid) - Include the
requirements.txt
file in the cloud function
- Set some environment variables on the cloud function as defined in the
Looker instructions
- See parent repo here