Skip to content

Added support for Google Cloud Functions #30

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

Merged
merged 3 commits into from
Aug 11, 2017

Conversation

wyattjoh
Copy link
Contributor

The Google provider will use the entrypoint not from the definition of the handler function, but instead from the package.json:main field, or via a index.js file (See Google Cloud Docs for a reference).

This change modifies the behaviour of the extractFileNames to enforce only discovery of those entry points that are used by the Google Cloud Functions runtime.

These changes are backwards compatible with any existing AWS provider.

@schickling
Copy link
Contributor

That's an awesome contribution. Thanks a lot!

Would you mind adding a little section to the README on how to use this for GCP?

@wyattjoh
Copy link
Contributor Author

Just added the requested docs update @schickling :)!

@schickling schickling merged commit 90a3aeb into serverless:master Aug 11, 2017
@schickling
Copy link
Contributor

Just release a new version!

@wyattjoh wyattjoh deleted the google-functions-support branch August 11, 2017 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants