blob: 44841473e4635cdb82f2ae2b6fcf502a6cf29705 [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-production
perf-tool config create-pubsub-topics --big_table_config=ct-prod
gsutil notification create -f json -e OBJECT_FINALIZE -t projects/${PROJECT_ID}/topics/${TOPIC} -p ingest gs://cluster-telemetry-perf