This repository was archived by the owner on Apr 1, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ function filter_instances() {
4+ gcloud bigtable instances list | grep -v " NAME" | awk ' {print $1}' | grep $1
5+ }
6+
7+ # function filter_backups() {
8+
9+ # }
10+
11+ function delete_instances() {
12+ for instance in $( filter_instances $1 ) ; do
13+ # if [ -z "$2" ]; then
14+ # for backup in $()
15+ # fi
16+ gcloud bigtable instances delete $instance
17+ done
18+ }
19+
20+ current_project=$( gcloud config get project)
21+
22+ gcloud config set project precise-truck-742
23+ delete_instances g-c-p-*
24+ delete_instances python-bigtable-tests-*
25+ delete_instances admin-overlay-instance-*
26+ gcloud config set project $current_project
Original file line number Diff line number Diff line change 1+ nox > Running session system-3.8
2+ nox > Creating virtual environment (virtualenv) using python3.8 in .nox/system-3-8
3+ nox > python -m pip install --pre 'grpcio!=1.52.0rc1'
4+ nox > Interrupted...
5+ nox > Session system-3.8 interrupted.
You can’t perform that action at this time.
0 commit comments