Analyze data about Workbench, in Workbench!
Connects to the Workbench Postgres database to gather information, then feeds it into a Workflow described by environment variables.
docker run -it --rm --env [ENV VARS] $(docker build -q .)
DATABASE_HOST: Postgres server hostnameDATABASE_USER: Postgres server usernameDATABASE_NAME: Postgres database nameDATABASE_PASSWORD: Postgres database passwordSTEPS_URL: URL of the Upload Step where we will send the Steps CSV.STEPS_API_TOKEN: the upload-step API token forSTEPS_URL. Keep it secret!USERS_URL: the Upload Step where we will send the Workflows CSV.USERS_API_TOKEN: the upload-step API token forUSERS_URL. Keep it secret!WORKFLOWS_URL: the Upload Step where we will send the Workflows CSV.WORKFLOWS_API_TOKEN: the upload-step API token forWORKFLOWS_URL. Keep it secret!
git push. Google Cloud Build will build a new image with this SHA1.- Edit the
cron-workbench-workflowKubernetes cronjob to use the SHA1.