-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add support for environment variables in Cloud Functions #117
Conversation
Have been using this with couple of my functions and seems to work as expected....would be nice to see this get merged |
Can we merge this? If this is done? |
@vertexclique I've been using it for a couple of weeks now, with no problems. As far as I'm concerned, it definitely can be merged. |
Let's do that then. Want to use it also from the upstream. |
I'm using this, without issue, as well. |
@pmuens Do you have time to take a look? Would be really nice to merge this and roll a patch. |
It would be nice to have this |
would love to see this merged 💖 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is concise and simple, just loved how simple it seems to contribute to this project. Lovely.
cc @pmuens I am having to come up with some hacks in order to have a proper cloud function configured by the CI pipelines due to this, is there anything I can do to help getting this merged? |
@armand1m why hacks? I use this in CI, just replace in your package.json the dependency on Google Cloud Functions with this one:
|
@nethunter this itself is already quite of a hack 😛 but I'll probably use this workaround by now. |
Nice PR! I've done a little change to it, to allow merging the provider environments with the function ones:
👍 |
@markmssd cool, I have added your change to my code, and added another unit test for this case as well |
I do agree with @armand1m , using the repo from another Github is quite a hack or at least far from ideal. I had to bundle the support for environment variables and distinct entryPoint #97 to be able to set more than one deployment stage. And its seems that there is a lot of people doing the same. I think that Google Cloud is nicer and more productive than AWS. It would be nice to see the serverless framework evolve the GCP support. |
@cirdes well, I would love to have this merged, but the last official merge to this repository was 1.5 months ago. It seems that the maintainers of this repo aren't very active. At this point, I'm thinking of taking over maintaining this repo, and just making a repo with all the open pull requests inside... |
HEY PLEASE MERGE THIS cc @pmuens PLEASE I BEG YOU |
Merge this pleaseeeee |
pls PLZZZZZZZZZZZ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @nethunter thank you very much for working on this and sorry for the slow response on our end 👍 💯
This looks great! LGTM
Merging...
@pmuens cool, thanks! |
Alright. I just published the new version ( Thanks again for jumping in here @nethunter 🎉 /cc @kjanoudi @armand1m @cirdes @markmssd @vertexclique @tmilewski @tume |
Add support for passing environment variables to a function