GCP Notification

  1. 创建Bucket

gsutil mb gs://[STAGING_BUCKET_NAME]

例如,gsutil mb gs://fintend_notification_cloudbuild

  1. 创建Cloud Function

To deploy the subscribe function with a Cloud Pub/Sub trigger

1
gcloud beta functions deploy subscribe --stage-bucket fintend_notification_cloudbuild --trigger-topic cloud-builds

参考链接