blob: ce8fe69d3ae473df0a3d483af225a29d92401b95 [file] [edit]
#!/bin/bash
# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Change these values as required to set up new views.
APP_ID=sheriff-o-matic-staging
diff -yb --color <(sed -e s/APP_ID/$APP_ID/g step_status_transitions.sql) <(bq --project $APP_ID show --view events.step_status_transitions)
diff -yb --color <(sed -e s/APP_ID/$APP_ID/g failing_steps.sql) <(bq --project $APP_ID show --view events.failing_steps)
diff -yb --color <(sed -e s/APP_ID/$APP_ID/g sheriffable_failures.sql) <(bq --project $APP_ID show --view events.sheriffable_failures)