blob: d4733d420047b0ca2a69d76b662b9d0eb6866caf [file] [log] [blame]
#/bin/bash
# Creates the PubSub topic for Perf files and then ties it to GCS
# notifications.
set -e -x
source ../kube/config.sh
TOPIC=perf-ingestion-skia-production
perf-tool config create-pubsub-topics --big_table_config=nano
gsutil notification create -f json -e OBJECT_FINALIZE -t projects/${PROJECT_ID}/topics/${TOPIC} -p buildstats-json-v1 gs://skia-perf
gsutil notification create -f json -e OBJECT_FINALIZE -t projects/${PROJECT_ID}/topics/${TOPIC} -p nano-json-v1 gs://skia-perf
gsutil notification create -f json -e OBJECT_FINALIZE -t projects/${PROJECT_ID}/topics/${TOPIC} -p task-duration gs://skia-perf