datacommonsorg / website

Code for the Data Commons website
https://datacommons.org
Apache License 2.0
20 stars 73 forks source link

Updated clearcache tool logging #4387

Closed dwnoble closed 1 week ago

dwnoble commented 1 week ago

Before:

./tools/clearcache/clear_prod.sh
WARNING: Your active project does not match the quota project in your local Application Default Credentials file. This might result in unexpected quota issues.

To update your Application Default Credentials quota project, use the `gcloud auth application-default set-quota-project` command.
Updated property [core/project].
Fetching cluster endpoint and auth data.
kubeconfig entry generated for website-us-central1.
Defaulted container "website" out of: website, nl
True
WARNING: Your active project does not match the quota project in your local Application Default Credentials file. This might result in unexpected quota issues.

To update your Application Default Credentials quota project, use the `gcloud auth application-default set-quota-project` command.
Updated property [core/project].
Fetching cluster endpoint and auth data.
kubeconfig entry generated for website-us-west1.
Defaulted container "website" out of: website, nl
True

After:

./tools/clearcache/clear_prod.sh
WARNING: Your active project does not match the quota project in your local Application Default Credentials file. This might result in unexpected quota issues.

To update your Application Default Credentials quota project, use the `gcloud auth application-default set-quota-project` command.
Updated property [core/project].
Fetching cluster endpoint and auth data.
kubeconfig entry generated for website-us-central1.
Defaulted container "website" out of: website, nl
Clearing cache for datcom-website-prod/website-us-central1/us-central1, redis host 10.167.58.139: True
WARNING: Your active project does not match the quota project in your local Application Default Credentials file. This might result in unexpected quota issues.

To update your Application Default Credentials quota project, use the `gcloud auth application-default set-quota-project` command.
Updated property [core/project].
Fetching cluster endpoint and auth data.
kubeconfig entry generated for website-us-west1.
Defaulted container "website" out of: website, nl
Clearing cache for datcom-website-prod/website-us-west1/us-west1, redis host 10.158.101.59: True