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

Upgrade google-cloudfunctions to v2 and set defaults to node8 etc #5311

Merged
merged 2 commits into from Jan 23, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+3 −3
Diff settings

Always

Just for now

@@ -2,7 +2,9 @@ service: gcf-nodejs # NOTE: Don't put the word "google" in here


provider: provider:
name: google name: google
runtime: nodejs stage: dev
runtime: nodejs8
region: us-central1
project: my-project project: my-project
# The GCF credentials can be a little tricky to set up. Luckily we've documented this for you here: # The GCF credentials can be a little tricky to set up. Luckily we've documented this for you here:
# https://serverless.com/framework/docs/providers/google/guide/credentials/ # https://serverless.com/framework/docs/providers/google/guide/credentials/
@@ -26,11 +28,9 @@ functions:
handler: http handler: http
events: events:
- http: path - http: path

# NOTE: the following uses an "event" event (pubSub event in this case). # NOTE: the following uses an "event" event (pubSub event in this case).
# Please create the corresponding resources in the Google Cloud # Please create the corresponding resources in the Google Cloud
# before deploying this service through Serverless # before deploying this service through Serverless

#second: #second:
# handler: event # handler: event
# events: # events:
ProTip! Use n and p to navigate between commits in a pull request.