Google Cloud Functions - Private Github repo in package.json
See original GitHub issueDoes GCF support private repo as a dependency in package.json ?
"dependencies": {
"some-package": "git+ssh://git@github.com:myorg/myproject"
}
?
Today I am making sure the machine I run this from has ssh access to our organization GH account, but I am wondering how to achieve that via GCF.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:24
- Comments:9
Top Results From Across the Web
Specifying dependencies in Node.js - Cloud Functions
You can use a private npm module by providing settings for authenticating with the registry in a .npmrc file in the function's directory....
Read more >Installing private GitHub npm package in Google Cloud ...
An approach that would allow you to install packages from private GitHub repos, although with a security risk, is to have your app's...
Read more >Host Private Node.JS Packages on the Google Cloud - Medium
Not all code though is meant for public distribution, though. Using private Git repositories as package sources was a very common solution for ......
Read more >Handling dependencies | Cloud Functions for Firebase - Google
To specify a dependency for your function, add it to your package.json file. ... Do not include the .npmrc file if you're not...
Read more >Google Cloud Functions Tutorial - DevOps by Example
Run gcloud functions deploy. Specify the source that will point to the git repository. For the first time, you also need to specify...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Response from Google in the cloud functions beta testers forum:
I was having this issue yesterday and found a reasonable workaround based in the linked StackOverflow answer. Hope it helps others that might be running into this!