to not fail if email is not set and you're using pubsubTarget.
Allow you to construct pubsub_target from create_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
The goals of this PR are:
email
is not set and you're usingpubsubTarget
.pubsub_target
fromcreate_pubsub_target
if not passed in.tryCatch
would fail, not because it could not create the topic, but that it already existed.cr_schedule_build