blob: 0a92d2567345998266cca16bd0f497ba2b7b1660 [file] [log] [blame]
#/bin/bash
# Creates the PubSub topic for CT Perf files and then ties it to GCS
# notifications.
set -e -x
source ../kube/config.sh
TOPIC=perf-ingestion-ct
gcloud pubsub topics create ${TOPIC} || true
gsutil notification create -f json -e OBJECT_FINALIZE -t projects/${PROJECT_ID}/topics/${TOPIC} -p ingest gs://cluster-telemetry-perf