tpakeman / compile-report-pack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compile-report-pack - Google Cloud Function Deployment

A fork of ContrastingSounds/compile-report-pack designed for deployment on Google Cloud Functions

User Information

Follow normal instructions on parent repo

Google Cloud specific instructions

  • Deploy /google_cloud/list/action_list and google_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 marked REPLACE_ME)
      • Keep the /form and /execute paths as they are in the function body
  • 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

Looker instructions

  • See parent repo here

About

License:MIT License


Languages

Language:Python 100.0%