googleCloudRunner
googleCloudRunner copied to clipboard
Cloudbuild schedule
The goals of this PR are:
- to not fail if
email
is not set and you're usingpubsubTarget
. - Allow you to construct
pubsub_target
fromcreate_pubsub_target
if not passed in. - Check if a trigger exists and create it if not.
- Checks to see if a topic exists before trying to create, which was causing silent bugs as the
tryCatch
would fail, not because it could not create the topic, but that it already existed. - Allow for a different message to be passed to a pubsub target in this
cr_schedule_build