Created
May 3, 2017 16:14
-
-
Save stephenplusplus/bc9c6583c863aff9d0246e0191b4cd06 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function private-gcloud-set { | |
| export GCLOUD_TESTS_API_KEY='...' | |
| export GCLOUD_TESTS_PROJECT_NUMBER='...' | |
| } | |
| function gcloud-set { | |
| private-gcloud-set | |
| gcloud-unset | |
| export GCLOUD_PROJECT=nth-circlet-705 | |
| export GCLOUD_TESTS_PROJECT_ID=nth-circlet-705 | |
| export GCLOUD_TESTS_DNS_DOMAIN=gitnpm.com. | |
| export GCLOUD_TESTS_BIGTABLE_CLUSTER=gcloud-node | |
| export GCLOUD_TESTS_BIGTABLE_ZONE=us-central1-b | |
| export GCLOUD_TESTS_KEY=~/dev/key.json | |
| gcloud config configurations activate default | |
| gcloud beta auth application-default login | |
| } | |
| function gcloud-unset { | |
| unset GCLOUD_TESTS_PROJECT_ID | |
| unset GCLOUD_TESTS_KEY | |
| unset GCLOUD_TESTS_DNS_DOMAIN | |
| gcloud beta auth application-default revoke | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment