MarkEdmondson1234 / googleCloudRunner

Easy R scripts on Google Cloud Platform via Cloud Run, Cloud Build and Cloud Scheduler
https://code.markedmondson.me/googleCloudRunner/
Other
80 stars 25 forks source link

fix for when authorized but auth_file is not given #179

Closed muschellij2 closed 2 years ago

muschellij2 commented 2 years ago

If you are authorized already, but don't have GCE_AUTH_FILE set (which is my common use case on GCE), then this will fail. I put the check for GCE_AUTH_FILE in the spot if you don't have a token.

MarkEdmondson1234 commented 2 years ago

Thanks!