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

Default Pubsub Message? #166

Closed muschellij2 closed 2 years ago

muschellij2 commented 2 years ago

Does it make sense to make Sys.time or some other meaningful message the default instead of the topic name as in: https://github.com/MarkEdmondson1234/googleCloudRunner/blob/075aff754cf8191cde5f3f0894c2fba8c7062bf0/R/cloudbuild_schedule.R#L167

MarkEdmondson1234 commented 2 years ago

I wanted a way for the build to know which topic is sending the data, if it's activated by many PubSub topics. That way it can react in different ways, perhaps.