1.0.1 • Published 5 years ago
buildtrigger v1.0.1
before run test you have to get gcp credential
have access to cloud function
make sure the local has all the environment variables on cloud function (GCP_KEY)
dont have access to cloud function
- create key for service account
buildtrigger
, - base64 encode the private key using javascript
btoa()
functionbtoa("-----BEGIN PRIVATE KEY-----\nMII123456\n-----END PRIVATE KEY------")
- export GCP_KEY=base64keyoutput
1.0.1
5 years ago