mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-12 14:05:16 +03:00
d80f5b0cdd
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8543 GitOrigin-RevId: 9463e50aa4bf62e12e39b4bebdf551e11c824897
14 lines
500 B
Bash
Executable File
14 lines
500 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Clean up old BigQuery test datasets.
|
|
|
|
# If we end the bigquery API test suite abruptly, the created datasets won't be
|
|
# cleaned up. In which case, we end up with a bunch of `hasura_test_*` datasets
|
|
# that hang around forever. When we get too many of these, we can run this
|
|
# script, and it will delete them in batches. See the JavaScript file for more
|
|
# information.
|
|
|
|
gcloud auth login
|
|
gcloud config set project regency-polecat-beehive
|
|
node $(dirname "$0")/cleanup-bigquery.js
|