This is a hard fork of https://github.com/meduza-corp/interstellar.
Enough changed, including the operational flow, that rather than attempting to break others, we just hard-forked.
This will push your recent google play store reviews into slack
Google Play exports all your app reviews once a day to the Google Cloud Storage bucket.
Interstellar downloads reviews via google-cloud-storage api and triggers Slack incoming webhook for all new or updated reviews.
This works with clockwork for an easy "once every X minutes or days"
Ruby 2.5 has a regression bug in CVS ruby/csv#23
use 2.4 until this is in stdlib
- Set up your ENV variables (see .env.development for the ones that are needed)
- Set up a service account on your google play developer console that has access to the reviews. We're using ENV['STORAGE_KEYFILE_JSON'] to store the credentials
- docker build (this is configured for kubernetes, but it can be run anywhere that is docker friendly)
- Change up the deployment logic. It is currently suited for lumoslabs and their use of samson (an awesome zendesk project)
Once configured - run ruby sender.rb
This piece of software is distributed under 2-clause BSD license (that's what https://github.com/meduza-corp/interstellar is)