functions-framework-nodejs icon indicating copy to clipboard operation
functions-framework-nodejs copied to clipboard

Add GOOGLE_APPLICATION_CREDENTIALS to GitHub Repo Secrets

Open grant opened this issue 4 years ago • 6 comments

In order to add Stackdriver APM tools (#57) to our Function Frameworks, we need to add credentials to Travis such that we can test the integration.

I don't believe there is any of this setup yet.

grant avatar May 12 '20 16:05 grant

@grant Any docs/examples on how to do this?

hdp617 avatar May 12 '20 17:05 hdp617

I think you just create a credentials and then add the encrypted credentials in the repo. https://docs.travis-ci.com/user/encryption-keys/ https://cloud.google.com/docs/authentication/getting-started

We could just add the feature and test locally without CI setup.

grant avatar May 12 '20 17:05 grant

Need to create creds first. Do we have a GCF GCP project we can use that won't be deleted?

grant avatar Jun 09 '20 00:06 grant

Do we have a GCF GCP project we can use that won't be deleted?

The public project is fn-img. Maybe we can create a project in /dev for all functions frameworks?

hdp617 avatar Jun 18 '20 01:06 hdp617

Do we have a GCF GCP project we can use that won't be deleted?

The public project is fn-img. Maybe we can create a project in /dev for all functions frameworks?

Sounds good. We should probably write down a design.

grant avatar Jun 18 '20 01:06 grant

Change to use GitHub Secrets (along with GitHub Actions)

grant avatar Jul 31 '20 23:07 grant

Since this is related a separate issue which doesn't have a consensus yet, I'm going to close this until we decide which path to take for this.

josephlewis42 avatar May 24 '23 20:05 josephlewis42